saghul / evergreen

Cooperative multitasking and i/o for Python
https://pypi.python.org/pypi/evergreen
MIT License
114 stars 11 forks source link

evergreen.EventLoop() lauches exception #16

Open francois-vincent opened 9 years ago

francois-vincent commented 9 years ago

Hi saghul,

I've just installed evergreen to have a look and perform basic tests:

cat /etc/issue

Ubuntu 14.04.1 LTS

pip install evergreen

Downloading evergreen-0.1.0.tar.gz Downloading fibers-0.4.0.tar.gz Downloading pyuv-1.0.1.tar.gz

but I've been stopped at first step:

python

import evergreen loop=evergreen.EventLoop()

Traceback (most recent call last): File "", line 1, in File "/home/francois/.local/share/virtualenvs/py2/local/lib/python2.7/site-packages/evergreen/core/loop.py", line 126, in init self._ready_processor.unref() AttributeError: 'pyuv.Check' object has no attribute 'unref'

I thought probably an evergreen/pyuv version mismatch :) But now that I checked, there seems to be a single version of pyuv available on pypi:

pip install yolk yolk -V pyuv

pyuv 1.0.1

If you can have a look ?

François

saghul commented 9 years ago

You're right, I have not updated evergreen to match the API changes in pyuv due to lack of time :-S I'll fix it as soon as I can, but if you feel like going for it, don't hesitate to send a PR :-)