question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Python 3.8 not supported?

See original GitHub issue

What seems to have worked fine with python 3.7, broke in 3.8. Not sure, which component fault it is:

weeapps          | WebSocket CONNECT /ws/ [172.28.0.1:38414]
weeapps          | Exception in callback AsyncioSelectorReactor.callLater.<locals>.run() at /home/weeapps/.cache/pypoetry/virtualenvs/weeapps-bF5OakI8-py3.8/lib/python3.8/site-packages/twisted/internet/asyncioreactor.py:287
weeapps          | handle: <TimerHandle when=6319.079751694 AsyncioSelectorReactor.callLater.<locals>.run() at /home/weeapps/.cache/pypoetry/virtualenvs/weeapps-bF5OakI8-py3.8/lib/python3.8/site-packages/twisted/internet/asyncioreactor.py:287>
weeapps          | Traceback (most recent call last):
weeapps          |   File "/usr/local/lib/python3.8/asyncio/events.py", line 81, in _run
weeapps          |     self._context.run(self._callback, *self._args)
weeapps          |   File "/home/weeapps/.cache/pypoetry/virtualenvs/weeapps-bF5OakI8-py3.8/lib/python3.8/site-packages/twisted/internet/asyncioreactor.py", line 290, in run
weeapps          |     f(*args, **kwargs)
weeapps          |   File "/home/weeapps/.cache/pypoetry/virtualenvs/weeapps-bF5OakI8-py3.8/lib/python3.8/site-packages/daphne/server.py", line 270, in application_checker
weeapps          |     exception = application_instance.exception()
weeapps          | asyncio.exceptions.CancelledError
weeapps          | WebSocket DISCONNECT /ws/ [172.28.0.1:38414]
aioredis==1.3.0
appdirs==1.4.3
asgiref==3.2.3
async-timeout==3.0.1
attrs==19.3.0
autobahn==19.10.1
Automat==0.8.0
black==19.3b0
cffi==1.13.1
channels==2.3.0
channels-redis==2.4.0
Click==7.0
constantly==15.1.0
cryptography==2.8
daphne==2.3.0
Django==2.2.6
hiredis==1.0.0
hyperlink==19.0.0
idna==2.8
incremental==17.5.0
msgpack==0.6.2
pycparser==2.19
PyHamcrest==1.9.0
pytz==2019.3
redis==3.3.11
six==1.12.0
sqlparse==0.3.0
toml==0.10.0
Twisted==19.7.0
txaio==18.8.1
-e git+git@github.com:max-wittig/weeapps.git@fffee4b6734eb275105580cb21de5f70e13cc8f7#egg=weeapps
zope.interface==4.6.0
  • How you’re running Channels (runserver? daphne/runworker? Nginx/Apache in front?)
  • daphne with nginx reverse proxy to https in front, inside docker

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
andriilahutacommented, Oct 25, 2019

@max-wittig try channels==2.3.1 and channels-redis==2.4.1.

0reactions
max-wittigcommented, Oct 26, 2019

@laevilgenius yes exactly. You’re right. I wonder why no-reload worked before in asgiref@3.0.0. Strange. Thanks for the help!

Now works with 3.8

Read more comments on GitHub >

github_iconTop Results From Across the Web

The specified Python version (3.8) is not supported ... - GitHub
Issue. I wanted to start using python 3.8 in a project: » poetry env use -vvv 3.8.0 [NoCompatiblePythonVersionFound] The specified ...
Read more >
Unable to upgrade Python 3.8.10 to 3.10 - SOLVED
Hi, I tried to upgrade Python 3.8.10 to 3.10 on Ubuntu : Ubuntu 20.04.4 LTS ... of Ubuntu or Debian, but that is...
Read more >
Python 3.8 support table for most popular Python packages
This site shows Python 3.8 support for the 360 most downloaded packages on ... There can be many reasons a package is not...
Read more >
Is it possible to use Python 3.8 ? - Dataiku Community
As you correctly stated, as of today Python 3.8 is not supported by DSS. In practice, it means that you cannot use Python...
Read more >
When will Python version 3.8 be supported? - Google Groups
I just discovered CEF Python and tried an example. Unfortunately, I received the following message: Exception: Python version not supported: 3.8.2 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found