I now have some additional information.

This error only occurs when using Firefox (I have version 13.0.1 on
Windows) with Russian set as the preferred language in Firefox settings
(I've also tested with English as preferred language and did't get this
error).

It doesn't occur when using any other browsers that I've tested (Chrome,
Internet Explorer, Opera).

On Thu, Jul 12, 2012 at 1:57 PM, Alexei Vinidiktov <
[email protected]> wrote:

> Sorry, forgot to mention that I'm using Python 2.7 and web2py 1.99.7 on
> GAE .
>
>
> On Thu, Jul 12, 2012 at 1:41 PM, Alexei Vinidiktov <
> [email protected]> 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?
>>
>>
[...]


-- 
Alexei Vinidiktov

Reply via email to