Code: Select all
[pid: 1082|app: 0|req: 7712/7712] 127.0.0.1 () {34 vars in 573 bytes} [Fri Mar 13 11:53:38 2015] GET /L/lrnonl => generated 0 bytes in 1 msecs (HTTP/1.0 500) 0 headers in 0 bytes (0 switches on core 0)
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "/home/alec/easystreet/python/ims/leadassignment/wurfl_middleware.py", line 38, in __call__
capabilities=["is_smartphone", "is_tablet", "device_os"])
File "/usr/local/lib/python2.7/dist-packages/wurfl_cloud-1.0.1-py2.7.egg/wurfl_cloud/__init__.py", line 69, in __call__
device = self._get_device(user_agent, headers, capabilities)
File "/usr/local/lib/python2.7/dist-packages/wurfl_cloud-1.0.1-py2.7.egg/wurfl_cloud/__init__.py", line 105, in _get_device
device = self.cache.get_device(user_agent)
File "/usr/local/lib/python2.7/dist-packages/wurfl_cloud-1.0.1-py2.7.egg/wurfl_cloud/cache/interface.py", line 50, in get_device
device_id = self._from_backend(user_agent)
File "/usr/local/lib/python2.7/dist-packages/wurfl_cloud-1.0.1-py2.7.egg/wurfl_cloud/cache/interface.py", line 34, in _from_backend
data = self.get(key).decode("utf8")
File "/usr/local/lib/python2.7/dist-packages/wurfl_cloud-1.0.1-py2.7.egg/wurfl_cloud/cache/file_cache.py", line 36, in get
if (int(self.db[key + "_expiration"]) - time.time() <= 0):
File "/usr/lib/python2.7/bsddb/__init__.py", line 270, in __getitem__
return _DeadlockWrap(lambda: self.db[key]) # self.db[key]
File "/usr/lib/python2.7/bsddb/dbutils.py", line 68, in DeadlockWrap
return function(*_args, **_kwargs)
File "/usr/lib/python2.7/bsddb/__init__.py", line 270, in <lambda>
return _DeadlockWrap(lambda: self.db[key]) # self.db[key]
bsddb.db.DBRunRecoveryError: (-30973, 'DB_RUNRECOVERY: Fatal error, run database recovery -- PANIC: Invalid argument')
Alec