You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Certain camera states result in an unhashable type: 'list' error when attempting something like media_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:
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: