Can you go back and explain and provide the actual details of the error message 
you are getting. If I can see the actual error messages then it might be more 
obvious.

Graham

On 03/03/2015, at 8:49 PM, Stefan Rink <[email protected]> wrote:

> Hello Graham,
> 
> thank you very much for your answer.
> 
> Only standard Python types are pickled: dicts, bytestrings. It works only 
> when using a single thread in the WSGIDaemonProcess directive! Is that 
> helping?
> 
> Thank you
> 
> 
> Am Dienstag, 3. März 2015 09:58:11 UTC+1 schrieb Graham Dumpleton:
> 
> On 03/03/2015, at 7:10 PM, Stefan Rink <[email protected]> wrote: 
> 
> > Hello Graham, 
> > 
> > under mod_wsgi I get pickle errors when pickling over a socket to another 
> > process (no Apache child). Can this be caused by mod_wsgi? 
> > mod_wsgi is in Daemon Mode. 
> 
> The only restriction I really know of which is specific to mod_wsgi is that 
> you cannot pickle types which are defined in the WSGI script file itself. You 
> should ensure that any types are defined in separately importable modules on 
> the Python module search path. Those same modules with the types in them 
> should also be importable in the application the data is being sent to so 
> they are available when unpicking the data. 
> 
> For more information about the destruction I talk about see: 
> 
> http://code.google.com/p/modwsgi/wiki/IssuesWithPickleModule 
> 
> Graham 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/modwsgi.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to