Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using open(filename, 'w') with debugger #50

Open
taylars opened this issue May 2, 2018 · 1 comment
Open

Error using open(filename, 'w') with debugger #50

taylars opened this issue May 2, 2018 · 1 comment

Comments

@taylars
Copy link

taylars commented May 2, 2018

open(filename, 'w') works when running normally, however IOError: (2, 'No such file or directory', filename) is given when running using the debugger

@thealienthing
Copy link

thealienthing commented Apr 10, 2019

I'm also having this problem. This error doesn't occur when running the script via terminal.

The temporary solution I have found is to write the absolute path from root. Seems the debugger sets a different working directory but I don't know how to declare a local relative working directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants