Skip to content

Permission Denied when running library from another user #121

@kuwv

Description

@kuwv

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

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