Sokomine / mg_villages

villages for all mapgens (based on Nores mg)
24 stars 14 forks source link

Error loading grass hut #3

Closed ExcaliburZero closed 9 years ago

ExcaliburZero commented 9 years ago

I recently updated my copy of this mod, and when I ran a world with this mod enabled I got the following error:

screenshot from 2015-04-05 19 20 47

This is the output of my debut.txt file:

-------------
  Separator  
-------------

Irrlicht log: Irrlicht Engine version 1.8.1
Irrlicht log: Linux 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64
Irrlicht log: Using renderer: OpenGL 3.0
Irrlicht log: Mesa DRI Intel(R) Haswell Desktop : Intel Open Source Technology Center
Irrlicht log: OpenGL driver version is 1.2 or better.
Irrlicht log: GLSL version: 1.3
2015-04-05 19:19:29: ERROR[main]: Invalid character ' ' found in setting name
2015-04-05 19:19:29: ERROR[main]: Invalid character ' ' found in setting name
[vector_extras] loaded after ca. 0.00s
19:19:29: WARNING: Undeclared global variable "technic" accessed at .../.minetest/mods/technic-master/technic_worldgen/init.lua:3
19:19:29: WARNING: Undeclared global variable "intllib" accessed at .../.minetest/mods/technic-master/technic_worldgen/init.lua:5
19:19:29: WARNING: Undeclared global variable "intllib" accessed at /home/chris/.minetest/mods/technic-master/concrete/init.lua:9
19:19:29: WARNING: Undeclared global variable "intllib" accessed at .../chris/.minetest/mods/technic-master/extranodes/init.lua:5
[Plants Lib] Loaded
[Moretrees] Loaded (2013-02-11)
19:19:29: WARNING: Assignment to undeclared global "override" inside a function at ...ris/.minetest/mods/plantlife_modpack/vines/functions.lua:97.
[Vines] Loaded!
[Poison Ivy] Loaded.
[Mod] Mole Hills [0.0.3] [molehills] Loaded...
[Flowers] Loaded.
[Mod] Along the Shore [0.0.4] [along_shore] Loaded...
[Mod] Ferns Checking horsetail item strings
[Mod] Ferns Checking lady fern item strings
[Mod] Ferns Checking tree fern item strings
[Mod] Ferns [0.2.0] [ferns] Loaded...
[Mod] Trunks [0.1.4] [trunks] Loaded...
[Mod] Wood Soils [0.0.9] [woodsoils] Loaded...
[Mod] Cave Stuff [0.0.3] [cavestuff] Loaded...
[OK] Mesecons
Pipeworks loaded!
19:19:29: WARNING: Undeclared global variable "intllib" accessed at ...minetest/mods/technic-master/technic_chests/register.lua:4
[Mod] Grasses [0.1.5] [dryplants] Loaded...
[Bushes] Loaded.
[Mushrooms] loaded.
[save_restore] Error: Savefile '/home/chris/.minetest/worlds/Village Test World/mg_generated_map.data' not found.
2015-04-05 19:19:29: ERROR[main]: =====

-------------
  Separator  
-------------

Irrlicht log: Irrlicht Engine version 1.8.1
Irrlicht log: Linux 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64
Irrlicht log: Using renderer: OpenGL 3.0
Irrlicht log: Mesa DRI Intel(R) Haswell Desktop : Intel Open Source Technology Center
Irrlicht log: OpenGL driver version is 1.2 or better.
Irrlicht log: GLSL version: 1.3
2015-04-05 19:19:29: ERROR[main]: Invalid character ' ' found in setting name
2015-04-05 19:19:29: ERROR[main]: Invalid character ' ' found in setting name
[vector_extras] loaded after ca. 0.00s
19:19:29: WARNING: Undeclared global variable "technic" accessed at .../.minetest/mods/technic-master/technic_worldgen/init.lua:3
19:19:29: WARNING: Undeclared global variable "intllib" accessed at .../.minetest/mods/technic-master/technic_worldgen/init.lua:5
19:19:29: WARNING: Undeclared global variable "intllib" accessed at /home/chris/.minetest/mods/technic-master/concrete/init.lua:9
19:19:29: WARNING: Undeclared global variable "intllib" accessed at .../chris/.minetest/mods/technic-master/extranodes/init.lua:5
[Plants Lib] Loaded
[Moretrees] Loaded (2013-02-11)
19:19:29: WARNING: Assignment to undeclared global "override" inside a function at ...ris/.minetest/mods/plantlife_modpack/vines/functions.lua:97.
[Vines] Loaded!
[Poison Ivy] Loaded.
[Mod] Mole Hills [0.0.3] [molehills] Loaded...
[Flowers] Loaded.
[Mod] Along the Shore [0.0.4] [along_shore] Loaded...
[Mod] Ferns Checking horsetail item strings
[Mod] Ferns Checking lady fern item strings
[Mod] Ferns Checking tree fern item strings
[Mod] Ferns [0.2.0] [ferns] Loaded...
[Mod] Trunks [0.1.4] [trunks] Loaded...
[Mod] Wood Soils [0.0.9] [woodsoils] Loaded...
[Mod] Cave Stuff [0.0.3] [cavestuff] Loaded...
[OK] Mesecons
Pipeworks loaded!
19:19:29: WARNING: Undeclared global variable "intllib" accessed at ...minetest/mods/technic-master/technic_chests/register.lua:4
[Mod] Grasses [0.1.5] [dryplants] Loaded...
[Bushes] Loaded.
[Mushrooms] loaded.
[save_restore] Error: Savefile '/home/chris/.minetest/worlds/Village Test World/mg_generated_map.data' not found.
2015-04-05 19:19:29: ERROR[main]: ========== ERROR FROM LUA ===========
2015-04-05 19:19:29: ERROR[main]: Failed to load and run script from 
2015-04-05 19:19:29: ERROR[main]: /home/chris/.minetest/mods/mg_villages/init.lua:
2015-04-05 19:19:29: ERROR[main]: /home/chris/.minetest/mods/mg_villages/analyze_we_file.lua:13: Could not open schematic '/home/chris/.minetest/mods/mg_villages/schems/grasshut1.we': /home/chris/.minetest/mods/mg_villages/schems/grasshut1.wem: No such file or directory
2015-04-05 19:19:29: ERROR[main]: stack traceback:
2015-04-05 19:19:29: ERROR[main]:   [C]: in function 'error'
2015-04-05 19:19:29: ERROR[main]:   /home/chris/.minetest/mods/mg_villages/analyze_we_file.lua:13: in function 'analyze_we_file'
2015-04-05 19:19:29: ERROR[main]:   /home/chris/.minetest/mods/mg_villages/buildings.lua:304: in function </home/chris/.minetest/mods/mg_villages/buildings.lua:279>
2015-04-05 19:19:29: ERROR[main]:   /home/chris/.minetest/mods/mg_villages/buildings.lua:434: in main chunk
2015-04-05 19:19:29: ERROR[main]:   [C]: in function 'dofile'
2015-04-05 19:19:29: ERROR[main]:   /home/chris/.minetest/mods/mg_villages/init.lua:55: in main chunk
2015-04-05 19:19:29: ERROR[main]: ======= END OF ERROR FROM LUA ========
2015-04-05 19:19:29: ERROR[main]: Server: Failed to load and run /home/chris/.minetest/mods/mg_villages/init.lua
2015-04-05 19:19:29: ERROR[main]: ModError: ModError: Failed to load and run /home/chris/.minetest/mods/mg_villages/init.lua
2015-04-05 19:19:29: ERROR[main]: Check debug.txt for details.===== ERROR FROM LUA ===========
2015-04-05 19:19:29: ERROR[main]: Failed to load and run script from 
2015-04-05 19:19:29: ERROR[main]: /home/chris/.minetest/mods/mg_villages/init.lua:
2015-04-05 19:19:29: ERROR[main]: /home/chris/.minetest/mods/mg_villages/analyze_we_file.lua:13: Could not open schematic '/home/chris/.minetest/mods/mg_villages/schems/grasshut1.we': /home/chris/.minetest/mods/mg_villages/schems/grasshut1.wem: No such file or directory
2015-04-05 19:19:29: ERROR[main]: stack traceback:
2015-04-05 19:19:29: ERROR[main]:   [C]: in function 'error'
2015-04-05 19:19:29: ERROR[main]:   /home/chris/.minetest/mods/mg_villages/analyze_we_file.lua:13: in function 'analyze_we_file'
2015-04-05 19:19:29: ERROR[main]:   /home/chris/.minetest/mods/mg_villages/buildings.lua:304: in function </home/chris/.minetest/mods/mg_villages/buildings.lua:279>
2015-04-05 19:19:29: ERROR[main]:   /home/chris/.minetest/mods/mg_villages/buildings.lua:434: in main chunk
2015-04-05 19:19:29: ERROR[main]:   [C]: in function 'dofile'
2015-04-05 19:19:29: ERROR[main]:   /home/chris/.minetest/mods/mg_villages/init.lua:55: in main chunk
2015-04-05 19:19:29: ERROR[main]: ======= END OF ERROR FROM LUA ========
2015-04-05 19:19:29: ERROR[main]: Server: Failed to load and run /home/chris/.minetest/mods/mg_villages/init.lua
2015-04-05 19:19:29: ERROR[main]: ModError: ModError: Failed to load and run /home/chris/.minetest/mods/mg_villages/init.lua
2015-04-05 19:19:29: ERROR[main]: Check debug.txt for details.

I took a quick look through the code of the mod, and I noticed that this line notes that the cottage mod is required to use the "grasshut1" noted in the error message. I do not have the cottage mod installed, which is likely what is causing the error.

ExcaliburZero commented 9 years ago

I did some quick testing and commented out lines 50-56 in the buildings.lua and that seemed to stop the error from repeating.

ExcaliburZero commented 9 years ago

I just updated my local copy of the mod with git pull and the issue seems to have already been fixed.