Текст ошибки:
Исходный код:
Код |
---|
C:\lua\test.lua:2: module 'socket.http' not found: no field package.preload['socket.http'] no file '.\socket\http.lua' no file 'C:\Open_Broker_QUIK_Junior\lua\socket\http.lua' no file 'C:\Open_Broker_QUIK_Junior\lua\socket\http\init.lua' no file 'C:\Open_Broker_QUIK_Junior\socket\http.lua' no file 'C:\Open_Broker_QUIK_Junior\socket\http\init.lua' no file 'C:\Open_Broker_QUIK_Junior\Include\socket\http.dll' no file 'C:\Open_Broker_QUIK_Junior\Include\socket\http.lua' no file 'C:\Open_Broker_QUIK_Junior\Include\socket\http.luac' no file '.\socket\http.dll' no file 'C:\Open_Broker_QUIK_Junior\socket\http.dll' no file 'C:\Open_Broker_QUIK_Junior\loadall.dll' no file 'C:\Open_Broker_QUIK_Junior\Include\socket.dll' no file 'C:\Open_Broker_QUIK_Junior\Include\socket.lua' no file 'C:\Open_Broker_QUIK_Junior\Include\socket.luac' no file '.\socket.dll' |
Исходный код:
Код |
---|
is_run = true local http = require "socket.http" function main() message("Привед!") end function OnStop() is_run = false end function OnTrade(trade_data) end |