[GH-ISSUE #47] running from the command line fails #39

Closed
opened 2026-02-27 19:05:15 +03:00 by kerem · 2 comments
Owner

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.

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](https://github.com/akashrchandran/spotify-lyrics-api/issues/54), 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 <module> 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.
kerem closed this issue 2026-02-27 19:05:15 +03:00
Author
Owner

@akashrchandran commented on GitHub (Oct 13, 2025):

There is a new release, did you try that? Update and try if it's working.

<!-- gh-comment-id:3396371508 --> @akashrchandran commented on GitHub (Oct 13, 2025): There is a new release, did you try that? Update and try if it's working.
Author
Owner

@dedindi commented on GitHub (Oct 13, 2025):

I installed syrics-0.1.2.5

It works as it should.

Thanks a lot!

<!-- gh-comment-id:3396492668 --> @dedindi commented on GitHub (Oct 13, 2025): I installed syrics-0.1.2.5 It works as it should. Thanks a lot!
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/syrics-web#39
No description provided.