I'm getting an error while submitting the Spotify token in the 2nd step. Error log attached at the end.
Python version: 3.9.0
OS: Termux on Android 10
Log:
$ pyportify
Listening on http://0.0.0.0:3132
Please open your browser window to http://localhost:3132
Error handling request
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 416, in start
resp = yield from self._request_handler(request)
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/aiohttp/web.py", line 325, in _handle
resp = yield from handler(request)
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 93, in impl
return (yield from handler(request))
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pyportify/middlewares.py", line 14, in index_handler
ret = await handler(request)
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pyportify/app.py", line 68, in spotify_login
logged_in = await c.loggedin()
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pyportify/spotify.py", line 39, in loggedin
playlists = await self._http_get(
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pyportify/spotify.py", line 102, in _http_get
res = await self.session.request(
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/aiohttp/helpers.py", line 109, in __await__
ret = yield from self._coro
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/aiohttp/client.py", line 221, in _request
with timer:
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/aiohttp/helpers.py", line 714, in __enter__
task = current_task(loop=self._loop)
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/aiohttp/helpers.py", line 269, in current_task
task = asyncio.Task.current_task(loop=loop)
AttributeError: type object '_asyncio.Task' has no attribute 'current_task'
I'm getting an error while submitting the Spotify token in the 2nd step. Error log attached at the end.
Python version: 3.9.0 OS: Termux on Android 10
Log: