[web2py] Re: Problem storing Storage objects in sessions

2011-05-25 Thread Ross Peoples
I do have a script that runs every day, but I don't think that is the problem because it doesn't touch sessions. In the application itself, one of the things I store in is a list of URL objects in the session. Every time a user logs in, the menu is generated based on that user's permissions an

Re: [web2py] Re: Problem storing Storage objects in sessions

2011-05-25 Thread Martín Mulone
> > Do we know that the new importer does not conflict with the custom > mod_wsgi import mechanism described in the article? Has anybody tried > trunk with mod_wsgi? Me and seems to work fine at least in my app. 2011/5/24 Massimo Di Pierro > This does apply to web2py. In fact I believe the boo

Re: [web2py] Re: Problem storing Storage objects in sessions

2011-05-24 Thread Jonathan Lundell
On May 24, 2011, at 5:58 PM, Anthony wrote: > Yes, in http://web2py.com/book/default/chapter/09#Custom-Formats, the book > says: > > "Not all objects are pickleable, and not all pickled objects can be > un-pickled. It is safe to stick to primitive Python objects and combinations > of them. Obj

[web2py] Re: Problem storing Storage objects in sessions

2011-05-24 Thread Anthony
Yes, in http://web2py.com/book/default/chapter/09#Custom-Formats, the book says: "Not all objects are pickleable, and not all pickled objects can be un- pickled. It is safe to stick to primitive Python objects and combinations of them. Objects that do not contain references to file streams or

[web2py] Re: Problem storing Storage objects in sessions

2011-05-24 Thread Massimo Di Pierro
This does apply to web2py. In fact I believe the book says something like this quote from the article "In order to ensure that no strange problems at all are likely to occur, it is suggested that only basic builtin Python types, ie., scalars, tuples, lists and dictionaries, be stored using the "pi

[web2py] Re: Problem storing Storage objects in sessions

2011-05-24 Thread pbreit
Also, check your sessions folder to see if it's getting filled up.

[web2py] Re: Problem storing Storage objects in sessions

2011-05-24 Thread pbreit
Do you have any logs running, background processes, cron jobs? Are you doing any caching to disk?