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
How can I use zerorpc client in Django? I put connection in django settings, and try to use the rpc connection in anywhere in Django project. However it always hangs, it shows the error:
File "/Users/kimi/how/env/athena/lib/python3.6/site-packages/zerorpc/events.py", line 136, in call
self._send_queue.put(parts, timeout=timeout)
File "src/gevent/queue.py", line 629, in gevent._queue.Channel.put
File "src/gevent/queue.py", line 624, in gevent._queue.Channel.put
File "src/gevent/_waiter.py", line 151, in gevent.__waiter.Waiter.get
File "src/gevent/_greenlet_primitives.py", line 61, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_greenlet_primitives.py", line 61, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_greenlet_primitives.py", line 65, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/__greenlet_primitives.pxd", line 35, in gevent.__greenlet_primitives._greenlet_switch
gevent.exceptions.LoopExit: This operation would block forever
Hub: <Hub '' at 0x119ba7cc0 select pending=0 ref=0 thread_ident=0x700001482000>
Handles:
[]
The text was updated successfully, but these errors were encountered:
How can I use zerorpc client in Django? I put connection in django settings, and try to use the rpc connection in anywhere in Django project. However it always hangs, it shows the error:
File "/Users/kimi/how/env/athena/lib/python3.6/site-packages/zerorpc/events.py", line 136, in call
self._send_queue.put(parts, timeout=timeout)
File "src/gevent/queue.py", line 629, in gevent._queue.Channel.put
File "src/gevent/queue.py", line 624, in gevent._queue.Channel.put
File "src/gevent/_waiter.py", line 151, in gevent.__waiter.Waiter.get
File "src/gevent/_greenlet_primitives.py", line 61, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_greenlet_primitives.py", line 61, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_greenlet_primitives.py", line 65, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/__greenlet_primitives.pxd", line 35, in gevent.__greenlet_primitives._greenlet_switch
gevent.exceptions.LoopExit: This operation would block forever
Hub: <Hub '' at 0x119ba7cc0 select pending=0 ref=0 thread_ident=0x700001482000>
Handles:
[]
The text was updated successfully, but these errors were encountered: