This is because you are storing in a session something that is not pickable like a row or set of rows.
On Oct 30, 2:25 am, Fran <[email protected]> wrote: > On Oct 29, 11:15 pm, mdipierro <[email protected]> wrote: > > > Fixed in trunk. I had to study to fix this one. > > This is a major problem and calls for a new release asap. If it fixes > > it for you I will release. > > I was also bitten by the "ProgrammingError: Cannot operate on a closed > database." issue. > > With latest trunk I get this error message instead (XP/Python 2.5.4): > > Traceback (most recent call last): > File "C:\Bin\web2py\gluon\main.py", line 483, in wsgibase > session._try_store_on_disk(request, response) > File "C:\Bin\web2py\gluon\globals.py", line 369, in > _try_store_on_disk > cPickle.dump(dict(self), response.session_file) > File "c:\bin\python25\lib\copy_reg.py", line 69, in _reduce_ex > raise TypeError, "can't pickle %s objects" % base.__name__ > TypeError: can't pickle function objects > > F --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

