dzVents.lua not found
Moderator: leecollings
dzVents.lua not found
I'm facing problems trying to get dzVents 2 up and running.
Running on Synology NAS with Domoticz 3.8143 beta and Python plugin.
The error is:
2017-07-27 22:40:19.984 Error: EventSystem: in /usr/local/domoticz/var/scripts/dzVents/runtime/dzVents.lua: cannot open /usr/local/domoticz/var/scripts/dzVents/runtime/dzVents.lua: No such file or directory
I don't have a dzVents folder in the scripts directory. Also searched my whole system for dzVents but didn't get any match.
Not sure how to proceed.
Running on Synology NAS with Domoticz 3.8143 beta and Python plugin.
The error is:
2017-07-27 22:40:19.984 Error: EventSystem: in /usr/local/domoticz/var/scripts/dzVents/runtime/dzVents.lua: cannot open /usr/local/domoticz/var/scripts/dzVents/runtime/dzVents.lua: No such file or directory
I don't have a dzVents folder in the scripts directory. Also searched my whole system for dzVents but didn't get any match.
Not sure how to proceed.
-
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: dzVents.lua not found
That's an issue with the NAS package. More people have reported it.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Re: dzVents.lua not found
Thanks danny. I'll wait for a new build and a solution. Do you know if the maintainer of the NAS package is informed about this issue?
-
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: dzVents.lua not found
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
- jumbotroll
- Posts: 793
- Joined: Tuesday 13 January 2015 14:36
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Oslo,Norway
- Contact:
Re: dzVents.lua not found
You can try to reinstall the package.bramski wrote:I'm facing problems trying to get dzVents 2 up and running.
Running on Synology NAS with Domoticz 3.8143 beta and Python plugin.
The error is:
2017-07-27 22:40:19.984 Error: EventSystem: in /usr/local/domoticz/var/scripts/dzVents/runtime/dzVents.lua: cannot open /usr/local/domoticz/var/scripts/dzVents/runtime/dzVents.lua: No such file or directory
I don't have a dzVents folder in the scripts directory. Also searched my whole system for dzVents but didn't get any match.
Not sure how to proceed.
Take backup of db and scripts, then remove the package from package center and reinstall.
Worked here...
@DS712:/usr/local/domoticz/var/scripts/dzVents/runtime$ ls
device-adapters EventHelpers.lua persistence.lua todo.md
Device.lua HistoricalStorage.lua tests Utils.lua
Domoticz.lua integration-tests TimedCommand.lua Variable.lua
dzVents.lua misc Time.lua
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
Re: dzVents.lua not found
@jumbotroll @dannybloe
Sorry to bother you guys again, but I'm still struggling with getting dzVents working in the Synology build.
I am one step further by following the suggestion of jumbotroll. I deinstalled the package and reinstalled it again and now I have the folder /usr/local/domoticz/scripts/var/dzVents.
However when starting domoticz I get a lot of errors related to dzVents:
Sorry to bother you guys again, but I'm still struggling with getting dzVents working in the Synology build.
I am one step further by following the suggestion of jumbotroll. I deinstalled the package and reinstalled it again and now I have the folder /usr/local/domoticz/scripts/var/dzVents.
However when starting domoticz I get a lot of errors related to dzVents:
- Spoiler: show
- Spoiler: show
-
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: dzVents.lua not found
Not exactly sure what is happening here. So, what I would do is remove the scripts folder from your install (make a copy if you have custom scripts). Then get a copy of that folder from github (master/stable) and put it in place. Start Domoticz and see if you still get those errors. If you do than I have no idea what is causing this. But, if you don't get those errors then move you event scripts back to the proper location. But be sure that dzVents scripts (if you have any) should only be in scripts/dzVents/scripts. Carefully check this. Make sure NOT to put non-dzVents lua scripts in there as it will break stuff. Classic Lua should be placed in scripts/lua.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Re: dzVents.lua not found
Thanks dannybloe. Exactly what you descibed is also what I tried yesterday, however this makes no difference. Just to be sure I tried again. Removed dzVents directory. Made sure I was on the master branch. Did a git pull to get fresh changes and moved that directory to the domoticz installation directory. Still have all those errors with "too many C levels".
I am curious if somebody has dzVents running on Synology at all. Maybe it is some issue with the C compiler in Synology architecture.
I am curious if somebody has dzVents running on Synology at all. Maybe it is some issue with the C compiler in Synology architecture.
-
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: dzVents.lua not found
I'd try it with the entire script folder. Not just the dzVents folder.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Re: dzVents.lua not found
Still the same error Danny unfortunately. Seems some endless recursion somewhere, but I don't know that much about LUA and C internal workings.
Re: dzVents.lua not found
Could it be that those paths are symlinks?
For example the whole domoticz installation is symlinked from /volume1/@appstore/domoticz to /usr/local/domoticz
All LUA files are included from /usr/local/domoticz, maybe it keeps searching for the files this way until it hits 200 iterations and crashes.
For example the whole domoticz installation is symlinked from /volume1/@appstore/domoticz to /usr/local/domoticz
All LUA files are included from /usr/local/domoticz, maybe it keeps searching for the files this way until it hits 200 iterations and crashes.
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: dzVents.lua not found
After removing Domoticz and restarting my Synology before reinstalling Domoticz again, I found that the script dzVents.lua is now present.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Re: dzVents.lua not found
@EdKo66, @dannybloe, Yes it was also in place for me after reinstalling. However I got all those errors "too many C levels (limit is 200)", so it still wasn't working.
But I have good news. Finally got it resolved.
I bought a Raspberry PI 3 to eliminate Synology as the root of the problem.
Installed domoticz on the device and copied the domoticz.db from my Synology.
Enabled dzVents and immediately got similar errors with the "too many C levels", which is an indication of endless resursion.
Turned out that I named the script in the inline editor "dzVents". This file is copied to "generated_scripts", but when it is initialized it gets the same name as the already existing dzVents.lua in the runtime folder, and causes a recursion loop this way.
Renamed the event to "test" and magically all my issues disappeared
.
Now I have domoticz running on the PI, not really sure if I leave it this way or migrate it back to synology.
I think I prefer to leave domoticz on the PI and don't pollute the NAS with all kind of packages which are not really related to NAS functionality.
But I have good news. Finally got it resolved.
I bought a Raspberry PI 3 to eliminate Synology as the root of the problem.
Installed domoticz on the device and copied the domoticz.db from my Synology.
Enabled dzVents and immediately got similar errors with the "too many C levels", which is an indication of endless resursion.
Turned out that I named the script in the inline editor "dzVents". This file is copied to "generated_scripts", but when it is initialized it gets the same name as the already existing dzVents.lua in the runtime folder, and causes a recursion loop this way.
Renamed the event to "test" and magically all my issues disappeared

Now I have domoticz running on the PI, not really sure if I leave it this way or migrate it back to synology.
I think I prefer to leave domoticz on the PI and don't pollute the NAS with all kind of packages which are not really related to NAS functionality.
-
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: dzVents.lua not found
Ah. Haha yeah we didn't anticipate this one!
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Re: dzVents.lua not found
Haha, yeah part of a developers live
.
Now I can finally rewrite some of my ugly unmaintainable LUA scripts to a much nicer syntax.

Now I can finally rewrite some of my ugly unmaintainable LUA scripts to a much nicer syntax.
Who is online
Users browsing this forum: No registered users and 1 guest