Page 1 of 1

ModError :(

PostPosted: Sun Jul 31, 2016 14:44
by drpeppercan
Hi all,

Just so you know, I am not a programmer. I only know some coding for HTML, CSS, and a tiny bit of JS.
I am using Ubuntu Studio 16.04 (with XFCE desktop).

Basically I just followed these instructions:
Install:
"From the tarball: Just extract it.
From the git repository: git clone https://github.com/VanessaE/dreambuilder_modpack.git
...then rename the resultant directory to "dreambuilder_modpack", if necessary, and move it to your Minetest mods directory. Then select and enable it for the world you want to use it in.
"

Image

From the debug.txt file:
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-07-31 09:56:57: ERROR[main]: ========== ERROR FROM LUA ===========
2016-07-31 09:56:57: ERROR[main]: Failed to load and run script from
2016-07-31 09:56:57: ERROR[main]: /home/nelly/.minetest/mods/dreambuilder_modpack/prefab_redo/init.lua:
2016-07-31 09:56:57: ERROR[main]: ....minetest/mods/dreambuilder_modpack/prefab_redo/init.lua:141: attempt to call field 'register' (a nil value)
2016-07-31 09:56:57: ERROR[main]: stack traceback:
2016-07-31 09:56:57: ERROR[main]:    ....minetest/mods/dreambuilder_modpack/prefab_redo/init.lua:141: in main chunk
2016-07-31 09:56:57: ERROR[main]: ======= END OF ERROR FROM LUA ========
2016-07-31 09:56:57: ERROR[main]: Server: Failed to load and run /home/nelly/.minetest/mods/dreambuilder_modpack/prefab_redo/init.lua
2016-07-31 09:56:57: ERROR[main]: ModError: ModError: Failed to load and run /home/nelly/.minetest/mods/dreambuilder_modpack/prefab_redo/init.lua
2016-07-31 09:56:57: ERROR[main]: Error from Lua:
2016-07-31 09:56:57: ERROR[main]: ....minetest/mods/dreambuilder_modpack/prefab_redo/init.lua:141: attempt to call field 'register' (a nil value)
2016-07-31 09:56:57: ERROR[main]: stack traceback:
2016-07-31 09:56:57: ERROR[main]:    ....minetest/mods/dreambuilder_modpack/prefab_redo/init.lua:141: in main chunk
2016-07-31 09:56:57: ERROR[main]: Check debug.txt for details.


Any ideas?

Thanks in advance,

DPC

Re: ModError :(

PostPosted: Sun Jul 31, 2016 14:46
by KCoombes
Rename the folder to just "dreambuilder"?

Re: ModError :(

PostPosted: Sun Jul 31, 2016 14:58
by Krock
@KCoombes: Please read the error properly. It's either an issue with dreambuilder itself or it is a freshly added API function.

@drpeppercan: Update your minetest_game repository. The API has changed in the doors mod.

Re: ModError :(

PostPosted: Mon Aug 01, 2016 03:16
by drpeppercan
Thank you for replying guys :)

KCoombes, I did rename the directory to dreambuilder.

Krock, I did update the game repo.
This is what I did:
sudo add-apt-repository ppa:minetestdevs/stable
sudo apt-get update

Now the error report is this one (it seems the same though):

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-07-31 23:11:40: ERROR[main]: ========== ERROR FROM LUA ===========
2016-07-31 23:11:40: ERROR[main]: Failed to load and run script from
2016-07-31 23:11:40: ERROR[main]: /home/nelly/.minetest/mods/dreambuilder/prefab_redo/init.lua:
2016-07-31 23:11:40: ERROR[main]: ...e/nelly/.minetest/mods/dreambuilder/prefab_redo/init.lua:141: attempt to call field 'register' (a nil value)
2016-07-31 23:11:40: ERROR[main]: stack traceback:
2016-07-31 23:11:40: ERROR[main]:    ...e/nelly/.minetest/mods/dreambuilder/prefab_redo/init.lua:141: in main chunk
2016-07-31 23:11:40: ERROR[main]: ======= END OF ERROR FROM LUA ========
2016-07-31 23:11:40: ERROR[main]: Server: Failed to load and run /home/nelly/.minetest/mods/dreambuilder/prefab_redo/init.lua
2016-07-31 23:11:40: ERROR[main]: ModError: ModError: Failed to load and run /home/nelly/.minetest/mods/dreambuilder/prefab_redo/init.lua
2016-07-31 23:11:40: ERROR[main]: Error from Lua:
2016-07-31 23:11:40: ERROR[main]: ...e/nelly/.minetest/mods/dreambuilder/prefab_redo/init.lua:141: attempt to call field 'register' (a nil value)
2016-07-31 23:11:40: ERROR[main]: stack traceback:
2016-07-31 23:11:40: ERROR[main]:    ...e/nelly/.minetest/mods/dreambuilder/prefab_redo/init.lua:141: in main chunk
2016-07-31 23:11:40: ERROR[main]: Check debug.txt for details.

Re: ModError :(

PostPosted: Mon Aug 01, 2016 19:12
by MineYoshi
Seems like an error with the code of the mod...
Why you don't try to post the error in this thread:
-https://forum.minetest.net/viewtopic.php?f=11&t=9196 (The official one from the mod)

Maybe the creator (VanessaE) can give you a better solution, or at least say what you did wrong when installing.

Re: ModError :(

PostPosted: Tue Aug 02, 2016 03:08
by drpeppercan
Thank you MY, I'll do that.

DPC

Re: ModError :(

PostPosted: Tue Aug 02, 2016 20:56
by MineYoshi
OK, Looks like you have a good answer.

If you have more questions or problems, feel free to ask, we will answer you!