Page 1 of 1

Mescons error

PostPosted: Sun Oct 16, 2016 07:24
by basil60
Hi
I've been using Minetest 0.4.14 with mesecons mod, on a Win 8.1, running it from a USB stick.

If I add a Mesecon block like a Lua Controller it shuts down, with this error
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
2016-10-16 17:07:44: ERROR[Main]: stack traceback:
2016-10-16 17:07:44: ERROR[Main]:    [C]: in function 'ipairs'
2016-10-16 17:07:44: ERROR[Main]:    ....14\bin\..\mods\mesecons\mesecons_luacontroller\init.lua:351: in function 'code_prohibited'
2016-10-16 17:07:44: ERROR[Main]:    ....14\bin\..\mods\mesecons\mesecons_luacontroller\init.lua:400: in function 'run'
2016-10-16 17:07:44: ERROR[Main]:    ....14\bin\..\mods\mesecons\mesecons_luacontroller\init.lua:533: in function 'action_change'
2016-10-16 17:07:44: ERROR[Main]:    ...netest-0.4.14\bin\..\mods\mesecons\mesecons/internal.lua:231: in function <...netest-0.4.14\bin\..\mods\mesecons\mesecons/internal.lua:226>
2016-10-16 17:07:44: ERROR[Main]:    ...est-0.4.14\bin\..\mods\mesecons\mesecons/actionqueue.lua:90: in function 'execute'
2016-10-16 17:07:44: ERROR[Main]:    ...est-0.4.14\bin\..\mods\mesecons\mesecons/actionqueue.lua:84: in function <...est-0.4.14\bin\..\mods\mesecons\mesecons/actionqueue.lua:61>
2016-10-16 17:07:44: ERROR[Main]:    ...ortable\minetest-0.4.14\bin\..\builtin\game\register.lua:369: in function <...ortable\minetest-0.4.14\bin\..\builtin\game\register.lua:349>


Any ideas why?

Re: Mescons error

PostPosted: Sun Oct 16, 2016 07:28
by kaeza
You missed the line containing the actual error. It should be immediately above the stack traceback.

Edit: Looks like the relevant code does not match your stack traceback. Are you using the latest Mesecons?

Re: Mescons error

PostPosted: Sun Oct 16, 2016 19:44
by basil60
Sorry

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
 ERROR[Main]: ServerError: Runtime error from mod 'mesecons' in callback environment_Step(): ....14\bin\..\mods\mesecons\mesecons_luacontroller\init.lua:351: bad argument #1 to 'ipairs' (table expected, got nil)

I'll check...my Mesecons could be a from last year