>
DBOldVersionError | Python 2.3.2 /home/bin/python |
A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call last.
166 try:
167 from MoinMoin.support import cgitb
cgitb = <module 'MoinMoin.support.cgitb' from '/home/hosting_users/sjy8282/www/MoinMoin/support/cgitb.pyc'>, handler = <function execute>
169 except:
170 cgi.print_exception()
94 cachename = os.path.join(config.data_dir, 'dict.cache')
95 if dbhash and os.path.exists(cachename):
96 wordsdict = dbhash.open(cachename, "r")
|
wordsdict = undefined, dbhash = <module 'dbhash' from '/usr/local/lib/python2.3/dbhash.pyc'>, global open = undefined, cachename = 'data/dict.cache'
97 else:
98 util.clock.start('dict.cache')
12
13 error = bsddb.error # Exported for anydbm
14
15 def open(file, flag = 'r', mode=0666):
16 return bsddb.hashopen(file, flag, mode)
|
global bsddb = <module 'bsddb' from '/usr/local/lib/python2.3/bsddb/__init__.pyc'>, global hashopen = undefined, file = 'data/dict.cache', flag = 'r', mode = 438
190 if ffactor is not None: d.set_h_ffactor(ffactor)
191 if nelem is not None: d.set_h_nelem(nelem)
192 d.open(file, db.DB_HASH, flags, mode)
|
d = <DB object>, global open = undefined, file = 'data/dict.cache', global db = <module '_bsddb' from '/usr/local/lib/python2.3/lib-dynload/_bsddb.so'>, global DB_HASH = undefined, flags = 80, mode = 438
193 return _DBWithCursor(d)
194
DBOldVersionError: (-30990, 'DB_OLDVERSION: Database requires a version upgrade -- data/dict.cache: hash version 5 requires a version upgrade')
__doc__ = None
__getitem__ = <bound method DBOldVersionError.__getitem__ of <bsddb._db.DBOldVersionError instance at 0x4039f42c>>
__init__ = <bound method DBOldVersionError.__init__ of <bsddb._db.DBOldVersionError instance at 0x4039f42c>>
__module__ = 'bsddb._db'
__str__ = <bound method DBOldVersionError.__str__ of <bsddb._db.DBOldVersionError instance at 0x4039f42c>>
args = (-30990, 'DB_OLDVERSION: Database requires a version upgr...cache: hash version 5 requires a version upgrade')