Done, The ticket is here:
http://code.google.com/p/web2py/issues/detail?id=887&start=100 On Thu, Jul 12, 2012 at 11:23 PM, Massimo Di Pierro < [email protected]> wrote: > Please open a ticket about this. > > > On Thursday, 12 July 2012 01:41:31 UTC-5, Alexei Vinidiktov wrote: >> >> Hello, >> >> I'm receiving this error when trying to log in to my application: >> >> ValueError: "INSERT INTO >> auth_event(origin,user_id,**description,time_stamp,client_**ip) >> >> >> VALUES >> ('auth',2,'\xd0\x9f\xd0\xbe\**xd0\xbb\xd1\x8c\xd0\xb7\xd0\**xbe\xd0\xb2\xd0\xb0\xd1\x82\**xd0\xb5\xd0\xbb\xd1\x8c >> 2 \xd0\xb2\xd0\xbe\xd1\x88\xd1\**x91\xd0\xbb', >> '2012-07-12 06:20:04','95.190.89.149');" has type str, but isn't in 7-bit >> ASCII encoding. Non-ASCII strings must be converted to unicode objects >> before being added. >> >> Can you help me understand what's going on here? >> >> What's the description that is being inserted? >> >> Here's the whole traceback: >> >> >> 1. /user/login?_next=/ui 500 7153ms 0kb Mozilla/5.0 (Windows NT 6.2; >> rv:13.0) Gecko/20100101 Firefox/13.0.1 >> >> 95.190.89.149 - - [11/Jul/2012:23:20:11 -0700] "POST >> /user/login?_next=/ui HTTP/1.1" 500 245 >> "http://www.vocabilis-net.**appspot.com/user/login?_next=/**ui >> <http://www.vocabilis-net.appspot.com/user/login?_next=/ui>" "Mozilla/5.0 >> (Windows NT 6.2; rv:13.0) Gecko/20100101 Firefox/13.0.1" >> "www.vocabilis-net.appspot.com**" ms=7153 cpu_ms=2438 api_cpu_ms=0 >> cpm_usd=0.067897 instance=00c61b117ca46127ca959**9783f07c494292f2e >> <https://appengine.google.com/instances?app_id=s%7Evocabilis-net&version_id=1.360260160184278425&key=00c61b117ca46127ca9599783f07c494292f2e#00c61b117ca46127ca9599783f07c494292f2e> >> >> 2. D 2012-07-11 23:20:04.807 >> >> select application=vocabilis >> >> 3. D 2012-07-11 23:20:04.808 >> >> route: controller=default >> >> 4. D 2012-07-11 23:20:04.808 >> >> route: function.ext=user.html >> >> 5. E 2012-07-11 23:20:11.821 >> >> Traceback (most recent call last): >> File >> "/base/data/home/apps/s~**vocabilis-net/1.**360260160184278425/gluon/**restricted.py", >> line 205, in restricted >> exec ccode in environment >> File >> "/base/data/home/apps/s~**vocabilis-net/1.**360260160184278425/**applications/vocabilis/**controllers/default.py", >> line 131, in <module> >> File >> "/base/data/home/apps/s~**vocabilis-net/1.**360260160184278425/gluon/**globals.py", >> line 173, in <lambda> >> self._caller = lambda f: f() >> File >> "/base/data/home/apps/s~**vocabilis-net/1.**360260160184278425/**applications/vocabilis/**controllers/default.py", >> line 49, in user >> return dict(form=auth()) >> File >> "/base/data/home/apps/s~**vocabilis-net/1.**360260160184278425/gluon/**tools.py", >> line 1161, in __call__ >> return getattr(self,args[0])() >> File >> "/base/data/home/apps/s~**vocabilis-net/1.**360260160184278425/gluon/**tools.py", >> line 1814, in login >> self.log_event(log, user) >> File >> "/base/data/home/apps/s~**vocabilis-net/1.**360260160184278425/gluon/**tools.py", >> line 1461, in log_event >> origin=origin, user_id=user_id) >> File >> "/base/data/home/apps/s~**vocabilis-net/1.**360260160184278425/gluon/dal.**py", >> line 6829, in insert >> return self._db._adapter.insert(self,**self._listify(fields)) >> File >> "/base/data/home/apps/s~**vocabilis-net/1.**360260160184278425/gluon/dal.**py", >> line 928, in insert >> raise e >> ValueError: "INSERT INTO >> auth_event(origin,user_id,**description,time_stamp,client_**ip) VALUES >> ('auth',2,'\xd0\x9f\xd0\xbe\**xd0\xbb\xd1\x8c\xd0\xb7\xd0\**xbe\xd0\xb2\xd0\xb0\xd1\x82\**xd0\xb5\xd0\xbb\xd1\x8c >> 2 \xd0\xb2\xd0\xbe\xd1\x88\xd1\**x91\xd0\xbb','2012-07-12 >> 06:20:04','95.190.89.149');" has type str, but isn't in 7-bit ASCII >> encoding. Non-ASCII strings must be converted to unicode objects before >> being added. >> >> 6. I 2012-07-11 23:20:11.862 >> >> Saved; key: __appstats__:004800, part: 134 bytes, full: 52828 bytes, >> overhead: 0.003 + 0.014; link: >> http://www.vocabilis-net.**appspot.com/_ah/stats/details?**time=1342074004806 >> <http://www.vocabilis-net.appspot.com/_ah/stats/details?time=1342074004806> >> >> >> >> >> -- >> Alexei Vinidiktov >> > -- Alexei Vinidiktov

