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

i use aiohttp2.0.1,throw error "AttributeError: module 'aiohttp' has no attribute 'HttpMessage'" #86

Closed
larryclean opened this issue Mar 22, 2017 · 2 comments

Comments

@larryclean
Copy link

ERROR:aiohttp.server:Error handling request Traceback (most recent call last): File "/Volumes/macsource/01-Project/03-Pyvirtual/aiohttp/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 417, in start resp = yield from self._request_handler(request) File "/Volumes/macsource/01-Project/03-Pyvirtual/aiohttp/lib/python3.5/site-packages/aiohttp/web.py", line 289, in _handle resp = yield from handler(request) File "/Volumes/macsource/01-Project/03-Pyvirtual/aiohttp/lib/python3.5/site-packages/engineio/asyncio_server.py", line 107, in handle_request environ = self._async['translate_request'](*args, **kwargs) File "/Volumes/macsource/01-Project/03-Pyvirtual/aiohttp/lib/python3.5/site-packages/engineio/async_aiohttp.py", line 35, in translate_request 'SERVER_SOFTWARE': aiohttp.HttpMessage.SERVER_SOFTWARE, AttributeError: module 'aiohttp' has no attribute 'HttpMessage'

@c0rv4x
Copy link

c0rv4x commented Sep 4, 2017

For me - the solution is to use sanic, because aiohttp.HttpMessage became deprecated. I did not find a way to fix that. So just stopped using that.

@miguelgrinberg
Copy link
Owner

@iad42 this is an old bug, you can use aiohttp now.

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

3 participants