Error from Lua

User avatar
TheCrafter
Member
 
Posts: 17
Joined: Thu Jul 10, 2014 15:26
In-game: TheCrafter

Error from Lua

by TheCrafter » Fri Jul 11, 2014 07:10

Hello there,

Yesterday, when I first played minetest, it runs smoothly but at the other day which is today when I tried to play minetest in my world it always says this in the debug folder:
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
14:56:03: ERROR[main]: ========== ERROR FROM LUA ===========
14:56:03: ERROR[main]: Failed to load and run script from
14:56:03: ERROR[main]: D:\minetest-0.4.10\bin\..\builtin\init.lua:
14:56:03: ERROR[main]: D:\minetest-0.4.10\bin\..\builtin\game\forceloading.lua:66: bad argument #1 to 'pairs' (table expected, got nil)
14:56:03: ERROR[main]: stack traceback:
14:56:03: ERROR[main]:    [C]: in function 'pairs'
14:56:03: ERROR[main]:    D:\minetest-0.4.10\bin\..\builtin\game\forceloading.lua:66: in main chunk
14:56:03: ERROR[main]:    [C]: in function 'dofile'
14:56:03: ERROR[main]:    D:\minetest-0.4.10\bin\..\builtin\game\init.lua:21: in main chunk
14:56:03: ERROR[main]:    [C]: in function 'dofile'
14:56:03: ERROR[main]:    D:\minetest-0.4.10\bin\..\builtin\init.lua:24: in main chunk
14:56:03: ERROR[main]: ======= END OF ERROR FROM LUA ========
14:56:03: ERROR[main]: ModError: ModError: Failed to load and run D:\minetest-0.4.10\bin\..\builtin\init.lua
Coming SOON.
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

Re: Error from Lua

by webdesigner97 » Fri Jul 11, 2014 09:11

Do you use mods? If yes, which?
 

User avatar
TheCrafter
Member
 
Posts: 17
Joined: Thu Jul 10, 2014 15:26
In-game: TheCrafter

Re: Error from Lua

by TheCrafter » Sat Jul 12, 2014 03:18

webdesigner97 wrote:Do you use mods? If yes, which?

Yes
Here are the mods that I installed:
[*]Areas
[*]Hud
[*]Locked_sign
[*]Player_textures
[*]Sprint
[*]Worldedit
[*]Xban2
Coming SOON.
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

Re: Error from Lua

by webdesigner97 » Sat Jul 12, 2014 08:55

TheCrafter wrote:
webdesigner97 wrote:Do you use mods? If yes, which?

Yes
Here are the mods that I installed:
[*]Areas
[*]Hud
[*]Locked_sign
[*]Player_textures
[*]Sprint
[*]Worldedit
[*]Xban2

hud, locked_sign, player_textures snd xban2 shoudln't cause this error, but areas, sprint and worledit might do so. Disable every mod, and then try this:

- Enable 1 of the mods
- Try playing your world
- If it crashes:
-> Congratulations, you found the mod which causes the crash, contact the developer
- If the world loads
-> Exit, Disable all mods and do this list again
 

User avatar
TheCrafter
Member
 
Posts: 17
Joined: Thu Jul 10, 2014 15:26
In-game: TheCrafter

Re: Error from Lua

by TheCrafter » Sat Jul 12, 2014 09:14

webdesigner97 wrote:
TheCrafter wrote:
webdesigner97 wrote:Do you use mods? If yes, which?

Yes
Here are the mods that I installed:
[*]Areas
[*]Hud
[*]Locked_sign
[*]Player_textures
[*]Sprint
[*]Worldedit
[*]Xban2

hud, locked_sign, player_textures snd xban2 shoudln't cause this error, but areas, sprint and worledit might do so. Disable every mod, and then try this:

- Enable 1 of the mods
- Try playing your world
- If it crashes:
-> Congratulations, you found the mod which causes the crash, contact the developer
- If the world loads
-> Exit, Disable all mods and do this list again

When I tried this almost all of the mods are making this error.
Also for you to know its from the builtin Lua file.
Coming SOON.
 

User avatar
TheCrafter
Member
 
Posts: 17
Joined: Thu Jul 10, 2014 15:26
In-game: TheCrafter

Re: Error from Lua

by TheCrafter » Sat Jul 12, 2014 10:19

Another -Bump-

Still nothing?
Please help.
Coming SOON.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Error from Lua

by Krock » Sat Jul 12, 2014 13:32

There's already a fix in github - it waits to get merged.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: Error from Lua

by kaeza » Sat Jul 12, 2014 13:56

From the code, it seems it fails to deserialize the map blocks to be force-loaded.

Go to the `worlds/yourworld/' directory, and see the size of the `force_loaded.txt' file.

It's most likely empty. Rename it to something else like `force_loaded.old' if it's not empty.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
TheCrafter
Member
 
Posts: 17
Joined: Thu Jul 10, 2014 15:26
In-game: TheCrafter

Re: Error from Lua

by TheCrafter » Sat Jul 12, 2014 16:03

kaeza wrote:From the code, it seems it fails to deserialize the map blocks to be force-loaded.

Go to the `worlds/yourworld/' directory, and see the size of the `force_loaded.txt' file.

It's most likely empty. Rename it to something else like `force_loaded.old' if it's not empty.

Thanks for the help :D
It really worked out.
Coming SOON.
 

User avatar
TheCrafter
Member
 
Posts: 17
Joined: Thu Jul 10, 2014 15:26
In-game: TheCrafter

Re: Error from Lua

by TheCrafter » Sun Jul 13, 2014 03:00

-Bump-

Had this error again in my world. Everytime I create a world then at some time it always makes this error everytime I played that world.
Coming SOON.
 

Nore
Member
 
Posts: 468
Joined: Wed Nov 28, 2012 11:35
GitHub: Ekdohibs

Re: Error from Lua

by Nore » Sun Jul 13, 2014 09:07

Download the latest dev version, it has just been fixed.
 

User avatar
TheCrafter
Member
 
Posts: 17
Joined: Thu Jul 10, 2014 15:26
In-game: TheCrafter

Re: Error from Lua

by TheCrafter » Sun Jul 13, 2014 09:50

Nore wrote:Download the latest dev version, it has just been fixed.

Thank you for responding.
Ill try to download now.
Coming SOON.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 27 guests

cron