Search found 2 matches

by ThisIsMe
Tuesday 19 January 2016 5:52
Forum: LUA
Topic: Missing module in Lua 5.1
Replies: 1
Views: 1905

Re: Missing module in Lua 5.1

Not sure if I am going down the right path. I am now assuming that I was suppose to create the directory 5.2 and untar.

Did that and now the error changed to :

Error: EventSystem: /usr/local/share/lua/5.2/socket.lua:12: module 'socket.core' not found:
no field package.preload['socket.core']
no ...
by ThisIsMe
Tuesday 19 January 2016 5:19
Forum: LUA
Topic: Missing module in Lua 5.1
Replies: 1
Views: 1905

Missing module in Lua 5.1

Hi all,
First time post here. Just started with Domoticz on the RPI. Loving it so far.

I am writing a Lua Script to query the status of a relay board. For this I need the socket.http module in place. Now obviously I can install it on the OS Lua, but of course the Domoticz Lua is different. I ...