cornernote / minetest-deploy_nodes

Provides craftable nodes that when placed turn into shapes or structures.
http://cornernote.github.io/minetest-deploy_nodes/
Other
4 stars 3 forks source link

"attempt to call field 'execute' (a nil value)" #3

Open AntumDeluge opened 7 years ago

AntumDeluge commented 7 years ago

I will be looking for a solution for this, but wanted to post it in case I am unable to find one. I am getting the following error when trying to use deploy_building. It seems there is an issue with the execute function of the os module (at least on my system), and honestly, I'm not sure that deploy_building is at fault

2017-06-21 02:25:07: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'deploy_building' in callback luaentity_Step(): ...ting/mods/modpacks/deploy_nodes/deploy_building/init.lua:25: attempt to call field 'execute' (a nil value)
2017-06-21 02:25:07: ERROR[Main]: stack traceback:
2017-06-21 02:25:07: ERROR[Main]:   ...ting/mods/modpacks/deploy_nodes/deploy_building/init.lua:25: in function 'get_files'
2017-06-21 02:25:07: ERROR[Main]:   ...ting/mods/modpacks/deploy_nodes/deploy_building/init.lua:47: in function 'deploy'
2017-06-21 02:25:07: ERROR[Main]:   ...ting/mods/modpacks/deploy_nodes/deploy_building/init.lua:219: in function <...ting/mods/modpacks/deploy_nodes/deploy_building/init.lua:193>
mowgli commented 1 year ago

The file handling is incompatible with current minetest and highly insecure.

It is, although, possible to implement it with just lua.