dnpwwo / Domoticz-Google-Plugin

MIT License
40 stars 10 forks source link

Just installed the latest beta of Domoticz and this plugin. #1

Closed Tsjippy closed 5 years ago

Tsjippy commented 5 years ago

I get this error:

2019-01-21 12:58:24.159 Error: (GD) syncDevices: division by zero 2019-01-21 12:58:24.160 Error: (GD) <class 'ZeroDivisionError'>, plugin.py, Line: 200 2019-01-21 12:58:24.446 Error: (GD) syncDevices: division by zero 2019-01-21 12:58:24.447 Error: (GD) <class 'ZeroDivisionError'>, plugin.py, Line: 200

SargonofAssyria commented 5 years ago

After install in V4.10538 I get this error: 2019-03-12 11:51:10.109 Error: (Chromecast) syncDevices: dictionary changed size during iteration 2019-03-12 11:51:10.109 Error: (Chromecast) <class 'RuntimeError'>, plugin.py, Line: 180 2019-03-12 11:51:10.170 Error: (Chromecast) syncDevices: dictionary changed size during iteration 2019-03-12 11:51:10.170 Error: (Chromecast) <class 'RuntimeError'>, plugin.py, Line: 180

dnpwwo commented 5 years ago

Was this a one off or do you see it often?

SargonofAssyria commented 5 years ago

All of my Chromecast and Google Home are 24/7 ON. This error is seen at every (re)start of the plugin.

dnpwwo commented 5 years ago

This error will be suppressed in version 1.9.9 onwards.

I'm guessing you have 'Accept New Hardware' turned off and the plugin is trying to create some new devices everytime you restart.