<class 'gevent.hub.LoopExit'> This operation would block forever
Version
web2py™ Version 2.14.3-stable+timestamp.2016.03.26.17.54.43
Python Python 2.7.10: D:\programs\open\python27\python.exe (prefix: D:\programs\open\python27)
Traceback
Traceback (most recent call last):
File "d:\code\git\web2py\gluon\restricted.py", line 227, in restricted
exec ccode in environment
File "d:/code/git/web2py/applications/myapp/controllers/myservice.py", line 99, in <module>
File "d:\code\git\web2py\gluon\globals.py", line 417, in <lambda>
self._caller = lambda f: f()
File "d:\code\git\web2py\gluon\cache.py", line 661, in wrapped_f
rtn = func()
File "d:/code/git/web2py/applications/myapp/controllers/myservice.py", line 68, in data
data = api.get_data(url)
File "applications\myapp\modules\data\api.py", line 145, in get_data
return _get_data_for(url) if url else None
File "applications\myapp\modules\data\api.py", line 164, in _get_data_for
force_reload=rebuild
File "applications\myapp\modules\myapp_constants.py", line 460, in get_from_cache
cache_value = redis_cache.get(key)
File "D:\programs\open\python27\lib\site-packages\redis\client.py", line 880, in get
return self.execute_command('GET', name)
File "D:\programs\open\python27\lib\site-packages\redis\client.py", line 573, in execute_command
return self.parse_response(connection, command_name, **options)
File "D:\programs\open\python27\lib\site-packages\redis\client.py", line 585, in parse_response
response = connection.read_response()
File "D:\programs\open\python27\lib\site-packages\redis\connection.py", line 577, in read_response
response = self._parser.read_response()
File "D:\programs\open\python27\lib\site-packages\redis\connection.py", line 238, in read_response
response = self._buffer.readline()
File "D:\programs\open\python27\lib\site-packages\redis\connection.py", line 168, in readline
self._read_from_socket()
File "D:\programs\open\python27\lib\site-packages\redis\connection.py", line 126, in _read_from_socket
data = self._sock.recv(socket_read_size)
File "D:\programs\open\python27\lib\site-packages\gevent\socket.py", line 394, in recv
self._wait(self._read_event)
File "D:\programs\open\python27\lib\site-packages\gevent\socket.py", line 300, in _wait
self.hub.wait(watcher)
File "D:\programs\open\python27\lib\site-packages\gevent\hub.py", line 348, in wait
result = waiter.get()
File "D:\programs\open\python27\lib\site-packages\gevent\hub.py", line 575, in get
return self.hub.switch()
File "D:\programs\open\python27\lib\site-packages\gevent\hub.py", line 338, in switch
return greenlet.switch(self)
LoopExit: This operation would block forever