Spotify-downloader: ValueError: path is on mount 'A:', start on mount 'C:'

Created on 13 Mar 2018  路  8Comments  路  Source: spotDL/spotify-downloader

  • [x] Using latest version as provided on the master branch
  • [x] [Searched](https://github.com/ritiek/spotify-downloader/issues?utf8=%E2%9C%93&q=is%3Aissue) for similar issues including closed ones

What is the purpose of your issue?

  • [x] Bug
  • [ ] Feature Request
  • [x] Question
  • [ ] Other

Description

When I try to run the script, I get the following response. I can't tell if I鈥檓 doing something wrong, or if I came across a bug. My Skill level would be too low for that... well it's non-existent tbh.

Log

C:\WINDOWS\system32>python C:\Users\opc\AppData\Local\Programs\Python\Python36-32\Lib\spotify-downloader-master\spotdl.py --song https://open.spotify.com/track/2lfPecqFbH8X4lHSpTxt8l

Traceback (most recent call last):
  File "C:\Users\opc\AppData\Local\Programs\Python\Python36-32\Lib\spotify-downloader-master\spotdl.py", line 171, in <module>
    const.args = handle.get_arguments()
  File "C:\Users\opc\AppData\Local\Programs\Python\Python36-32\Lib\spotify-downloader-master\core\handle.py", line 117, in get_arguments
    '-f', '--folder', default=os.path.relpath(config['folder'], os.getcwd()),
  File "C:\Users\opc\AppData\Local\Programs\Python\Python36-32\lib\ntpath.py", line 585, in relpath
    path_drive, start_drive))
ValueError: path is on mount 'A:', start on mount 'C:'
bug

All 8 comments

Same problem here.

Maybe #285 would fix this.

change the path to the folder the music gets sent to in the config.yml this fixed it for me

Thanks @GOTFWolf, this fixed it for me.

I changed the path on config.yml from A:... to C:... and everything was ok.

np :) pls sent this post to anyone with this problem or devs put this somewhere in you FAQ or something

I'll re-open this as I'd also want it to work when download folder is in another drive on Windows.

To solve this you need to get the original name of the folder. For example, my music folder is called "Musica iPod" but when I said to windows that will be my main music folder it renamed it "Musica" but its original name is "Musica iPod" so if you change in the config.yml the folder name to its original name it shouldn't create a new folder only because it can't find it.
I hope to help someone with this comment.

I reproduced this on my Windows machine and should be fixed by #333. Let me know if this is still a problem.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iateadonut picture iateadonut  路  4Comments

linusg picture linusg  路  6Comments

loftwah picture loftwah  路  5Comments

michalfalat picture michalfalat  路  3Comments

mugi789 picture mugi789  路  3Comments