Spotify-downloader: AttributeError: 'NoneType' object has no attribute 'download'

Created on 14 Dec 2020  路  7Comments  路  Source: spotDL/spotify-downloader

This is the error I get, when I try to download a song:

Fetching Song...
  0%|                                                                                                |ETA: ?, ~min/songTraceback (most recent call last):
  File "c:\users\nihaa\appdata\local\programs\python\python37-32\lib\site-packages\spotdl\download\downloader.py", line 114, in download_song
    downloadedFilePath = trackAudioStream.download(
AttributeError: 'NoneType' object has no attribute 'download'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\users\nihaa\appdata\local\programs\python\python37-32\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\nihaa\appdata\local\programs\python\python37-32\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\nihaa\AppData\Local\Programs\Python\Python37-32\Scripts\spotdl.exe\__main__.py", line 7, in <module>
  File "c:\users\nihaa\appdata\local\programs\python\python37-32\lib\site-packages\spotdl\__main__.py", line 100, in console_entry_point
    downloader.download_single_song(song)
  File "c:\users\nihaa\appdata\local\programs\python\python37-32\lib\site-packages\spotdl\download\downloader.py", line 274, in download_single_song
    download_song(songObj, self.displayManager, self.downloadTracker)
  File "c:\users\nihaa\appdata\local\programs\python\python37-32\lib\site-packages\spotdl\download\downloader.py", line 124, in download_song
    remove(join(tempFolder, convertedFileName) + '.mp4')
FileNotFoundError: [WinError 2] The system cannot find the file specified: '.\\Temp\\James Arthur - Train Wreck.mp4'
  0%|                                                                                                |ETA: ?, ~min/song
bug

All 7 comments

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.97. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Duplicate of #1025.
Try the following:

  1. pip install pip-autoremove
  2. pip-autoremove spotdl
  3. pip install https://codeload.github.com/spotDL/spotify-downloader/zip/master
  4. pip install -U pytube
  5. spotdl $trackUrl

@Silverarmor Unfortunately the new version skips all the songs, saying its not found on youtube.

See #1036. Your python is also out of date. Recommend updating that also.

Apologies, I correct. New error is a Duplicate of #1039

@Silverarmor Either way, there is no solution yet?

No solution yet for #1039. You are welcome to help troubleshoot etc.

Was this page helpful?
0 / 5 - 0 ratings