Not (my) problem any more but I'm leaving this here for reference since I couldn't find it by searching around.
I was trying to fix advtrains_train_rocket. It was giving weird errors like:
Code: Select all
021-07-05 22:13:11: ERROR[Main]: ModError: Failed to load and run script from F:\Non-installs\minetest-5.4.0-win64\bin\..\mods\advtrains_train_rocket\init.lua:
2021-07-05 22:13:11: ERROR[Main]: ...-5.4.0-win64\bin\..\mods\advtrains_train_rocket\init.lua:144: attempt to index global 'default' (a nil value)
2021-07-05 22:13:11: ERROR[Main]: stack traceback:
2021-07-05 22:13:11: ERROR[Main]: ...-5.4.0-win64\bin\..\mods\advtrains_train_rocket\init.lua:144: in main chunk
2021-07-05 22:13:11: ERROR[Main]: Check debug.txt for details.
2021-07-05 22:13:11: ACTION[Main]: Server: Shutting down
I do like it in principle that it makes you fix your dependencies but I don't like in practice how it doesn't tell you why it's happening. It's subtle - default should be there - after all, I'm playing minetest_game. Maybe this is why it gets confused and instead of telling you you're missing dependencies, it throws itself into this exception..
Relevant commit that fixed the problem for reference.