http://code.google.com/p/web2py/issues/detail?id=1791&thanks=1791&ts=1385453629
I have an app with lot of disk cache usage in selects after 2.7 - don't know
exactly the exact version :( - I got a lot of trouble with it, sometimes the
app just wait and if I try disk. Or if I make a cache.disk.flush() I got this:
Ticket ID
192.168.7.29.2013-11-18.14-42-35.394acb31-76b9-4204-8695-c5f9ee84a87a
<class '_bsddb.DBNotFoundError'> (-30988, 'DB_NOTFOUND: No matching key/data
pair found')
Version
web2py™ Version 2.7.4-stable+timestamp.2013.11.03.22.45.08
Traceback
Traceback (most recent call last):
File "/usr/local/share/web2py/gluon/restricted.py", line 217, in restricted
exec ccode in environment
File "applications/eszkoz/compiled/controllers.bevetel.szamla.py", line 1090,
in <module>
File "/usr/local/share/web2py/gluon/globals.py", line 372, in <lambda>
self._caller = lambda f: f()
File "/usr/local/share/web2py/gluon/tools.py", line 3240, in f
return action(*a, **b)
File "applications/eszkoz/compiled/controllers.bevetel.szamla.py", line 415,
in szamla
File "/usr/local/share/web2py/gluon/tools.py", line 3948, in create
**attributes
File "/usr/local/share/web2py/gluon/tools.py", line 3899, in update
callback(onaccept, form, table._tablename)
File "/usr/local/share/web2py/gluon/tools.py", line 76, in callback
[action(form) for action in actions]
File "/usr/local/share/web2py/gluon/tools.py", line 3240, in f
return action(*a, **b)
File "applications/eszkoz/compiled/controllers.bevetel.szamla.py", line 65,
in send_mail_to_penzugy
File "applications/eszkoz/compiled/controllers.bevetel.szamla.py", line 52,
in flush_cache
File "/usr/local/share/web2py/gluon/cache.py", line 336, in clear
storage.clear()
File "/usr/lib/python2.6/UserDict.py", line 124, in clear
del self[key]
File "/usr/lib/python2.6/shelve.py", line 136, in __delitem__
del self.dict[key]
File "/usr/lib/python2.6/bsddb/__init__.py", line 285, in __delitem__
_DeadlockWrap(wrapF) # del self.db[key]
File "/usr/lib/python2.6/bsddb/dbutils.py", line 68, in DeadlockWrap
return function(*_args, **_kwargs)
File "/usr/lib/python2.6/bsddb/__init__.py", line 284, in wrapF
del self.db[key]
DBNotFoundError: (-30988, 'DB_NOTFOUND: No matching key/data pair found')
In file:
/usr/local/share/web2py/applications/eszkoz/compiled/controllers.bevetel.szamla.pyc
<code object <module> at 0xfbc8b068, file
"applications/eszkoz/compiled/controllers.bevetel.szamla.py", line 1>
I need to manually del the content of the cache dir.
The very some app is running good with 2.6.4.
I use apache frontend with wsgi in both case.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.