Can you please post the complete traceback?

On Thursday, 9 May 2013 01:41:30 UTC-5, Yebach wrote:
>
> The problem occurs when after filling the register form user clicks 
> register button.
>
> this is the basic problem of error
>
> (dp1
> S'output'
> p2
> S"<type 'exceptions.UnicodeDecodeError'> 'ascii' codec can't decode byte 
> 0xc5 in position 2: ordinal not in range(128)"
> p3
> sS'layer'
> p4
> S'/usr/local/web2py/applications/iurnik/controllers/user.py'
> p5
> sS'code'
> p6
> S'def user():\n    form = auth()\n    #auth.settings.controller="user"\n   
>  return dict(form=form)\n\n\nresponse._vars=response._caller(user)\n'
> p7
> sS'snapshot'
> p8
> (dp9
> S'exception'
> p10
> (dp11
> S'__getslice__'
> p12
> S"<method-wrapper '__getslice__' of exceptions.UnicodeDecodeError object>"
>
>
> Thank you
>
>
>
> On Wednesday, May 8, 2013 1:11:26 PM UTC+2, Ricardo Pedroso wrote:
>>
>> On Wed, May 8, 2013 at 7:24 AM, Yebach <[email protected]> wrote: 
>> > Hello 
>> > 
>> > So I am using web2py server on Linux. I also have a postgreSQL server 
>> on 
>> > linux and when a user tries to login via login form and uses letters in 
>> name 
>> > and surname such as š ž č ć  the following error appears 'ascii' codec 
>> can't 
>> > decode byte 0xc5 in position 0: ordinal not in range(128)" 
>> > 
>> > Now the same web2py code is running on windows 7 (on my computer, 
>> including 
>> > postgres database) and I do NOT receive that kind of error. 
>> > 
>>
>> Can you make a minimal application that replicate the issue? 
>> Can you show us the traceback? 
>> When exactly the error happen? In the login POST request, or after it, 
>> in the redirect 
>>
>

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to