rckclmbr / pyportify

App to transfer your spotify playlists to Google Play Music
Apache License 2.0
779 stars 57 forks source link

Can't import relatively large playlist - stops at ~20 songs #109

Closed wsun19 closed 6 years ago

wsun19 commented 7 years ago

Hi,

I've been able to import some smaller playlists, but I have an ~80 song playlist that I can't seem to be able to transfer. In the command line, I get this message

Error handling request
Traceback (most recent call last):
  File "site-packages\aiohttp\server.py", line 265, in s
  File "site-packages\aiohttp\web.py", line 96, in handl
  File "pyportify\middlwares.py", line 18, in index_hand
  File "pyportify\app.py", line 117, in transfer_start
  File "pyportify\app.py", line 169, in transfer_playlis
  File "asyncio\futures.py", line 358, in __iter__
  File "asyncio\tasks.py", line 290, in _wakeup
  File "asyncio\futures.py", line 274, in result
  File "asyncio\tasks.py", line 239, in _step
  File "pyportify\app.py", line 239, in search_gm_track
  File "pyportify\spotify.py", line 14, in search_query
TypeError: argument of type 'NoneType' is not iterable

and then it finds ~20 songs. From the UI, it says that I have found 20 songs and not found 0.

I've tried this from both the windows .exe and running the code on a Mac

rckclmbr commented 7 years ago

pyportify has worked with 1000+ songs, there must be something going on with this playlist. Is it public, or could you make it public and send me a link?

wsun19 commented 7 years ago

Here's the playlist https://open.spotify.com/user/22ujgyiomxbgggsb7mvnorh7q/playlist/3OVXBy5QDsx1jdSHrkAu1L

wsun19 commented 6 years ago

Any update on this?

rckclmbr commented 6 years ago

Give 0.3.15 a try

Windows:

https://github.com/rckclmbr/pyportify/releases/download/v0.3.15/pyportify.zip

OSX:

https://github.com/rckclmbr/pyportify/releases/download/v0.3.15/pyportify.dmg

wsun19 commented 6 years ago

Works, thanks!