I do not think this has to d o with virtual hosts. It appears you are storing unpickleable options in session.
On Tuesday, 17 June 2014 02:51:44 UTC-5, kita...@gmail.com wrote: > > Hi, > I have a strange error with my sessions. I am running Apache 2.2.12, > mod_wsgi 4.1.2, Python 2.7.6. I keep intermittently getting the error > shown above (it would seem this happens mostly when the user logon > expires), when there is no such function (_compile) in my session object. > If I clear the session files and reload the application, all's well. Yet > the session contains the exact same data as triggers the error above. > > This only happens on the production host. The key difference between that > and the development host is that for the production host we have a > VirtualHost *:80 setup, and multiple domains are served with that (the > web2py application then uses the host to decide what to send out). It looks > almost like some sort of memory corruption... I have edited globals.py to > print out the session object just before cPickle() is called, and nothing > seems amiss at all. > > Any ideas what could be causing this? > > Thanks > > Paul. > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.