{"action":"created","issue":{"url":"https://api.github.com/repos/domoticz/domoticz/issues/2442","repository_url":"https://api.github.com/repos/domoticz/domoticz","labels_url":"https://api.github.com/repos/domoticz/domoticz/issues/2442/labels{/name}","comments_url":"https://api.github.com/repos/domoticz/domoticz/issues/2442/comments","events_url":"https://api.github.com/repos/domoticz/domoticz/issues/2442/events","html_url":"https://github.com/domoticz/domoticz/issues/2442","id":327285735,"number":2442,"title":"dzVents.lua:19: attempt to concatenate local 'runtimePath' (a nil value)","user":{"login":"svde","id":572598,"avatar_url":"https://avatars1.githubusercontent.com/u/572598?v=4","gravatar_id":"","url":"https://api.github.com/users/svde","html_url":"https://github.com/svde","followers_url":"https://api.github.com/users/svde/followers","following_url":"https://api.github.com/users/svde/following{/other_user}","gists_url":"https://api.github.com/users/svde/gists{/gist_id}","starred_url":"https://api.github.com/users/svde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svde/subscriptions","organizations_url":"https://api.github.com/users/svde/orgs","repos_url":"https://api.github.com/users/svde/repos","events_url":"https://api.github.com/users/svde/events{/privacy}","received_events_url":"https://api.github.com/users/svde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-29T11:48:33Z","updated_at":"2018-05-29T12:28:29Z","closed_at":null,"author_association":"NONE","body":"Latest github code (7ded4156c37518ebebe0ce5ca144ae3d683e1995) is showing this in syslog:\r\n\r\nMay 29 13:43:58 * domoticz[4801]: EventSystem: in /opt/domoticz/dzVents/runtime/dzVents.lua: /opt/domoticz/dzVents/runtime/dzVents.lua:19: attempt to concatenate local 'runtimePath' (a nil value)\r\nMay 29 13:44:00 * domoticz[4801]: EventSystem: in /opt/domoticz/dzVents/runtime/dzVents.lua: /opt/domoticz/dzVents/runtime/dzVents.lua:19: attempt to concatenate local 'runtimePath' (a nil value\r\n\r\nI'm not sure if its harmful.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/domoticz/domoticz/issues/comments/392758209","html_url":"https://github.com/domoticz/domoticz/issues/2442#issuecomment-392758209","issue_url":"https://api.github.com/repos/domoticz/domoticz/issues/2442","id":392758209,"user":{"login":"rwaaren","id":24454798,"avatar_url":"https://avatars1.githubusercontent.com/u/24454798?v=4","gravatar_id":"","url":"https://api.github.com/users/rwaaren","html_url":"https://github.com/rwaaren","followers_url":"https://api.github.com/users/rwaaren/followers","following_url":"https://api.github.com/users/rwaaren/following{/other_user}","gists_url":"https://api.github.com/users/rwaaren/gists{/gist_id}","starred_url":"https://api.github.com/users/rwaaren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwaaren/subscriptions","organizations_url":"https://api.github.com/users/rwaaren/orgs","repos_url":"https://api.github.com/users/rwaaren/repos","events_url":"https://api.github.com/users/rwaaren/events{/privacy}","received_events_url":"https://api.github.com/users/rwaaren/received_events","type":"User","site_admin":false},"created_at":"2018-05-29T12:28:29Z","updated_at":"2018-05-29T12:28:29Z","author_association":"NONE","body":"I don't see this message on my PI-3, Debian stretch,  domoticz  V3.9529 and I use a lot of dzVents scripts\r\n\r\n**relevant lines in dzVents.lua Domoticz V3.9462** \r\n\r\nlocal currentPath = globalvariables['script_path'] -- should be path/to/domoticz/scripts/dzVents\r\n\r\npackage.path = package.path .. ';' .. currentPath .. '?.lua'\r\npackage.path = package.path .. ';' .. currentPath .. '../../dzVents/runtime/?.lua'\r\npackage.path = package.path .. ';' .. currentPath .. '../../dzVents/runtime/device-adapters/?.lua'\r\npackage.path = package.path .. ';' .. currentPath .. 'dzVents/?.lua'\r\n\r\n**relevant lines in dzVents.lua Domoticz V3.9529**\r\n\r\nlocal scriptPath = globalvariables['script_path'] -- should be ${szUserDataFolder}/scripts/dzVents/\r\nlocal runtimePath = globalvariables['runtime_path'] -- should be ${szStartupFolder}/dzVents/runtime/\r\n\r\n\r\npackage.path = package.path .. ';' .. scriptPath .. '?.lua'\r\npackage.path = package.path .. ';' .. runtimePath .. '?.lua'\r\npackage.path = package.path .. ';' .. runtimePath .. 'device-adapters/?.lua'\r\npackage.path = package.path .. ';' .. scriptPath .. 'dzVents/?.lua'\r\npackage.path = package.path .. ';' .. scriptPath .. 'scripts/?.lua'\r\npackage.path = package.path .. ';' .. scriptPath .. '../lua/?.lua'\r\npackage.path = package.path .. ';' .. scriptPath .. 'scripts/modules/?.lua'\r\npackage.path = package.path .. ';' .. scriptPath .. '?.lua'\r\npackage.path = package.path .. ';' .. scriptPath .. 'generated_scripts/?.lua'\r\npackage.path = package.path .. ';' .. scriptPath .. 'data/?.lua'\r\npackage.path = package.path .. ';' .. scriptPath .. 'modules/?.lua'\r\n\r\n_Not sure about the do's and dont's yet but maybe better to have this conversation on the forum ?_ "}}
{"actor":{"display_login":"rwaaren"}}