[ZODB-Dev] BerkeleyStorage Pack Error
Júlio Dinis Silva
juliodinis@hotmail.com
Thu, 19 Sep 2002 15:26:52 +0100
Hi,
I have a zodb in berkeley storage using:
-python2.1.3
-zope-2.5.1-src
-bsddb3Storage beta 5
-berkeley 3.3.11
-pybsddb 3.3.0
When I press the pack button the server takes a long time untill give this
error:
DBNotFoundError (-30991, 'DB_NOTFOUND: No matching key/data pair found'
I'm using custom_zodb.py to use berkeley with this code:
------
# Uncomment the line corresponding to the storage you want to use
# This syntax requires Python 2.x
#
from bsddb3Storage.Packless import Packless as ConcreteStorage
#from bsddb3Storage.Minimal import Minimal as ConcreteStorage
#from bsddb3Storage.Full import Full as ConcreteStorage
import os
env = os.path.join('var', 'myBerkeleyStorage')
Storage = ConcreteStorage(name='BerkeleyStorage', env=env)
-------
I've posted this some time ago but I didnt care about this because
magically this error didnt happened again, but now its happening everytimeI
press the pack button.
Any help?
Best Regards,
Julio silva
PS. Extra debug Info:
(-30991, 'DB_NOTFOUND: No matching key/data pair found')<br>
Traceback (innermost last):
File /usr/local/zope/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line
98, in publish
File /usr/local/zope/Zope-2.5.1-src/lib/python/ZPublisher/mapply.py, line
88, in mapply
(Object: manage_pack)
File /usr/local/zope/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line
39, in call_object
(Object: manage_pack)
File /usr/local/zope/Zope-2.5.1-src/lib/python/App/ApplicationManager.py,
line 350, in manage_pack
(Object: Control_Panel)
File /usr/local/zope/Zope-2.5.1-src/lib/python/ZODB/DB.py, line 479, in
pack
File /usr/lib/python2.1/site-packages/bsddb3Storage/Packless.py, line 353,
in pack
(Object: BerkeleyStorage)
File /usr/lib/python2.1/site-packages/bsddb3Storage/Packless.py, line 298,
in _takeOutGarbage
(Object: BerkeleyStorage)
DBNotFoundError: (-30991, 'DB_NOTFOUND: No matching key/data pair found')
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx