ultrabug / py3status

py3status is an extensible i3status wrapper written in python
https://ultrabug.github.io/py3status/
BSD 3-Clause "New" or "Revised" License
892 stars 261 forks source link

Module netdata doesn't work with python 3.3 #31

Closed zetok closed 10 years ago

zetok commented 10 years ago

Doesn't work with python 3.3. Works with python 2.7. I haven't checked other versions.

When trying to run with python 3.3:

/py3status[4055]: user method netSpeed failed ('eth0:' is not in list)
/py3status[4055]: user method traffic failed ('eth0:' is not in list)

Version 1.4 of py3status.

ultrabug commented 10 years ago

Hi @zetok

Indeed python3 gets bytes from the command output and this should be decoded. The referenced commit should fix this issue, please confirm it's okay.

Thanks

zetok commented 10 years ago

Seems to work with https://github.com/ultrabug/py3status/commit/26f0294c88adfa4f42baecea97b4ffc40c393ec4