I don't get it. Why exactly are you passing around json? Your usage doesn't warrant it, and it looks like it is causing you problems. Why not send it like regular x-www-form-urlencoded?
On Friday, July 25, 2014 1:17:11 AM UTC-7, Yebach wrote: > > Found the problem > > The error was the second call for json object when I got an error in > console, so I went to check the error folder in app. Looks like I have a > date parse problems. > > > 2014-07-25 10:08 GMT+02:00 Manuele Pesenti <manuele...@gmail.com > <javascript:>>: > >> Il 25/07/14 09:22, Yebach ha scritto: >> >> <type 'exceptions.TypeError'> expected string or buffer >> in line data_dict = json.loads(data) >> >> WHY?????? why does insert or smth crashes it on line before it is >> executed??? >> >> can you paste a print of your data variable value just before the code >> crashes? >> >> M. >> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "web2py-users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/web2py/b7-CaacVqMI/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> web2py+un...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Lep pozdrav > > Vid Ogris > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.