Hallo Marcus,
ich weiß nicht ob es sich hierbei um einen bug handelt, aber das smartTV Plugin bringt bei mir folgenden Fehler
Danke & Gruß
Marco
ich weiß nicht ob es sich hierbei um einen bug handelt, aber das smartTV Plugin bringt bei mir folgenden Fehler
Code:
2013-11-15 18:25:21,617 DEBUG Main Item tv.PRO7 = True via Visu 192.168.1.103:51488 None -- item.py:__update:363 2013-11-15 18:25:21,628 DEBUG Main Connected to 192.168.1.154:55000 -- __init__.py:push:44 2013-11-15 18:25:21,635 DEBUG Main src = 192.168.1.106, mac = B8-27-EB-3C-3E-C6, remote = sh.py remote, dst = 192.168.1.154, app = python, tv = UE32ES6300 -- __init__.py:push:58 2013-11-15 18:25:21,641 ERROR Main Item tv.PRO7: problem running <bound method SmartTV.update_item of <plugins.smarttv.SmartTV object at 0x1ece250>>: expected bytes, not str -- item.py:__update:371 Traceback (most recent call last): File "/usr/smarthome/lib/item.py", line 369, in __update method(self, caller, source, dest) File "/usr/smarthome/plugins/smarttv/__init__.py", line 108, in update_item self.push(key) File "/usr/smarthome/plugins/smarttv/__init__.py", line 64, in push chr(0x00) + base64.b64encode(remote) File "/usr/lib/python3.2/base64.py", line 56, in b64encode raise TypeError("expected bytes, not %s" % s.__class__.__name__) TypeError: expected bytes, not str
Marco
Kommentar