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

Antworten
frontier
Beiträge: 1
Registriert: 09 Jul 2013, 11:10

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

Beitrag 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!
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

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

Beitrag 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


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Antworten