Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BadCredentials on mac #232

Open
TheGrumpyDino67 opened this issue Dec 24, 2024 · 3 comments
Open

BadCredentials on mac #232

TheGrumpyDino67 opened this issue Dec 24, 2024 · 3 comments

Comments

@TheGrumpyDino67
Copy link

I am a mac user (and a complete idiot when it comes to anything related to code), and while attempting to find solutions for this message (Traceback (most recent call last):
File "/Users/suriadijohansjah/.local/bin/zotify", line 8, in
sys.exit(main())
~~~~^^
File "/Users/suriadijohansjah/.local/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/main.py", line 64, in main
args.func(args)
~~~~~~~~~^^^^^^
File "/Users/suriadijohansjah/.local/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/app.py", line 21, in client
Zotify(args)
~~~~~~^^^^^^
File "/Users/suriadijohansjah/.local/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/zotify.py", line 21, in init
Zotify.login(args)
~~~~~~~~~~~~^^^^^^
File "/Users/suriadijohansjah/.local/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/zotify.py", line 46, in login
cls.SESSION = Session.Builder(conf).user_pass(user_name, password).create()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/Users/suriadijohansjah/.local/pipx/venvs/zotify/lib/python3.13/site-packages/librespot/core.py", line 1634, in create
session.authenticate(self.login_credentials)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/suriadijohansjah/.local/pipx/venvs/zotify/lib/python3.13/site-packages/librespot/core.py", line 939, in authenticate
self.__authenticate_partial(credential, False)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/Users/suriadijohansjah/.local/pipx/venvs/zotify/lib/python3.13/site-packages/librespot/core.py", line 1350, in __authenticate_partial
raise Session.SpotifyAuthenticationException(ap_login_failed)
librespot.core.Session.SpotifyAuthenticationException: BadCredentials) while using Zotify, I discovered that there are no solutions I can find for mac. is there a solution for this problem? Thanks

@DmitryZemlyuk
Copy link

Hi :)
Try to install from dev branch
"python -m pip install git+https://zotify.xyz/zotify/[email protected]"

@Happyfeet748
Copy link

ive attmped that also uninstalling and re-installing multiple times i get the same issue he does on mac.

File "/Users/xx/.local/bin/zotify", line 8, in <module> sys.exit(main()) ~~~~^^ File "/Users/xx/.local/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/__main__.py", line 64, in main args.func(args) ~~~~~~~~~^^^^^^ File "/Users/xx/.local/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/app.py", line 21, in client Zotify(args) ~~~~~~^^^^^^ File "/Users/xx/.local/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/zotify.py", line 21, in __init__ Zotify.login(args) ~~~~~~~~~~~~^^^^^^ File "/Users/xx/.local/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/zotify.py", line 46, in login cls.SESSION = Session.Builder(conf).user_pass(user_name, password).create() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/Users/xx/.local/pipx/venvs/zotify/lib/python3.13/site-packages/librespot/core.py", line 1634, in create session.authenticate(self.login_credentials) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/xx/.local/pipx/venvs/zotify/lib/python3.13/site-packages/librespot/core.py", line 939, in authenticate self.__authenticate_partial(credential, False) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/Users/xx/.local/pipx/venvs/zotify/lib/python3.13/site-packages/librespot/core.py", line 1350, in __authenticate_partial raise Session.SpotifyAuthenticationException(ap_login_failed) librespot.core.Session.SpotifyAuthenticationException: BadCredentials

@jacobslusser
Copy link

jacobslusser commented Jan 20, 2025

Hi :) Try to install from dev branch "python -m pip install git+https://zotify.xyz/zotify/[email protected]"

This branch is 11 commits ahead, and 101 commits behind. The CLI has a lot of incompatibilities and doesn't seem to support things like --download-real-time=True

EDIT: To clarify, just letting others know that this branch is like a different app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@jacobslusser @DmitryZemlyuk @Happyfeet748 @TheGrumpyDino67 and others