You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It gives the following error:
Traceback (most recent call last):
File "zzz.py", line 11, in
from pistil.tcp.gevent_worker import TcpGeventWorker
File "/usr/local/lib/python2.7/site-packages/pistil-0.2.0-py2.7.egg/pistil/tcp/gevent_worker.py", line 42, in
class TcpGeventWorker(TcpSyncWorker):
File "/usr/local/lib/python2.7/site-packages/pistil-0.2.0-py2.7.egg/pistil/tcp/gevent_worker.py", line 77, in TcpGeventWorker
if hasattr(gevent.core, 'dns_shutdown'):
AttributeError: 'module' object has no attribute 'core'
Adding
import gevent.core
to pistil/tcp/gevent_worker.py fixes this issue.
The text was updated successfully, but these errors were encountered:
Hi,
With gevent dev (github master) and pistil, the following example code doesn't start:
It gives the following error:
Traceback (most recent call last):
File "zzz.py", line 11, in
from pistil.tcp.gevent_worker import TcpGeventWorker
File "/usr/local/lib/python2.7/site-packages/pistil-0.2.0-py2.7.egg/pistil/tcp/gevent_worker.py", line 42, in
class TcpGeventWorker(TcpSyncWorker):
File "/usr/local/lib/python2.7/site-packages/pistil-0.2.0-py2.7.egg/pistil/tcp/gevent_worker.py", line 77, in TcpGeventWorker
if hasattr(gevent.core, 'dns_shutdown'):
AttributeError: 'module' object has no attribute 'core'
Adding
import gevent.core
to pistil/tcp/gevent_worker.py fixes this issue.
The text was updated successfully, but these errors were encountered: