Description

At random (at least it seems), when I try to load a page from my wiki, an exception is caught by mod_python and a traceback is shown.

Steps to reproduce

Either it happens at random or I couldn't figure out a reliable way to reproduce it. It doesn't happen that much, but I just:

  1. Go to any page on my wiki;
  2. Try to edit it;
  3. Hit 'Cancel'.
  4. Repeat from second step until the error pops up.

Example

I've managed to open a non-sensitive area of my wiki: https://boreste.dyndns.org/OndeComer . Just to let you know, the SSL security certificate is invalid, don't worry. The server isn't up 24/7 - it is mostly on brazilian work hours - 12h GMT to 23h GMT.

Details

The traceback is not caught by MoinMoin. I get this error message (I guess generated by mod_python): traceback.txt

According to SystemInfo:

MoinMoin Version

Release 1.5.1 [Revision release] + patch-404

OS and Version

Red Hat 3.4.2-6.fc3

Python Version

2.3.4 (#1, Feb 2 2005, 12:11:53) [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)]

Server Setup

mod_python 3.1.3-5.2, single wiki, accessed on intranet

Server Details

Apache/2.0.53 (Fedora)

Workaround

Just keep reloading the page. Alternatively, if the page was a submit (i.e. contains POSTDATA), go back and forth. The problem may repeat itself a little bit but vanishes after a few (1 to 3) retries.

Discussion

Please also add the exact mod_python version you use.

Does it also happen in a std cgi setup (without mod_python)?

If you have time, could you try using fastcgi as a mod_python alternative?

This looks like our race condition again. Of course the author of the failing code won't admit it. Cf. MoinMoinBugs/DeepCopyError -- AlexanderSchremmer 2006-01-26 21:17:31

It reads BugFixed, but where's the patch? By the way, could anyone reproduce it (or is it just me)? -- CarlosVieira 2006-01-27 10:34:12

I have this same problem, only since switching to mod_python 2 weeks ago, and it looks like I be switching back to cgi based on your information. -- JonElsonGreen 2006-03-29 22:06:00

I have a similar problem after upgrading from 1.3.5 to 1.5.3 - the traceback shows same PickleError problem as reported here. Hard to reproduce - it happens either at random or sometimes on every request, thus blocking ability to use the wiki. Restart may work as a temporary solution. See the traceback: traceback_captsolo.txt

Fix!?

I had exactly this problem and I solved changing PythonHandler moinmodpy to PythonHandler MoinMoin.request::RequestModPy.run in apache configuration. I don't know why it is working, but I'm sure that this corrected the problem for me.

rodrigo dot rd atat gmail dot com 2006-05-29 14:40:48

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/WikiDictsRaisePicklingError (last edited 2008-02-07 18:53:47 by AlexanderSchremmer)