[mod_python] Session Pickling Error II - 3.2.2b

Terence MacDonald terry.macdonald at dsl.pipex.com
Tue Oct 4 03:25:38 EDT 2005


On Mon, 2005-10-03 at 21:53 -0700, GATOR AIDE wrote:
> After updating mod_python 3.1.4 to 3.2.2b I am getting
> an error:
> 
> PythonHandler mod_python.publisher: TypeError: can't
> pickle function objects
> 
> I am storing a function in the session and calling
> session.save(). (Which is when the error is raised.)
> 
> Using mod_python 3.1.4 the code works just fine but
> after the update I am now seeing this error.
> 
> The code simply stores a dictionary and few function
> callbacks in the session and loops through several
> functions until it is done processing. 
> 
> Not sure if anyone else has had this problem? I
> running centos 2.4.21-27.0.4.ELsmp on a x86_64
> platform. Python 2.4.2 (same error w/2.4.1). Apache
> 2.0.46.
> 
> I wasn't sure if this is the right place to post this,
> so I apologize if I should have posted the question
> elsewhere.
> 
For the first time in ages I send in a problem of mine to the list; one
which is really slowing me down, and it gets hijacked almost
immediately! bally typical!

Are the hijacked questions responses applicable to my problem or did I
say something out of order? :3)

Cheers



More information about the Mod_python mailing list