miracle2k / onkyo-eiscp

Control Onkyo A/V receivers over the network; usuable as a script, or as a Python library.
MIT License
467 stars 110 forks source link

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 8: invalid start byte #92

Open megapearl opened 6 years ago

megapearl commented 6 years ago

Hi,

Can anyone help me out with this one?

root@ubuntu-server:/usr/share/homeassistant/config/shellcommands# onkyo --host 10.0.0.5 --port 60128 zone2.power=on zone2.selector=internet-radio zone2.internet-radio-preset=4

TX-NR818: power = on

Traceback (most recent call last): File "/usr/local/bin/onkyo", line 11, in <module> load_entry_point('onkyo-eiscp==1.2.5', 'console_scripts', 'onkyo')() File "/usr/local/lib/python3.5/dist-packages/onkyo_eiscp-1.2.5-py3.5.egg/eiscp/script.py", line 179, in run File "/usr/local/lib/python3.5/dist-packages/onkyo_eiscp-1.2.5-py3.5.egg/eiscp/script.py", line 136, in main File "/usr/local/lib/python3.5/dist-packages/onkyo_eiscp-1.2.5-py3.5.egg/eiscp/core.py", line 470, in raw File "/usr/local/lib/python3.5/dist-packages/onkyo_eiscp-1.2.5-py3.5.egg/eiscp/core.py", line 260, in filter_for_message File "/usr/local/lib/python3.5/dist-packages/onkyo_eiscp-1.2.5-py3.5.egg/eiscp/core.py", line 447, in get UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 8: invalid start byte

root@ubuntu-server:/usr/share/homeassistant/config/shellcommands# echo $LC_ALL en_US.UTF-8 root@ubuntu-server:/usr/share/homeassistant/config/shellcommands# echo $LANG en_US.UTF-8

Thanks in advance, Regards, Donald.