Hi all, I've been working day and night to convert an asp.net app to
python using web.py.  Things have been going great, but as the
application grows, I'm starting to see this error a lot:

  File "/Library/Python/2.7/site-packages/web.py-0.36-py2.7.egg/web/
session.py", line 206, in decode
    return pickle.loads(pickled)
BadPickleGet: 321660

It seems *something* is getting corrupted in the session?  Once this
starts happening, the app is completely down until I manually delete
the files from the sessions directory.

I am keeping several large objects in the session, including one huge
xml configuration file.  I need the session because reading it from
the disk for each request takes too long.

Here's my session setup line from my main class:
session = web.session.Session(app, web.session.DiskStore('sessions'))

I should also note that killing and restarting my process doesn't help
- once the session *file* is munged, nothing works until I delete it.

Anyone ever seen this behavior?
Thanks!
S

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to