Skip to content

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

Open

Description

@taylars

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

Activity

  1. thealienthing commented on Apr 10, 2019

    @thealienthing

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions