Page 1 of 1

moderror init.lua

PostPosted: Thu Sep 27, 2012 10:21
by tusty
i can`t run any mod, the same error on evry one

ModError: Failed to load and run
/home/tusty/.minetest/mods/minetest/farming/init.lua

sorry for my eng.

please help.

PostPosted: Thu Sep 27, 2012 10:42
by Topywo
tusty wrote:/home/tusty/.minetest/mods/minetest/farming/init.lua


My first impression is that you extracted/unzipped the mod in the wrong place. It looks like you use Linux and have checked the hidden files option. This makes the .minetest folder/map visible. Did you create the folders "mods/minetest" yourself?

My advice is to remove farming from that place (and if you created the yourself, the mods/minetest folder)

Extract/unzip the farming mod in the following folder: /home/tusty/celeron55-minetest-9696ed3/mods/minetest

9696ed3 can be a different version.

If this doesn't work then search your debug.txt file and copy the ERROR-lines (they are near the end of the file). If it is too big, delete the debug.txt file, exit minetest completely, start it up again and start a new game. Now it will be a smaller file, but with the same ERROR in it.

PostPosted: Thu Sep 27, 2012 11:05
by tusty
========== ERROR FROM LUA ===========
12:56:01: ERROR[main]: Failed to load and run script from
12:56:01: ERROR[main]: /home/tusty/.minetest/mods/minetest/farming/init.lua:
12:56:01: ERROR[main]: /home/tusty/.minetest/mods/minetest/farming/init.lua:57: attempt to call global 'flowers_add_sprite_flower' (a nil value)
12:56:01: ERROR[main]: stack traceback:
12:56:01: ERROR[main]: /home/tusty/.minetest/mods/minetest/farming/init.lua:57: in function 'init_module'
12:56:01: ERROR[main]: /home/tusty/.minetest/mods/minetest/farming/init.lua:75: in main chunk
12:56:01: ERROR[main]: =======END OF ERROR FROM LUA ========
12:56:01: ERROR[main]: Server: Failed to load and run /home/tusty/.minetest/mods/minetest/farming/init.lua
12:56:01: INFO[main]: BanManager: saving to /home/tusty/.minetest/worlds/gr4hu`s mine/ipban.txt
12:56:01: ERROR[main]: ModError: Failed to load and run /home/tusty/.minetest/mods/minetest/farming/init.lua
12:56:01: INFO[main]: Searching worlds...
12:56:01: INFO[main]: In /home/tusty/.minetest/worlds:
12:56:01: INFO[main]: ddd gr4hu`s mine hh gr4hu`s world
12:56:01: INFO[main]: Old world found.
12:56:01: INFO[main]: 5 found.
12:56:01: INFO[main]: Waiting for other menus
12:56:01: INFO[main]: Waited for other menus
12:56:01: VERBOSE[main]: error_message = ModError: Failed to load and run /home/tusty/.minetest/mods/minetest/farming/init.lua
12:56:01: VERBOSE[main]: Check debug.txt for details.
12:56:01: INFO[main]: Created main menu
12:56:01: INFO[main]: locale has been set to:pl_PL.UTF-8
12:56:01: INFO[main]: locale has been set to:C



??? it seams the problem is in line 57 of init.lua in te farming mod
i have the flowers mod instaled

PostPosted: Thu Sep 27, 2012 11:22
by tkerwel
maybe its better to ask this PilzAdam in his mod..

you use the normal or the extended version of that mod ?

PostPosted: Thu Sep 27, 2012 11:58
by cornernote
it looks like you are using Sapier's farming mod from here:
http://minetest.net/forum/viewtopic.php?id=607

try PilzAdam's version, it is more recent:
http://minetest.net/forum/viewtopic.php?id=2787

PostPosted: Thu Sep 27, 2012 12:32
by tkerwel
cornernote wrote:it looks like you are using Sapier's farming mod from here:
http://minetest.net/forum/viewtopic.php?id=607

try PilzAdam's version, it is more recent:
http://minetest.net/forum/viewtopic.php?id=2787


okay sorry for my mismatch .... i did not remember that there are "2" mods with the same name...

anyway if it's sapiers mod not running, i would suggest to ask him......