Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing on startup on Linux Mint #424

Closed
vitorcsantos opened this issue Apr 22, 2024 · 4 comments
Closed

Crashing on startup on Linux Mint #424

vitorcsantos opened this issue Apr 22, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@vitorcsantos
Copy link

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) of GHOST 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

  • OS: Linux Mint Cinnamon
  • Application version: v0.18.0
@vitorcsantos vitorcsantos added the bug Something isn't working label Apr 22, 2024
@aome510
Copy link
Owner

aome510 commented Apr 22, 2024

ratatui/ratatui#1032

This issue seems to only happen for ratatui 0.26.2, which is recently upgraded. Does it work with spotify_player v0.17.2?

@vitorcsantos
Copy link
Author

vitorcsantos commented 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.

This was referenced Apr 23, 2024
@aome510
Copy link
Owner

aome510 commented Apr 26, 2024

Should be fixed in v0.18.1

@aome510 aome510 closed this as completed Apr 26, 2024
@joshka
Copy link

joshka commented Apr 29, 2024

The Ratatui bug for this is ratatui/ratatui#1032

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants