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

TypeError: object NoneType can't be used in 'await' expression #112

Open
gaodianzhuo opened this issue Jun 4, 2021 · 0 comments
Open

TypeError: object NoneType can't be used in 'await' expression #112

gaodianzhuo opened this issue Jun 4, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@gaodianzhuo
Copy link

gaodianzhuo commented Jun 4, 2021

功能正常运行就是报个错误

In [2]: import pywebio

In [3]: pywebio.version
Out[3]: '1.2.3'

python3.8 chat_room.py
Listen on 0.0.0.0:8080
ERROR:tornado.application:Uncaught exception GET /?app=index&session=NEW (::1)
HTTPServerRequest(protocol='http', host='localhost:8080', method='GET', uri='/?app=index&session=NEW', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "/home/arthur/.local/lib/python3.8/site-packages/tornado/web.py", line 1592, in _execute
result = yield result
File "/home/arthur/.local/lib/python3.8/site-packages/tornado/gen.py", line 1133, in run
value = future.result()
File "/home/arthur/.local/lib/python3.8/site-packages/pywebio/platform/tornado.py", line 106, in get
await super().get()
TypeError: object NoneType can't be used in 'await' expression

@gaodianzhuo gaodianzhuo added the bug Something isn't working label Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant