UnicodeDecodeError issue

Chris Angelico rosuav at gmail.com
Sun Sep 1 03:28:20 EDT 2013


On Sun, Sep 1, 2013 at 5:23 PM, Ferrous Cranus <nikos at superhost.gr> wrote:
> Let alone that i when i try to set the 'host' variable i get this line at my
> '/tmp/err.out'
>
>
> nikos at superhost.gr [~]# cat /tmp/err.out
>
> UnicodeDecodeError('utf-8', b'\xb6\xe3\xed\xf9\xf3\xf4\xef
> \xfc\xed\xef\xec\xe1 \xf3\xf5\xf3\xf4\xde\xec\xe1\xf4\xef\xf2', 0, 1,
> 'invalid start byte')

So host isn't being set because of this error, which you're blithely
carrying on after and assuming that things have happened. Solve this
problem, only then move on. Otherwise you WILL confuse yourself
further.

ChrisA



More information about the Python-list mailing list