You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ytmusicapi oauth
Traceback (most recent call last):
File "venv/bin/ytmusicapi", line 8, in <module>
sys.exit(main())
^^^^^^
File "venv/lib/python3.11/site-packages/ytmusicapi/setup.py", line 78, in main
print(f"Creating {Path(filename).as_uri()} with your authentication credentials...")
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/pathlib.py", line 567, in as_uri
raise ValueError("relative path can't be expressed as a file URI")
ValueError: relative path can't be expressed as a file URI
To Reproduce
run the code above in python3.11 or a small reproducer:
>>> from pathlib import Path
>>> Path('oauth.json').as_uri()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.11/pathlib.py", line 567, in as_uri
raise ValueError("relative path can't be expressed as a file URI")
ValueError: relative path can't be expressed as a file URI
Describe the bug
To Reproduce
run the code above in python3.11 or a small reproducer:
which is what's done in https://github.com/sigma67/ytmusicapi/blob/main/ytmusicapi/setup.py#L77-L78
The text was updated successfully, but these errors were encountered: