-
Notifications
You must be signed in to change notification settings - Fork 137
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
AttributeError: 'DbPickleDict' object has no attribute '_local_context' #433
Comments
@JWCook I thought to report this, maybe you want to handle such errors gracefully again. also, I see there mkdir EEXIST error, perhaps that should be handled too |
I may need some more info to be able to reproduce this. Following those steps, it looks like the cached response just gets re-requested instead of raising an error. I'm not sure how As for the ,..And I think I just answered my own question about When the class fails to initialize, python internally calls |
Looks like I can't reproduce this anymore either. But at least you got some ideas and some fixes out of this. |
Also, /Users/glen/.cache/PlexTraktSync was a symlink pointing to a directory that did not exist. |
Oh, that is the actual reason. cache file needs to point inside a "directory" which is a symlink to a path that does not exist. in my case:
|
Fixed in the master branch. Now this will raise a less confusing error message. Thanks for the bug report! |
The problem
requests cache can't load cache again:
Expected behavior
Catch or ignore error, do not throw.
Steps to reproduce the behavior
Workarounds
yes, nuke cache or upgrade package
Environment
The text was updated successfully, but these errors were encountered: