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
bpylist.archiver.CircularReference: archive has a cycle with uid(13) #21
Comments
More from the debugger:
And:
|
So it appears it's possible for |
Ugh....Yeah, I think easiest is to catch the exception and return no place as you suggest. This particular bit of code involves un-archiving a serialized NSKeyedArchiver which uses an object table and it is certainly possible to create a circular reference that way. Because this is happening in the decode, the circular reference must be in the original data. Does Photos show valid reverse geolocation info for the photo in question? If so, Photos may be doing something beyond a simple decode of the binary plist. For now, I'll push a patch to catch the exception. |
Marketcircle/bpylist#2 looks relevant here. |
@RhetTbull I tried that workaround and it turns out I'm getting this error on ALL of my photos now! It's weird: a few day ago this wasn't happening. Now it's happening to everything. I'm not sure what I might have changed. |
Aha! It looks like I accidentally installed the old bplist into the same environment:
|
Did removing old bpylist solve the original problem or do you still have a photo that throws circular reference? |
Yes, I just recreated my virtual environment from scratch and the error went away. The problem occurred when I ran |
Frustrates me when package authors create a "drop in" replacement with the same import name...this kind of thing has bitten me more than once! Would've been nicer I think for bpylist2 to do "import bpylist2 as bpylist" |
I have also run into this a bit, would it be possible to post your |
In the debugger I traced this back to:
The text was updated successfully, but these errors were encountered: