Featured Playlists crashes the app
It looks like the featured playlists feature is not working anymore. The app crashes with error:
Dec 22 11:46:13 ubuntu-phablet aa-exec[173089]: Starting oauth flow
Dec 22 11:46:13 ubuntu-phablet aa-exec[173089]: Finishing writing /home/phablet/.cache/futify.frenchutouch/session/current
Dec 22 11:46:13 ubuntu-phablet aa-exec[173089]: Playlists don't exsit UserPlaylists
Dec 22 11:46:14 ubuntu-phablet aa-exec[173089]: Playlists don't exsit UserAlbums
Dec 22 11:46:14 ubuntu-phablet aa-exec[173089]: Playlists don't exsit SpecialPlaylists
Dec 22 11:46:14 ubuntu-phablet aa-exec[173089]: Playlist don't exsit (in GetPlaylist) UserTracks
Dec 22 11:46:15 ubuntu-phablet aa-exec[173089]: Add playlist Loved Tracks with 50/405 tracks
Dec 22 11:46:15 ubuntu-phablet aa-exec[173089]: Playlist don't exsit (in GetPlaylist) RecentlyPlay
Dec 22 11:46:16 ubuntu-phablet aa-exec[173089]: Found 18 songs added in RecentlyPlay
Dec 22 11:46:16 ubuntu-phablet aa-exec[173089]: Playlist don't exsit (in GetPlaylist) TopTracks
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: Finish with 50 on 834
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: Add playlist Top Tracks with 50/834 tracks
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: Playlists don't exsit FeaturedPlaylists
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: Message from spotify=
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: panic: runtime error: invalid memory address or nil pointer dereference
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x875810]
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: goroutine 1 [running, locked to thread]:
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: gitlab.com/frenchutouch/futify/server.(*Session).LoadFeaturedPlaylists(0x40004b8000, 0x0, 0x0)
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: /home/brenno/github/futify/server/qmlHome.go:153 +0x100
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: reflect.Value.call(0x9db620, 0x40004b8000, 0x5213, 0x9e271e, 0x4, 0x40006a7828, 0x0, 0xa, 0x9db620, 0x4f1c0, ...)
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: /usr/local/go/src/reflect/value.go:476 +0x644
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: reflect.Value.Call(0x9db620, 0x40004b8000, 0x5213, 0x40006a7828, 0x0, 0xa, 0xa94a48, 0x400007cc60, 0x400007cc60)
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: /usr/local/go/src/reflect/value.go:337 +0x84
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: github.com/nanu-c/qml-go.hookGoValueCallMethod(0x536ef80, 0x400007e1e0, 0x4000000014, 0x7ff8623100)
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: /gopath/path0/pkg/mod/github.com/manland/qml-go@v0.0.0-20230523203345-914be6ecfa99/bridge.go:558 +0x410
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: github.com/nanu-c/qml-go._Cfunc_goValueActivate(0x53975c0, 0x7f40137860, 0x28)
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: _cgo_gotypes.go:612 +0x40
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: github.com/nanu-c/qml-go.Changed.func1.1(0x400011fbc0, 0x7f40137860, 0x28)
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: /gopath/path0/pkg/mod/github.com/manland/qml-go@v0.0.0-20230523203345-914be6ecfa99/bridge.go:157 +0x7c
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: github.com/nanu-c/qml-go.Changed.func1()
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: /gopath/path0/pkg/mod/github.com/manland/qml-go@v0.0.0-20230523203345-914be6ecfa99/bridge.go:157 +0xb0
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: github.com/nanu-c/qml-go.hookIdleTimer()
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: /gopath/path0/pkg/mod/github.com/manland/qml-go@v0.0.0-20230523203345-914be6ecfa99/bridge.go:195 +0x64
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: github.com/nanu-c/qml-go._Cfunc_applicationExec()
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: _cgo_gotypes.go:269 +0x40
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: github.com/nanu-c/qml-go.Run(0xa08138, 0x0, 0x4000052768)
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: /gopath/path0/pkg/mod/github.com/manland/qml-go@v0.0.0-20230523203345-914be6ecfa99/bridge.go:64 +0xd8
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: main.main()
Dec 22 11:46:17 ubuntu-phablet aa-exec[173089]: /home/brenno/github/futify/main.go:67 +0x70
Might be related to this issue: https://github.com/zmb3/spotify/issues/279
Removing the featured playlists functionality from the app made it run
Edited by Brenno Flavio de Almedia