Closed sanjuroj closed 7 years ago
The ./manage.py runserver works now. And the API queries sometimes work and sometimes fail. They often fail with "block forever" error below. There is another error below that might be relevant.
File "/Users/sanjuroIvy/Sites/hackoregon/transportation/transportation-backend/venv/lib/python3.4/site-packages/gevent/_socket3.py", line 385, in recv_into
self._wait(self._read_event)
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/socket.py", line 374, in readinto
return self._sock.recv_into(b)
File "/Users/sanjuroIvy/Sites/hackoregon/transportation/transportation-backend/venv/lib/python3.4/site-packages/gevent/_socket3.py", line 157, in _wait
self.hub.wait(watcher)
File "/Users/sanjuroIvy/Sites/hackoregon/transportation/transportation-backend/venv/lib/python3.4/site-packages/gevent/_socket3.py", line 385, in recv_into
self._wait(self._read_event)
File "/Users/sanjuroIvy/Sites/hackoregon/transportation/transportation-backend/venv/lib/python3.4/site-packages/gevent/hub.py", line 651, in wait
result = waiter.get()
File "/Users/sanjuroIvy/Sites/hackoregon/transportation/transportation-backend/venv/lib/python3.4/site-packages/gevent/_socket3.py", line 157, in _wait
self.hub.wait(watcher)
File "/Users/sanjuroIvy/Sites/hackoregon/transportation/transportation-backend/venv/lib/python3.4/site-packages/gevent/hub.py", line 899, in get
return self.hub.switch()
File "/Users/sanjuroIvy/Sites/hackoregon/transportation/transportation-backend/venv/lib/python3.4/site-packages/gevent/hub.py", line 651, in wait
result = waiter.get()
File "/Users/sanjuroIvy/Sites/hackoregon/transportation/transportation-backend/venv/lib/python3.4/site-packages/gevent/hub.py", line 630, in switch
return RawGreenlet.switch(self)
gevent.hub.LoopExit: ('This operation would block forever', <Hub at 0x12c4a15a0 select pending=0 ref=0>)
----------------------------------------
File "/Users/sanjuroIvy/Sites/hackoregon/transportation/transportation-backend/venv/lib/python3.4/site-packages/gevent/hub.py", line 899, in get
return self.hub.switch()
File "/Users/sanjuroIvy/Sites/hackoregon/transportation/transportation-backend/venv/lib/python3.4/site-packages/gevent/hub.py", line 630, in switch
return RawGreenlet.switch(self)
gevent.hub.LoopExit: ('This operation would block forever', <Hub at 0x111c75df0 select pending=0 ref=0>)
@MikeTheCanuck, @leobender After monkey-patching commit was applied, I received this error when trying to run on a native Mac install (i.e. not in a docker container)