Error in dzVent.lua  [Solved]

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
nosehook
Posts: 49
Joined: Thursday 31 March 2016 20:49
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Error in dzVent.lua  [Solved]

Post by nosehook »

I recently checked my error log and got the following error:

Error: EventSystem: in /home/pi/domoticz/dzVents/runtime/dzVents.lua: /home/pi/domoticz/dzVents/runtime/EventHelpers.lua:96: attempt to index local 'fileStorage' (a boolean value)

I do not understand what the problem is or how to solve it.
Is there anyone who can help me?


EDIT: Solved, again global variables files... is there a solution for this?
Pi3 Domoticz | RFXcom 433E | KAKU/COCO |Harmony Hub | Samsung TV | HS100 | HS110| HUE | Tradfri | Tado| Xiaomi |sensors | scripts| Pi3 Node Red | Pi2 SDS_011 + MH-Z19B | PiAware (zero) | Pi2 breadboard with Node red and Domoticz
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Error in dzVent.lua

Post by waaren »

nosehook wrote: Thursday 29 August 2019 14:55 I recently checked my error log and got the following error:

Error: EventSystem: in /home/pi/domoticz/dzVents/runtime/dzVents.lua: /home/pi/domoticz/dzVents/runtime/EventHelpers.lua:96: attempt to index local 'fileStorage' (a boolean value)

EDIT: Solved, again global variables files... is there a solution for this?
good to hear that it is already fixed. dzVents hands over the writing to the file to the OS. If the OS hits a problem when writing this file it's not reported back to dzVents. If this happens quite frequent it might point to a problem in your file-system / SD card

I will investigate if I can make the error message more descriptive.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest