thomas-villagers / domoticz-yamaha

Python plugin for Domoticz to control Yamaha AV Receivers (Aventage Series) via TCP/IP
GNU General Public License v3.0
17 stars 11 forks source link

Error after pull latest version from github #16

Closed z1mEk closed 6 years ago

z1mEk commented 6 years ago

2018-04-23 11:26:11.698 (Yamaha) Initialized version 2.0.0, author 'thomasvillagers' 2018-04-23 11:26:12.714 (Yamaha) Debug log level set to: 'true'. 2018-04-23 11:26:12.714 (Yamaha) onStart called 2018-04-23 11:26:12.714 (Yamaha) Creating images from file '/home/pi/domoticz/plugins/domoticz-yamaha/icons.zip'. 2018-04-23 11:26:12.756 Error: (Yamaha) 'onStart' failed 'KeyError'. 2018-04-23 11:26:12.756 Error: (Yamaha) ----> Line 368 in /home/pi/domoticz/plugins/domoticz-yamaha/plugin.py, function onStart 2018-04-23 11:26:12.757 Error: (Yamaha) ----> Line 277 in /home/pi/domoticz/plugins/domoticz-yamaha/plugin.py, function onStart 2018-04-23 11:26:22.073 (Yamaha) Calling message handler 'onHeartbeat'. 2018-04-23 11:26:22.074 (Yamaha) onHeartbeat called. Connected: True 2018-04-23 11:26:22.074 Error: (Yamaha) 'onHeartbeat' failed 'AttributeError':''BasePlugin' object has no attribute 'zones''. 2018-04-23 11:26:22.074 Error: (Yamaha) ----> Line 396 in /home/pi/domoticz/plugins/domoticz-yamaha/plugin.py, function onHeartbeat 2018-04-23 11:26:22.074 Error: (Yamaha) ----> Line 350 in /home/pi/domoticz/plugins/domoticz-yamaha/plugin.py, function onHeartbeat

z1mEk commented 6 years ago

It looks like he cant find the custum icon in the zip file?

z1mEk commented 6 years ago

Yes, it's a problem with icons.

z1mEk commented 6 years ago

The reason was the change of name of the plugin directory - didn't see the name for iconID. This can be secured by removing the icon before creating it. It is not important because it's my fault.