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

Couldn't write token to cache at: .cache #319

Open
Marcioghiraldelli opened this issue Jan 20, 2023 · 1 comment
Open

Couldn't write token to cache at: .cache #319

Marcioghiraldelli opened this issue Jan 20, 2023 · 1 comment
Labels

Comments

@Marcioghiraldelli
Copy link

I'm using version 8.5.0 on ubuntu and it's showing this error when I try to download a song.
Can someone help me ?
Installed via PIP3.

Couldn't read cache at: .cache cache_handler.py:84
Couldn't write token to cache at: .cache cache_handler.py:94
Saving songs to Orbit 37 directory
Couldn't read cache at: .cache cache_handler.py:84
Couldn't write token to cache at: .cache cache_handler.py:94
Couldn't read cache at: .cache cache_handler.py:84
Couldn't write token to cache at: .cache cache_handler.py:94
Couldn't read cache at: .cache cache_handler.py:84
Couldn't write token to cache at: .cache cache_handler.py:94
Traceback (most recent call last):
File "/usr/local/bin/spotify_dl", line 8, in
sys.exit(spotify_dl())
File "/usr/local/lib/python3.8/dist-packages/spotify_dl/spotify_dl.py", line 186, in spotify_dl
download_songs(
File "/usr/local/lib/python3.8/dist-packages/spotify_dl/youtube.py", line 268, in download_songs
os.rename(reference_file, kwargs["output_dir"] + "/" + reference_file)
OSError: [Errno 18] Invalid cross-device link: 'download_list.log' -> '/mnt/HC_Volume_26820098/radio_diario/media/Programing_Pro//download_list.log'

@jeanlucthumm
Copy link

This seems to happen when the ouptut directory is a mounted device in /mnt

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

No branches or pull requests

2 participants