[Moin-user] Re: moin 1.5, python 2.3 "can't pickle function .." error
andy
andreashappe at blackwhale.net
Wed Apr 26 01:51:00 EDT 2006
On Wednesday 26 April 2006 07:08, solo turn wrote:
> hi,
>
> anybody of you knows the following error message we get after
> upgrading to moinmoin 1.5.3?
reloading the page works, I'm still looking for the root cause of this error.
> Traceback (most recent call last):
> File "/opt/moin/MoinMoin/request.py", line 1088, in run
> handler(self.page.page_name, self)
> File "/opt/moin/MoinMoin/wikiaction.py", line 518, in do_edit
> if not request.user.may.write(pagename):
> File "/opt/moin/MoinMoin/security.py", line 52, in <lambda>
> return lambda pagename, Page=Page, request=request, attr=attr:
> Page(request, pagename).getACL(request).may(request, self.name, attr)
> File "/opt/moin/MoinMoin/wikiacl.py", line 184, in may
> is_group_member = request.dicts.has_member
> File "/opt/moin/MoinMoin/request.py", line 227, in getDicts
> dicts.scandicts()
> File "/opt/moin/MoinMoin/wikidicts.py", line 403, in scandicts
> cache.update(pickle.dumps(data, PICKLE_PROTOCOL))
> PicklingError: Can't pickle <function _compile at 0x8973454>: it's not
> the same object as sre._compile
>
> Additionally cgitb raised this exception:
> Traceback (most recent call last):
> File "/opt/moin/MoinMoin/failure.py", line 143, in handle
> handler.handle()
> File "/opt/moin/MoinMoin/support/cgitb.py", line 566, in handle
> doc = view.format(formatter, self.context)
> File "/opt/moin/MoinMoin/support/cgitb.py", line 343, in format
> return formatter.section(self.formatContent(), {'class': 'cgitb'})
> File "/opt/moin/MoinMoin/failure.py", line 32, in formatContent
> content = (
> File "/opt/moin/MoinMoin/failure.py", line 82, in formatDebugInfo
> info = [self.debugInfoHideScript(),
> File "/opt/moin/MoinMoin/failure.py", line 96, in formatTraceback
> return self.formatAllTracebacks(self.formatOneTraceback)
> File "/opt/moin/MoinMoin/failure.py", line 108, in formatAllTracebacks
> tracebacks.append(formatFuction((type, value, tb)))
> File "/opt/moin/MoinMoin/support/cgitb.py", line 421, in
> formatOneTraceback output = [self.formatter.subTitle('Traceback'),
> File "/opt/moin/MoinMoin/support/cgitb.py", line 434, in tracebackFrames
> frames.append(frame.format(self.formatter))
> File "/opt/moin/MoinMoin/support/cgitb.py", line 197, in format
> vars, highlight = self.scan()
> File "/opt/moin/MoinMoin/support/cgitb.py", line 286, in scan
> vars = self.scanVariables(reader)
> File "/opt/moin/MoinMoin/support/cgitb.py", line 298, in scanVariables
> value = getattr(parent, token, __UNDEF__)
> File "/opt/moin/MoinMoin/request.py", line 227, in getDicts
> dicts.scandicts()
> File "/opt/moin/MoinMoin/wikidicts.py", line 403, in scandicts
> cache.update(pickle.dumps(data, PICKLE_PROTOCOL))
> PicklingError: Can't pickle <function _compile at 0x8973454>: it's not
> the same object as sre._compile
More information about the Moin-user
mailing list