[GH-ISSUE #394] Crash when opening a playlist. #164

Closed
opened 2026-02-28 14:47:28 +03:00 by kerem · 1 comment
Owner

Originally created by @slumber on GitHub (Apr 11, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/394

I have found a single playlist which causes a crash so far, but still it seems weird.
OS: ArchLinux 5.6.3-arch1-1
Steps to reproduce:
search for 'eminem' and try to open 'This is Eminem' playlist.
The stacktrace states that this is caused by unwrap() call at src/network.rs:361.

I don't have a premium account yet, but other playlists can be opened just fine, so I believe some kind of check is necessary to avoid such behavior.

thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', src/network.rs:361:23

Originally created by @slumber on GitHub (Apr 11, 2020). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/394 I have found a single playlist which causes a crash so far, but still it seems weird. OS: ArchLinux 5.6.3-arch1-1 Steps to reproduce: search for 'eminem' and try to open 'This is Eminem' playlist. The stacktrace states that this is caused by `unwrap()` call at src/network.rs:361. I don't have a premium account yet, but other playlists can be opened just fine, so I believe some kind of check is necessary to avoid such behavior. ```thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', src/network.rs:361:23```
kerem closed this issue 2026-02-28 14:47:28 +03:00
Author
Owner

@Rigellute commented on GitHub (Apr 13, 2020):

Thanks for reporting @slumber

<!-- gh-comment-id:612847584 --> @Rigellute commented on GitHub (Apr 13, 2020): Thanks for reporting @slumber
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#164
No description provided.