[GH-ISSUE #166] Program won't start after exiting #84

Closed
opened 2026-03-02 23:44:22 +03:00 by kerem · 7 comments
Owner

Originally created by @overtoneblue on GitHub (Mar 24, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/166

Describe the bug
Hangs on startup after running spotify_player command

To Reproduce
Open spotify-player once on boot, after exiting, will not open again.

Log and backtrace
INFO spotify_player: No playback found on startup, trying to connect to an available device...

^^ last log, always hangs here

  • OS: NixOS

Would appreciate some insight into this last log output, It always hangs here, thx

Originally created by @overtoneblue on GitHub (Mar 24, 2023). Original GitHub issue: https://github.com/aome510/spotify-player/issues/166 **Describe the bug** Hangs on startup after running spotify_player command **To Reproduce** Open spotify-player once on boot, after exiting, will not open again. **Log and backtrace** INFO spotify_player: No playback found on startup, trying to connect to an available device... ^^ last log, always hangs here - OS: NixOS Would appreciate some insight into this last log output, It always hangs here, thx
kerem 2026-03-02 23:44:22 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@sewnie commented on GitHub (Mar 25, 2023):

it might fail to initialize a gui, try doing strace spotify_player and see what you get

<!-- gh-comment-id:1483762476 --> @sewnie commented on GitHub (Mar 25, 2023): it might fail to initialize a gui, try doing `strace spotify_player` and see what you get
Author
Owner

@overtoneblue commented on GitHub (Mar 25, 2023):

note for any other nixos users, I believe I have resolved this by removing lyric-finder, and image, from the build options in the nix package. These are enabled by default in the package right now that is maintained, I'm new to nixos, but I created my own package and omitted these two options. Hopefully someone else may glean some useful info from this issue, thank you for the strace recommendation

<!-- gh-comment-id:1483786471 --> @overtoneblue commented on GitHub (Mar 25, 2023): note for any other nixos users, I believe I have resolved this by removing lyric-finder, and image, from the build options in the nix package. These are enabled by default in the package right now that is maintained, I'm new to nixos, but I created my own package and omitted these two options. Hopefully someone else may glean some useful info from this issue, thank you for the strace recommendation
Author
Owner

@sewnie commented on GitHub (Mar 25, 2023):

huh interesting lyric-finder makes it die

<!-- gh-comment-id:1483810588 --> @sewnie commented on GitHub (Mar 25, 2023): huh interesting lyric-finder makes it die
Author
Owner

@aome510 commented on GitHub (Mar 25, 2023):

I think image might be the reason as it is initialized on startup. I couldn't test it tho as I don't have access to NixOS machine.

Do you use kitty? If yes, I think it may be related to https://github.com/aome510/spotify-player/issues/148. Try to remove temp files in /tmp/.tmp.viuer.* and try again.

<!-- gh-comment-id:1483844578 --> @aome510 commented on GitHub (Mar 25, 2023): I think `image` might be the reason as it is initialized on startup. I couldn't test it tho as I don't have access to NixOS machine. Do you use kitty? If yes, I think it may be related to https://github.com/aome510/spotify-player/issues/148. Try to remove temp files in `/tmp/.tmp.viuer.*` and try again.
Author
Owner

@noelpilled commented on GitHub (Mar 26, 2023):

NixOS user here, I was also running a custom package removing the image feature due to #148, but it should be fixed in #157.

I've switched back to the official nixpkgs package & and I'm able to launch & run for ~30 minutes just fine. I'll report back if any issues come up.

<!-- gh-comment-id:1483954610 --> @noelpilled commented on GitHub (Mar 26, 2023): NixOS user here, I was also running a custom package removing the image feature due to #148, but it should be fixed in #157. I've switched back to the official nixpkgs package & and I'm able to launch & run for ~30 minutes just fine. I'll report back if any issues come up.
Author
Owner

@aome510 commented on GitHub (Apr 3, 2023):

@Selmer443 did you still encounter this issue with image and lyric_finder using v0.13.1?

<!-- gh-comment-id:1494874209 --> @aome510 commented on GitHub (Apr 3, 2023): @Selmer443 did you still encounter this issue with `image` and `lyric_finder` using `v0.13.1`?
Author
Owner

@aome510 commented on GitHub (Apr 9, 2023):

I would assume this is fixed for now.

<!-- gh-comment-id:1501003943 --> @aome510 commented on GitHub (Apr 9, 2023): I would assume this is fixed for now.
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-player#84
No description provided.