spot icon indicating copy to clipboard operation
spot copied to clipboard

Playlists not showing

Open thaanappel opened this issue 8 months ago • 1 comments

Describe the bug When I open the application is says: "An error occured. Check logs for details!". When going to playlists it says that I have no saved playlists, when I obviously do have playlists.

To Reproduce

  1. Install spot-client AUR-package on archlinux
  2. Run application -> see error
  3. Go to playlists -> no playlists

Expected behavior No errors shown and my playlists fetched.

General information:

  • Distribution: Arch Linux
  • Installation method: installed the AUR-package using yay (AUR-helper)
  • Version: 0.5.0
  • Device used: Laptop

Stack trace: (process:20745): Adwaita-CRITICAL **: 20:50:36.982: adw_leaflet_set_visible_child: assertion 'contains_child' failed [src/api/cached_client.rs:259:17] &cache_key = "me_playlists_0_30.json" [src/api/cached_client.rs:259:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 13961) [2025-07-05T18:50:37Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 13961 [src/api/cached_client.rs:259:17] &cache_key = "me_playlists_0_30.json" [src/api/cached_client.rs:259:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 13961) [2025-07-05T18:50:38Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 13961 [src/api/cached_client.rs:259:17] &cache_key = "me_playlists_0_30.json" [src/api/cached_client.rs:259:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 13961) [2025-07-05T18:50:38Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 13961

thaanappel avatar Jul 05 '25 18:07 thaanappel

The same running 0.5.0 via FlatPak :

[src/api/cached_client.rs:259:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:259:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 2615)
[2025-08-01T03:53:21Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 2615
[src/api/cached_client.rs:259:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:259:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 2615)
[2025-08-01T03:53:24Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 2615
[src/api/cached_client.rs:259:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:259:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 2615)
[2025-08-01T03:53:26Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 2615

loxK avatar Aug 01 '25 03:08 loxK