mirror of
https://github.com/misiektoja/spotify_profile_monitor.git
synced 2026-04-25 23:15:57 +03:00
[GH-ISSUE #33] Error running overnight #21
Labels
No labels
Stale
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify_profile_monitor#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tomballgithub on GitHub (Feb 1, 2026).
Original GitHub issue: https://github.com/misiektoja/spotify_profile_monitor/issues/33
Overnight I saw this with the latest dev build:
from this code:
Just for fun, I pasted everything above exactly as-is into Claude and got:
The issue is that playlists_old contains dictionaries (playlist objects), but you're trying to create a set from them. Dictionaries are unhashable and can't be added to sets. Looking at your code, you likely want to extract just the URIs from the playlist objects. Here's the fix:
This assumes each playlist object has a 'uri' key. If the key is different (like 'id' or 'playlist_uri'), adjust accordingly.
@misiektoja commented on GitHub (Feb 1, 2026):
Ugh ... and this kids why you do not code after a heavy party and then immediately push without testing like nothing could possibly go wrong ;-) Sorry, should be fixed now in 0d7753efef.