The problem is here:

        organization = db
(db.organization.id==session.organization_id).select()
        session.organization = organization

you are storing a Rows object in the session and that should not be
done.
we manage to make it work (partially) without GAE but the retrieved
object is not the same as the original.
it does not work on GAE because marshal.dumps does not exist on GAE.
If you really need to do this try:

        organization = db
(db.organization.id==session.organization_id).select()
        session.organization = organization.as_list()

it will store the Rows as a list of normal dictionaries.


On Jan 5, 4:57 am, johntynan <jgty...@gmail.com> wrote:
> I have a web2py app that runs well under web2py, as well as within the
> GAE development server, however, after updating the app, and then
> testing this on the production server here:
>
> http://opensourcebroadcasting.appspot.com/pledgedrives/
>
> When submitting one specific "session_organization_id_form"
>
> I receive the following:
>
> AttributeError: 'module' object has no attribute 'dumps'
>
> For the full traceback, see:
>
> http://pastie.textmate.org/767257.txt
>
> The code for the form itself can be found here:
>
> http://code.google.com/p/pledgedrivetracker/source/browse/pledgedrive...
>
> Any suggestions on what exactly is failing and how this could be
> resolved is appreciated.
>
> Thanks!

--

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


Reply via email to