rckclmbr / pyportify

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

'WebSocketResponse' object has no attribute 'can_start' #113

Closed sch1itzohr closed 6 years ago

sch1itzohr commented 6 years ago

Hi, While log in through app, I encountered next error in stacktrace Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/aiohttp/web_protocol.py", line 421, in start resp = yield from self._request_handler(request) File "/usr/local/lib/python3.5/dist-packages/aiohttp/web.py", line 303, in _handle resp = yield from handler(request) File "/usr/local/lib/python3.5/dist-packages/pyportify/middlwares.py", line 18, in index_handler ret = yield from handler(request) File "/usr/local/lib/python3.5/dist-packages/pyportify/app.py", line 258, in wshandler ok, protocol = resp.can_start(request) AttributeError: 'WebSocketResponse' object has no attribute 'can_start' Checked aiohttp, they don't have such method in 2.1.0, it was deprecated since 1.3.0.