| error(22, 'Invalid argument') | Please include this information in your bug reports!: Python Python 2.2.3: /usr/bin/python2.2 Linux homer.rhein-zeitung.de 2.4.31-grsec #6 SMP Thu Jul 6 14:29:07 CEST 2006 i686 MoinMoin Release 1.2 [Revision 1.181] Wed Sep 8 06:43:16 2010 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /var/www/virtualdomains/colix01/lib/python/MoinMoin/request.py in run(self=<MoinMoin.request.RequestFastCGI instance>) |
| 450 else: |
| 451 try: |
| 452 cgitb.Hook(file=self).handle(saved_exc) |
| 453 # was: cgitb.handler() |
| 454 except: |
| cgitb = <module 'MoinMoin.support.cgitb' from '/var/www/...s/colix01/lib/python/MoinMoin/support/cgitb.pyc'>, cgitb.Hook = <class MoinMoin.support.cgitb.Hook>, file undefined, self = <MoinMoin.request.RequestFastCGI instance>, ).handle undefined, saved_exc = (<class bsddb.error>, <bsddb.error instance>, <traceback object>) |
| /var/www/virtualdomains/colix01/lib/python/MoinMoin/action/SpellCheck.py in execute(pagename='WikiName', request=<MoinMoin.request.RequestFastCGI instance>) |
| 205 page = Page(pagename) |
| 206 if request.user.may.read(pagename): |
| 207 badwords, badwords_re, msg = checkSpelling(page, request) |
| 208 else: |
| 209 badwords = [] |
| badwords undefined, badwords_re undefined, msg undefined, global checkSpelling = <function checkSpelling>, page = <MoinMoin.Page.Page instance>, request = <MoinMoin.request.RequestFastCGI instance> |
| /var/www/virtualdomains/colix01/lib/python/MoinMoin/action/SpellCheck.py in checkSpelling(page=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI instance>, own_form=1) |
| 123 |
| 124 # load words |
| 125 wordsdict = _loadDict(request) |
| 126 |
| 127 localwords = {} |
| wordsdict undefined, global _loadDict = <function _loadDict>, request = <MoinMoin.request.RequestFastCGI instance> |
| /var/www/virtualdomains/colix01/lib/python/MoinMoin/action/SpellCheck.py in _loadDict(request=<MoinMoin.request.RequestFastCGI instance>) |
| 74 cachename = os.path.join(config.data_dir, 'dict.cache') |
| 75 if dbhash and os.path.exists(cachename): |
| 76 wordsdict = dbhash.open(cachename, "r") |
| 77 else: |
| 78 request.clock.start('dict.cache') |
| wordsdict undefined, dbhash = <module 'dbhash' from '/usr/lib/python2.2/dbhash.pyc'>, dbhash.open = <function open>, cachename = '/var/www/virtualdomains/colix01/wiki/data/dict.cache' |
| /usr/lib/python2.2/dbhash.py in open(file='/var/www/virtualdomains/colix01/wiki/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/bsddb.so'>, bsddb.hashopen = <built-in function hashopen>, file = '/var/www/virtualdomains/colix01/wiki/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')