conor-f / spotibar

Polybar plugin for Spotify
15 stars 2 forks source link

Cannot Install #21

Closed githubsteve7 closed 9 months ago

githubsteve7 commented 10 months ago

I am getting the following error when I try to install:

Where should we write this config? Filepath: [~/.spotibar_config.json] Where should we cache your authentication tokens? Filepath: [~/.spotibar_auth_cache] Successfully authenticated. Traceback (most recent call last): File "/usr/local/bin/spotibar", line 33, in sys.exit(load_entry_point('spotibar==0.3.11', 'console_scripts', 'spotibar')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/spotibar/client.py", line 437, in main sys.exit(0) ^^^ NameError: name 'sys' is not defined

Tried multiple times, uninstalled, no luck. Thanks.

conor-f commented 10 months ago

Hey @githubsteve7

Thanks for the bug report. I have pushed a hotfix in 0.3.12 so you should be able to install now with no issues.

You can close this issue if all is working, and if not, I can help debug the install process further.

githubsteve7 commented 10 months ago

The hotfix worked and I was able to install it, but the buttons are not reacting to mouse clicks. I'm using the flathub Spotify app if that makes a difference and on Fedora. Also currently playing is not showing. Thanks.

conor-f commented 9 months ago

Sorry for the late reply - Can you show me your polybar config please?

Can you also verify that your spotibar config is correct by running spotibar --auth in a terminal? The output should say Successfully authenticated..

githubsteve7 commented 9 months ago

I ran spotibar --auth again and it's working. Thanks for help.