Skip to content

Error when using with Trade Dangerous #1

@eisbaer9

Description

@eisbaer9

I freshly installed Trade Dangerous on my PC wiht pip.

When i use edap, i get the following error:
File "c:\program files\python38\lib\site-packages\tradedangerous\plugins\edapi_plug.py", line 994, in run
with open(self.filename, 'w', encoding = "utf-8") as f:
PermissionError: [Errno 13] Permission denied: 'import.prices'

edapi trys to write the file in his working directory, which is at the moment of the error: C:\Program Files\Python38\Scripts

edapi should use the Directory in which Trade Dangerous was started.

I hard coded a new working directory, to get a workaround, but it should be fixed for other users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions