Den verkar inte hitta din fil. Jag antar att du sparat den som "EventRunner-18.lua" och har HC2.lua i samma katalog.RH_Dreambox wrote: ↑22 Apr 2019, 12:07 @jang, är det problem med den senaste versionen av HC2.lua ("0.8","fix2")? Version "0.5","fix6" fungerar utan problem.
Den här loggen får jag...
Program starting as '"D:\Hemautomation\Zero Brane Studio\bin\lua.exe" -e "io.stdout:setvbuf('no')" "C:\Users\RH\AppData\Local\Temp\.1E42.tmp"'.
Program 'lua.exe' started in 'D:\Hemautomation\Zero Brane Studio\myprograms' (pid: 7444).
Debugging session started in 'D:\Hemautomation\Zero Brane Studio\myprograms\'.
HC2.lua:554: No such file:EventRunner-18.lua
stack traceback:
[C]: in function 'error'
HC2.lua:554: in function 'parseHeaders'
HC2.lua:477: in function 'load'
HC2.lua:650: in function 'registerScene'
HC2.lua:1078: in function 'loadEmbedded'
HC2.lua:82: in function 'main'
HC2.lua:207: in function 'startup'
HC2.lua:3169: in main chunk
[C]: in function 'dofile'
Event Runner/EventRunner-18.lua:12: in main chunk
Debugging session completed (traced 0 instructions).
[33mMon/Apr/22,11:49:25:[HC2 ] HC2 SceneRunner v0.8 fix2[0m
[33mMon/Apr/22,11:49:25:[HC2 ] Local mode, will not access resources on HC2[0m
[32mMon/Apr/22,11:49:25:[HC2 ] Created Event server at 192.168.1.20:6872[0m
[32mMon/Apr/22,11:49:25:[HC2 ] Web GUI at http://192.168.1.20:6872/emu/main[0m
[35mMon/Apr/22,11:49:25:[HC2 ] No HC2 data file found (HC2.data)[0m
[35mMon/Apr/22,11:49:25:[HC2 ] Configuration from file, Globals:0, Scenes:0, Device:0, Rooms:0[0m
Program completed in 3.18 seconds (pid: 7444).
Har du satt "working directory" till den katalogen också? Project -> Project Directory -> Set From Current File