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

Investigate TLD cache warning #374

Open
robertknight opened this issue Jul 22, 2022 · 0 comments
Open

Investigate TLD cache warning #374

robertknight opened this issue Jul 22, 2022 · 0 comments

Comments

@robertknight
Copy link
Member

The following warning was observed from viahtml in production, when it runs in Docker:

eb (stderr)         | 2022-07-22 05:00:18,274: [WARNING]: unable to cache TLDs in file /usr/local/lib/python3.8/site-packages/tldextract/.tld_set. This will refresh the Public Suffix List over HTTP every app startup. Construct your `TLDExtract` with a writable `cache_file` or set `cache_file=False` to silence this warning. [Errno 13] Permission denied: '/usr/local/lib/python3.8/site-packages/tldextract/.tld_set'

I'm unclear whether this is an issue in Via or a library it uses (thoughts @jon-betts?). Either way it would be good to either resolve the issue (so TLDs are cached) or decide that we don't need caching and suppress the warning.

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