I have just upgraded to v4.11775 and am now getting the following error every minute:
Error: EventSystem: in /home/pi/domoticz/dzVents/runtime/dzVents.lua: /home/pi/domoticz/dzVents/runtime/EventHelpers.lua:462: bad argument #1 to 'for iterator' (table expected, got string)
I have disabled all of my event scripts but the error persists.
Any help would be appreciated.
dzVents error after upgrading to v4.11775 [Solved]
Moderator: leecollings
-
- Posts: 10
- Joined: Thursday 12 December 2019 11:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: UK
- Contact:
dzVents error after upgrading to v4.11775 [Solved]
Last edited by johnrwoods on Thursday 05 March 2020 18:29, edited 1 time in total.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: dzVents error after upgrading to v4.11775
You will only get this error if you have a syntax fault in one of your scripts likejohnrwoods wrote: ↑Thursday 05 March 2020 7:24 Error: EventSystem: in /home/pi/domoticz/dzVents/runtime/dzVents.lua: /home/pi/domoticz/dzVents/runtime/EventHelpers.lua:462: bad argument #1 to 'for iterator' (table expected, got string)
I have disabled all of my event scripts but the error persists.
Code: Select all
timer = 'every minute', -- this generates the error in line 462
timer = { 'every minute' }, -- correct syntax
Code: Select all
/home/pi/domoticz/scripts/dzVents/scripts
Code: Select all
/home/pi/domoticz/scripts/dzVents/generated_scripts/
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 10
- Joined: Thursday 12 December 2019 11:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: UK
- Contact:
Re: dzVents error after upgrading to v4.11775
That was it. I had:
timer = ( 'at 04:00 on sun' )
I have replaced the () with curly brackets {}.
Thank you very much.
timer = ( 'at 04:00 on sun' )
I have replaced the () with curly brackets {}.
Thank you very much.
-
- Posts: 10
- Joined: Thursday 12 December 2019 11:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: UK
- Contact:
Who is online
Users browsing this forum: No registered users and 1 guest