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

Permission Denied when running library from another user #121

Open
kuwv opened this issue Mar 12, 2024 · 1 comment
Open

Permission Denied when running library from another user #121

kuwv opened this issue Mar 12, 2024 · 1 comment

Comments

@kuwv
Copy link

kuwv commented Mar 12, 2024

Currently the ttp package will attempt to pickle a file and store it within the module directory.

This is not ideal when the the installation and execution can be two separate user context.

This should instead use either XDG paths or a package like appdirs to configure a cache path instead.

failed to save cache at '/usr/local/lib/python3.9/site-packages/ttp/ttp_dict_cache.pickle', error '[Errno 13] Permission denied: '/usr/local/lib/python3.9/site-packages/ttp/ttp_dict_cache.pickle''

https://ttp.readthedocs.io/en/latest/TTP%20Internals/index.html

@kuwv
Copy link
Author

kuwv commented Mar 19, 2024

ping @dmulyalin

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

1 participant