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

'NameError':'name 'iconName' is not defined' #28

Open offsaid opened 5 years ago

offsaid commented 5 years ago

Witam,

nie moge sobie poradzić z tym problem po ponownej instalacji, wczesniej wszystko bylo ok. nie mam zadnych ikon w w custom icons.

(Yamaha) 'onStart' failed 'NameError':'name 'iconName' is not defined'. 2018-09-15 00:41:24.581 Error: (Yamaha) ----> Line 403 in /home/pi/domoticz/plugins/yamaha-av-receiver1/plugin.py, function onStart 2018-09-15 00:41:24.581 Error: (Yamaha) ----> Line 309 in /home/pi/domoticz/plugins/yamaha-av-receiver1/plugin.py, function onStart 2018-09-15 00:41:34.099 Error: (Yamaha) 'onHeartbeat' failed 'AttributeError':''BasePlugin' object has no attribute 'zones''. 2018-09-15 00:41:34.100 Error: (Yamaha) ----> Line 431 in /home/pi/domoticz/plugins/yamaha-av-receiver1/plugin.py, function onHeartbeat 2018-09-15 00:41:34.100 Error: (Yamaha) ----> Line 385 in /home/pi/domoticz/plugins/yamaha-av-receiver1/plugin.py, function onHeartbeat

prosze o pomoc

z1mEk commented 5 years ago

Zrobiłem poprawki ale Thomas musi je zmergowac do swojego repo. Możesz pobrać też plugin.py z mojego repo.

stas-demydiuk commented 5 years ago

Had the same problem after Domoticz update: manually delete existed "Yamaha" icon and restart plugin

z1mEk commented 5 years ago

I have same problem with other plugins with custom icons, maybe problem is globally in Domoticz?

pipiche38 commented 4 years ago

PR #37