Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on submitting Spotify token #153

Open
JediRhymeTrix opened this issue Oct 20, 2020 · 0 comments
Open

Error on submitting Spotify token #153

JediRhymeTrix opened this issue Oct 20, 2020 · 0 comments

Comments

@JediRhymeTrix
Copy link

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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant