Page 1 of 1

LUA /dzvents Log syntax errors after update to Domoticz 2020.1

Posted: Wednesday 01 April 2020 19:14
by Skippy
Rpi3 : Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux
Version: 2020.1
Build Hash: 63fa969e4
Compile Date: 2020-03-22 15:16:16
dzVents Version: 3.0.1
Python Version: 3.7.3 (default, Apr 3 2019, 05:39:12) [GCC 8.2.0]

Hello,

after i 've updated Domoticz to 2020.1, i see a lot of error messages in Log :
...
2020-04-01 19:08:44.918 Status: LUA: devices.lua cannot be loaded
2020-04-01 19:08:44.918 Status: LUA: error loading module 'devices' from file '/home/pi/domoticz/scripts/lua/devices.lua':
2020-04-01 19:08:44.918 /home/pi/domoticz/scripts/lua/devices.lua:3: '}' expected (to close '{' at line 2) near ']'
2020-04-01 19:08:44.918 Status: LUA: devices.lua cannot be loaded
2020-04-01 19:08:44.919 Status: LUA: error loading module 'devices' from file '/home/pi/domoticz/scripts/lua/devices.lua':
2020-04-01 19:08:44.919 /home/pi/domoticz/scripts/lua/devices.lua:3: '}' expected (to close '{' at line 2) near ']'
2020-04-01 19:08:44.919 Status: LUA: devices.lua cannot be loaded
...

Some ideas ?
thx

Re: LUA /dzvents Log syntax errors after update to Domoticz 2020.1

Posted: Saturday 04 April 2020 23:35
by waaren
Skippy wrote: Wednesday 01 April 2020 19:14 2020-04-01 19:08:44.918 Status: LUA: error loading module 'devices' from file '/home/pi/domoticz/scripts/lua/devices.lua':
You can throw away this file. It does not belong in this directory. Seems like a script is saving some JSON output in a directory used by domoticz.

Re: LUA /dzvents Log syntax errors after update to Domoticz 2020.1

Posted: Sunday 05 April 2020 17:37
by Skippy
Thank you for your answer waaren.
I must now find this damn script ...
because this file is automatically recreated

8-)

<SOLVED> LUA /dzvents Log syntax errors after update to Domoticz 2020.1

Posted: Monday 06 April 2020 16:17
by Skippy
<SOLVED> in bug forum
https://www.domoticz.com/forum/viewtopi ... 08#p242382

Thank you very much Waaren