-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
JSONDecodeError? #20
Comments
Hi a little more context would be useful. Could you shoot me your dependancy versions? Is this an new issue / first time run? |
@nebb00 okay I've worked it out. It seems that the projects desired version of requests is incorrectly set for the use of Check if this works for you in the interim:
then
I'll bump the version assuming it does. |
Not the original reporter but this fixed it for me! |
spotify_sync run auto --config config.json
Traceback (most recent call last):
File "/home/pi/.local/bin/spotify_sync", line 8, in
sys.exit(cli())
File "/home/pi/.local/lib/python3.9/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/home/pi/.local/lib/python3.9/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/pi/.local/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/pi/.local/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/pi/.local/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/pi/.local/lib/python3.9/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/pi/.local/lib/python3.9/site-packages/spotify_sync/main.py", line 48, in auto
app.auto()
File "/home/pi/.local/lib/python3.9/site-packages/spotify_sync/cli.py", line 39, in auto
from spotify_sync.match import MatchService
File "/home/pi/.local/lib/python3.9/site-packages/spotify_sync/match.py", line 5, in
from requests import JSONDecodeError
ImportError: cannot import name 'JSONDecodeError' from 'requests' (/usr/lib/python3/dist-packages/requests/init.py)
The text was updated successfully, but these errors were encountered: