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

Incorrect file path when created by pip #57

Closed
dthonon opened this issue Jul 27, 2019 · 2 comments
Closed

Incorrect file path when created by pip #57

dthonon opened this issue Jul 27, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@dthonon
Copy link
Owner

dthonon commented Jul 27, 2019

On a clean install (no git clone before), file paths are incorrect and should use setuptools resources.

Error:

Traceback (most recent call last): File "/home/xfer38/VN_env/bin/transfer_vn", line 10, in <module> sys.exit(run()) File "/home/xfer38/VN_env/lib/python3.5/site-packages/export_vn/transfer_vn.py", line 439, in run main(sys.argv[1:]) File "/home/xfer38/VN_env/lib/python3.5/site-packages/export_vn/transfer_vn.py", line 390, in main with open(filename, "r") as myfile: FileNotFoundError: [Errno 2] No such file or directory: '/home/xfer38/Client_API_VN/sql/create-vn-tables.sql'

@dthonon
Copy link
Owner Author

dthonon commented Aug 3, 2019

Tentative correction in d959235.
To be tested.

@dthonon
Copy link
Owner Author

dthonon commented Aug 3, 2019

closed

@dthonon dthonon closed this as completed May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant