error(22, 'Invalid argument') | Please include this information in your bug reports!: Python Python 2.2.2: /usr/bin/python Linux www8.technorati.com 2.4.20-31.9bigmem #1 SMP Tue Apr 13 17:11:51 EDT 2004 i686 MoinMoin Release 1.2.2 [Revision 1.185] Thu May 4 17:56:02 2006 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/lib/python2.2/site-packages/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance>) |
454 else: |
455 try: |
456 cgitb.Hook(file=self).handle(saved_exc) |
457 # was: cgitb.handler() |
458 except: |
cgitb = <module 'MoinMoin.support.cgitb' from '/usr/lib/python2.2/site-packages/MoinMoin/support/cgitb.pyc'>, cgitb.Hook = <class MoinMoin.support.cgitb.Hook>, file undefined, self = <MoinMoin.request.RequestCGI instance>, ).handle undefined, saved_exc = (<class bsddb.error>, <bsddb.error instance>, <traceback object>) |
/usr/lib/python2.2/site-packages/MoinMoin/action/SpellCheck.py in execute(pagename='HelpOnFormatting', request=<MoinMoin.request.RequestCGI instance>) |
208 page = Page(pagename) |
209 if request.user.may.read(pagename): |
210 badwords, badwords_re, msg = checkSpelling(page, request) |
211 else: |
212 badwords = [] |
badwords undefined, badwords_re undefined, msg undefined, global checkSpelling = <function checkSpelling>, page = <MoinMoin.Page.Page instance>, request = <MoinMoin.request.RequestCGI instance> |
/usr/lib/python2.2/site-packages/MoinMoin/action/SpellCheck.py in checkSpelling(page=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, own_form=1) |
125 |
126 # load words |
127 wordsdict = _loadDict(request) |
128 |
129 localwords = {} |
wordsdict undefined, global _loadDict = <function _loadDict>, request = <MoinMoin.request.RequestCGI instance> |
/usr/lib/python2.2/site-packages/MoinMoin/action/SpellCheck.py in _loadDict(request=<MoinMoin.request.RequestCGI instance>) |
76 cachename = os.path.join(config.data_dir, 'dict.cache') |
77 if dbhash and os.path.exists(cachename): |
78 wordsdict = dbhash.open(cachename, "r") |
79 else: |
80 request.clock.start('dict.cache') |
wordsdict undefined, dbhash = <module 'dbhash' from '/usr/lib/python2.2/dbhash.pyc'>, dbhash.open = <function open>, cachename = 'data/dict.cache' |
/usr/lib/python2.2/dbhash.py in open(file='data/dict.cache', flag='r', mode=438) |
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/lib/python2.2/lib-dynload/bsddbmodule.so'>, bsddb.hashopen = <built-in function hashopen>, file = 'data/dict.cache', flag = 'r', mode = 438 |
error: (22, 'Invalid argument')
__doc__ =
None
__getitem__ =
<bound method error.__getitem__ of <bsddb.error instance>>
__init__ =
<bound method error.__init__ of <bsddb.error instance>>
__module__ =
'bsddb'
__str__ =
<bound method error.__str__ of <bsddb.error instance>>
args =
(22, 'Invalid argument')