mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 17:35:50 +03:00
[GH-ISSUE #424] Crashing on startup on Linux Mint #231
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#231
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 @vitorcsantos on GitHub (Apr 22, 2024).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/424
Hello, I have been using the application with no problems on my Windows machine, but when I tried running it on Linux just now, it encountered a problem and hangs on a blank terminal after launch. It launched "properly" once, with the message about setting up the Spotify connect properly, but it became unresponsive. I closed it and relaunched, and now it hangs/crashes 100% of the time. Looking into the logs, I found this excerpt on the backtrace (that Github doesn't let me upload so I'll copy and paste what I believe is the relevant part:
Got a panic: PanicInfo { payload: Any { .. }, message: Some( byte index 31 is not a char boundary; it is inside '殻' (bytes 30..33) ofGHOST IN THE SHELL Series -攻殻機動隊シリーズ- • Spotify, ), location: Location { file: "/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.26.2/src/text/line.rs", line: 477, col: 59, }, can_unwind: true, force_no_backtrace: false, }From what it looks like, the japanese characters in one of my saved playlists caused it to break. Attached below is the log file from that same execution, hopefully it is helpful in finding the solution.
spotify-player-24-04-22-09-06.log
@aome510 commented on GitHub (Apr 22, 2024):
https://github.com/ratatui-org/ratatui/issues/1032
This issue seems to only happen for
ratatui 0.26.2, which is recently upgraded. Does it work withspotify_player v0.17.2?@vitorcsantos commented on GitHub (Apr 22, 2024):
Yup, trying on v0.17.2 got it working correctly again, no issues in loading or playing that playlist. Now I noticed you updated 0.18 just yesterday, I think my Windows version might also be on 0.17.2 and didn't show that same error. I'm going to try downloading the latest and see if it also breaks there.
Edit: yup, Windows version 0.18.0 also hangs on load, going to stick with version 0.17.2 for the time being.
@aome510 commented on GitHub (Apr 26, 2024):
Should be fixed in
v0.18.1@joshka commented on GitHub (Apr 29, 2024):
The Ratatui bug for this is https://github.com/ratatui-org/ratatui/issues/1032