Also notice that f you do
try:
db.table.insert(....)
except:
return "ivalid_token2"
and indeed the try fails in the insert than you must db.rollback() in the
except, else the database remains in an invalid state.
On Monday, January 14, 2013 5:09:59 PM UTC-6, Alan Etkin wrote:
>
> except:
> return "ivalid_token2"
>
> In order to be able to debug the error, I'd suggest to temporarily remove
> the try/except that encloses the new user insertion code, so you can access
> the error ticket created by web2py (with the actual error information
> raised by the graph library).
>
>
--