Spotify-downloader: ImportError: cannot import name 'ProgressRootProcess'

Created on 20 Dec 2020  路  11Comments  路  Source: spotDL/spotify-downloader

Successfully installed install-1.3.4 spotdl-3.1.4

but then:

spotdl https://open.spotify.com/album/5dleG7j7NuwHGv2v4iibNg
Traceback (most recent call last):
  File "/usr/local/bin/spotdl", line 7, in <module>
    from spotdl.__main__ import console_entry_point
  File "/usr/local/lib/python3.6/site-packages/spotdl/__main__.py", line 10, in <module>
    from spotdl.download.downloader import DownloadManager
  File "/usr/local/lib/python3.6/site-packages/spotdl/download/downloader.py", line 5, in <module>
    from spotdl.download.progressHandlers import ProgressRootProcess
ImportError: cannot import name 'ProgressRootProcess'
bug

Most helpful comment

So I was able to 'fix' this by copying progressHandlers.py from v3.1.0 but that simply led me to the 'rate_min' problem described here:

https://github.com/spotDL/spotify-downloader/issues/1029

which I was able to 'fix' it by upgrading tqdm which then led to this problem:

https://github.com/spotDL/spotify-downloader/issues/1044

which is the same as I get with this version:

https://github.com/spotDL/spotify-downloader/archive/next-rel-dev.zip

At this point I give up and leave it to the real developers. I'm just a hacker.

Hey @percivjr , we're all hackers man. Good effort though.

All 11 comments

Same issue here, if I try to download a playlist I get a KeyError: 'playNavigationEndpoint', and if I try to download a single track I have the same issue as you.

So I was able to 'fix' this by copying progressHandlers.py from v3.1.0 but that simply led me to the 'rate_min' problem described here:

https://github.com/spotDL/spotify-downloader/issues/1029

which I was able to 'fix' it by upgrading tqdm which then led to this problem:

https://github.com/spotDL/spotify-downloader/issues/1044

which is the same as I get with this version:

https://github.com/spotDL/spotify-downloader/archive/next-rel-dev.zip

At this point I give up and leave it to the real developers. I'm just a hacker.

So I was able to 'fix' this by copying progressHandlers.py from v3.1.0 but that simply led me to the 'rate_min' problem described here:

https://github.com/spotDL/spotify-downloader/issues/1029

which I was able to 'fix' it by upgrading tqdm which then led to this problem:

https://github.com/spotDL/spotify-downloader/issues/1044

which is the same as I get with this version:

https://github.com/spotDL/spotify-downloader/archive/next-rel-dev.zip

At this point I give up and leave it to the real developers. I'm just a hacker.

Hey @percivjr , we're all hackers man. Good effort though.

@percivjr why did you close the issue?
it's something that needs to be fixed in code.
please reopen this.
developers need to know about the issue, although it is present in master branch that doesn't currently work because of it

I closed it because although the 'ProgressRootProcess' problem occurs in the master branch, it doesn't occur in:

https://github.com/spotDL/spotify-downloader/archive/next-rel-dev.zip

(but for me the delvelopment release doesn't work because of #1044 as I mentioned).

Thats because next-rel-dev is behind on some commits. When its merged to master it will break. This issue is caused by commits cb61b2c68e9c61fb5ea9ccc1a5099c9e40e8117b and e49792ac291f3ad536a15445762881240199e84c that are on master branch but not on next-rel-dev. Two conflicting(code conflicts, not git conflicts) PRs were merged and it was not checked wheter the code runs correctly after that

OK

Any updates on this?

Issue itself is fixed as conflicting changes were reverted. Application still doesn't work, but that's because of other issues. This one should be closed

Issue itself is fixed as conflicting changes were reverted. Application still doesn't work, but that's because of other issues. This one should be closed

Where should I check for updates regarding if it works again then?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

linusg picture linusg  路  6Comments

noahball picture noahball  路  3Comments

RowanSkie picture RowanSkie  路  5Comments

iateadonut picture iateadonut  路  4Comments

EsmailELBoBDev2 picture EsmailELBoBDev2  路  5Comments