-
-
Notifications
You must be signed in to change notification settings - Fork 265
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
[BUG] <MAC OS - Qobuz Error loading config w/ app secret> #776
Comments
Same here on Arch Linux :Output:
|
if you find how to fix, please let me know
if you find how to fix, please let me know |
Describe the bug
Hello - I have tried several instances to update the config file from reseting to redownloading and reinstalling python but I am unable to use streamrip anymore. I keep seeing errors with the new and old secret, however I am copying and pasting it as is.
Command Used
TypeError: 'NoneType' object does not support the context manager protocol
user@Mac ~ % rip url https://www.qobuz.com/us-en/album/gnx-kendrick-lamar/n9dqr0t48rj3b
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /Library/Frameworks/Python.framework/Versions/3.12/bin/rip:8 in │
│ │
│ 5 from streamrip.rip import rip │
│ 6 if name == 'main': │
│ 7 │ sys.argv[0] = re.sub(r'(-script.pyw|.exe)?$', '', sys.argv[0]) │
│ ❱ 8 │ sys.exit(rip()) │
│ 9 │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py:11 │
│ 57 in call │
│ │
│ ... 12 frames hidden ... │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/streamrip/client │
│ /qobuz.py:166 in login │
│ │
│ 163 │ │ │ f.set_modified() │
│ 164 │ │ │
│ 165 │ │ self.session.headers.update({"X-App-Id": c.app_id}) │
│ ❱ 166 │ │ self.secret = await self._get_valid_secret(c.secrets) │
│ 167 │ │ │
│ 168 │ │ if c.use_auth_token: │
│ 169 │ │ │ params = { │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/streamrip/client │
│ /qobuz.py:392 in _get_valid_secret │
│ │
│ 389 │ │ working_secrets = [r for r in results if r is not None] │
│ 390 │ │ │
│ 391 │ │ if len(working_secrets) == 0: │
│ ❱ 392 │ │ │ raise InvalidAppSecretError(secrets) │
│ 393 │ │ │
│ 394 │ │ return working_secrets[0] │
│ 395 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
InvalidAppSecretError: 979549437fcc4a3faad4867b5cd25dcb
Operating System
MacOS
streamrip version
rip, version 2.0.5
Screenshots and recordings
Additional context
any help would be greatly apprecaited.
The text was updated successfully, but these errors were encountered: