mirror of
https://github.com/akashrchandran/syrics-web.git
synced 2026-04-27 10:25:53 +03:00
[GH-ISSUE #47] running from the command line fails #39
Labels
No labels
bug
enhancement
good first issue
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/syrics-web#39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dedindi on GitHub (Oct 13, 2025).
Original GitHub issue: https://github.com/akashrchandran/syrics-web/issues/47
hi @akashrchandran,
After your warning about rate limiting, I started using the command line.
I found it much more convenient than the web version.
However, for several days now I have been getting an error list after every attempt.
Can you please fix this?
Thank you very much!!!
macbook@Serg-MacBook-Pro ~ % syrics https://open.spotify.com/track/5CQ30WqJwcep0pYcV4AMNc
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.13/bin/syrics", line 8, in
sys.exit(main())
~~~~^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/syrics/core.py", line 160, in main
initial_checks()
~~~~~~~~~~~~~~^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/syrics/core.py", line 151, in initial_checks
client = Spotify(config['sp_dc'])
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/syrics/api.py", line 37, in init
self.totp = TOTP()
~~~~^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/syrics/totp.py", line 9, in init
self.secret, self.version = self.get_secret_version()
~~~~~~~~~~~~~~~~~~~~~~~^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/syrics/totp.py", line 33, in get_secret_version
raise ValueError("Failed to fetch TOTP secret and version.")
ValueError: Failed to fetch TOTP secret and version.
macbook@Serg-MacBook-Pro ~ %
PS. At this time, the web version is working correctly.
@akashrchandran commented on GitHub (Oct 13, 2025):
There is a new release, did you try that? Update and try if it's working.
@dedindi commented on GitHub (Oct 13, 2025):
I installed syrics-0.1.2.5
It works as it should.
Thanks a lot!