You are storing in session something that cannot be stored like a function, a complex object or a reference to an open database.
On Feb 16, 10:57 am, reyelts <[email protected]> wrote: > First, I'm trying to create a data base entry using SQLFORM+insert(), > and am getting this error: > > S'Traceback (most recent call last):\n File "gluon/main.py", line > 504, in wsgibase\n File "gluon/globals.py", line 375, in > _try_store_on_disk\n File "gluon/sql.py", line 705, in Row_pickler > \nValueError: unmarshallable object\n' > > I suspect it is complaining that the value of one of the fields/ > columns. Is there any way to figure out *which* field/column it > doesn't like? > > Second, I'm seeing some odd behavior once I hit this error. The > session is automatically logged out (auth.is_logged_in() becomes > False). When I log back in, another unmarshallable object error as > above is immediately generated... even though I'm not going to the > page/form where the original error occurred. Further, the recovery > process seems quite extreme: stop the server, delete everything in the > databases directory, and restart the server. Is this normal/expected > behavior? -- 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.

