-
Notifications
You must be signed in to change notification settings - Fork 160
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
unhashable type: 'list' when getting media list #409
Comments
I'm running into the same issue. Tony, did you ever find a solution / workaround? |
This is probably due to the |
The fix seems to be working. I tested taking multiple photo bursts and then getting the media list as described above. |
Finally had a chance to test the fix. It doesn't yet seem to be in the latest pip version (0.15.1), but when I applied the fix manually in my library it worked like a treat. Much appreciated! |
Component
What is the bug in?
Describe the bug
Certain camera states result in an
unhashable type: 'list'
error when attempting something likemedia_set_before = set((await gopro.http_command.get_media_list()).data.files)
It seems to be connected to photo series (taken in burst mode). If I delete that photo series the error goes away. As a side note, the camera failed to delete the series when connected via usb. It would spin briefly without deleting anything. I could delete individual frames, but could not delete all until I unplugged the camera.
To Reproduce
In the browser on the affected camera (/gopro/media/list), I see:
In the python output I see:
Expected behavior
No error when retrieving media list
Hardware
The text was updated successfully, but these errors were encountered: