mirror of
https://github.com/Googolplexed0/zotify.git
synced 2026-04-25 06:15:55 +03:00
[GH-ISSUE #94] [Bug Report] OAuth Not Waiting For Callback #79
Labels
No labels
bug
considering
discussion
documentation
enhancement
enhancement
good first issue
help wanted
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/zotify#79
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 @flaccidcake on GitHub (Oct 4, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/94
Originally assigned to: @Googolplexed0 on GitHub.
Zotify Version
v0.9.21
Bug Description
Prompt to login, use provided link, instantly hit with the error message below.
Bug Triggering Command
Any command that involves logging in
Error Traceback / Logs
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "c:\users-me-.local\bin\zotify.exe_main.py", line 6, in
sys.exit(main())
~~~~^^
File "C:\Users-me-\pipx\venvs\zotify\Lib\site-packages\zotify_main.py", line 119, in main
args.func(args)
~~~~~~~~~^^^^^^
File "C:\Users-me-\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 228, in client
Zotify(args)
~~~~~~^^^^^^
File "C:\Users-me-\pipx\venvs\zotify\Lib\site-packages\zotify\config.py", line 578, in init
Zotify.login(args)
~~~~~~~~~~~~^^^^^^
File "C:\Users-me-\pipx\venvs\zotify\Lib\site-packages\zotify\config.py", line 613, in login
session_builder.login_credentials = OAuth(MercuryRequests.keymaster_client_id, redirect_url, oauth_print).flow()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users-me-\pipx\venvs\zotify\Lib\site-packages\librespot\oauth.py", line 117, in flow
self.request_token()
~~~~~~~~~~~~~~~~~~^^
File "C:\Users-me-\pipx\venvs\zotify\Lib\site-packages\librespot\oauth.py", line 54, in request_token
raise RuntimeError("You need to provide a code before!")
RuntimeError: Y
Config File
Cant seem to find it?
Additional Context
Don't know the context, first time using anything like this really
@RGPZ commented on GitHub (Oct 5, 2025):
You could try updating to v0.9.27, you're on a rather old version.
@flaccidcake commented on GitHub (Oct 6, 2025):
theres a v0.9.27?
@fafamobile commented on GitHub (Oct 7, 2025):
run
pipx install git+https://github.com/Googolplexed0/zotify.git --forceto update@flaccidcake commented on GitHub (Oct 8, 2025):
ok so the issue is that i just cant login, have any of you guys used this recently?
@flaccidcake commented on GitHub (Oct 8, 2025):
@Googolplexed0 commented on GitHub (Oct 9, 2025):
Are you seeing the OAuth link, clicking on it, and logging in through a browser?
Try in CMD/Terminal instead of Powershell.
@flaccidcake commented on GitHub (Oct 9, 2025):
Same thing
@Googolplexed0 commented on GitHub (Oct 18, 2025):
Does it error out before you click on the link (as soon as it appears in the terminal), as you are clicking on it, after you click but before your browser establishes a connection, or after logging in through your browser? Without some more detailed info about your config and/or system I cannot help much.