Skip to content

JSONDecodeError? #20

Open
Open
@nebb00

Description

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)

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions