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

Incompatible with uvloop==0.9.1 #115

Closed
luthfianto opened this issue Mar 11, 2018 · 4 comments
Closed

Incompatible with uvloop==0.9.1 #115

luthfianto opened this issue Mar 11, 2018 · 4 comments

Comments

@luthfianto
Copy link

MacBook-Pro:test rilut$ pip3 install  uvloop==0.9.1
Collecting uvloop==0.9.1
  Using cached uvloop-0.9.1-cp36-cp36m-macosx_10_11_x86_64.whl
Installing collected packages: uvloop
  Found existing installation: uvloop 0.8.1
    Uninstalling uvloop-0.8.1:
      Successfully uninstalled uvloop-0.8.1
Successfully installed uvloop-0.9.1

MacBook-Pro:test rilut$ python3 japro.py
Accepting connections on http://0.0.0.0:8080
Exception in callback UVTransport._call_connection_made
handle: <Handle UVTransport._call_connection_made>
Traceback (most recent call last):
  File "uvloop/cbhandles.pyx", line 52, in uvloop.loop.Handle._run
  File "uvloop/handles/tcp.pyx", line 149, in uvloop.loop.TCPTransport._call_connection_made
  File "uvloop/handles/basetransport.pyx", line 156, in uvloop.loop.UVBaseTransport._call_connection_made
  File "uvloop/handles/basetransport.pyx", line 153, in uvloop.loop.UVBaseTransport._call_connection_made
SystemError: NULL result without error in PyObject_Call

MacBook-Pro:test rilut$ pip3 install  uvloop==0.8.1
Collecting uvloop==0.8.1
  Downloading uvloop-0.8.1-cp36-cp36m-macosx_10_11_x86_64.whl (1.2MB)
    100% |████████████████████████████████| 1.2MB 748kB/s
Installing collected packages: uvloop
  Found existing installation: uvloop 0.9.1
    Uninstalling uvloop-0.9.1:
      Successfully uninstalled uvloop-0.9.1
Successfully installed uvloop-0.8.1

MacBook-Pro:test rilut$ python3 japro.py
Accepting connections on http://0.0.0.0:8080
@luthfianto
Copy link
Author

uvloop==0.9.1 is installed while I was doing pip3 install -U sanic, because now sanic can use uvloop too

@Martmists-GH
Copy link
Contributor

See #99 and #107

setup.py has been adjusted to specifically only install uvloop<0.9.0, so if you use uvloop above this version you're indeed going to have issues.

@0x161e-swei
Copy link

0x161e-swei commented May 6, 2018

Is there any plan to upgrade to use uvloop 0.9.1?

@ifplusor
Copy link
Contributor

ifplusor commented Sep 7, 2018

I fixed it in #133

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

4 participants