Seite 1 von 1

[UnicodeDecodeError] 'ascii' codec can't decode byte 0xe3 in

Verfasst: 09 Jul 2013, 11:29
von frontier
Hello,

I'm running Ubuntu 12.04.2 on OpenVZ and I'm getting the following error when I try to install any products through "Product configuration", using 'Fire "on_demand" event':
ws1.sl1tx.net: [UnicodeDecodeError] 'ascii' codec can't decode byte 0xe3 in position 308: ordinal not in range(128)

Information from the log files:
[5] [Jul 09 11:51:26] -----> Executing: hostControl_fireEvent(u'on_demand', [u'ws1.sl1tx.net']) (JsonRpc.py|123)
[3] [Jul 09 11:51:26] Rpc to host ws1.sl1tx.net failed, error: {u'message': u"'ascii' codec can't decode byte 0xe3 in position 308: ordinal not in range(128)", u'class': u'UnicodeDecodeError'} (HostControl.py|216)


P.S. I've read about this error and it was written on some forums, that it's a localization related issue. I've made changes to the system localization (LANGUAGE=en_US / LC_MESSAGES=en_US.UTF-8), but nothing has changed with the problem I have.

Thanks in advance!

Re: [UnicodeDecodeError] 'ascii' codec can't decode byte 0xe

Verfasst: 15 Jul 2013, 21:56
von d.oertel
Hi,

yes - this is a encoding error. The bad news is, that it could be that we have an error with any other reason and from depth of any used python library we get a non UTF-8 Error Message that will raise this encoding error.

The only way to find errors like this is to increase the loglevel (in this case of the opsiconfd and perhaps at the opsiclientd).

regards
d.oertel