Page 1 of 1

PilzAdam's latest 2013-08-07 Windows build on XP Menu problem

PostPosted: Thu Aug 08, 2013 04:37
by LionsDen
I downloaded PilzAdam's latest build on 2013-08-07 and was playing fine with it. Then just a tiny bit of time ago I accidentally deleted some worlds without using the main menu of minetest. Now I can't load that version of minetest any more. I am including the error from debug.txt below. I have tried to modify minetest.conf to remove references to games and I even deleted minetest.conf completely and the message still comes up. I haven't tried any of the other builds but thought I should report this as it is likely that it will affect all of them. Here is the debug.txt.

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

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

00:30:24: ERROR[main]: ========== ERROR FROM LUA WHILE CREATING MAIN MENU ===========
00:30:24: ERROR[main]: Failed to load and run script from
00:30:24: ERROR[main]: C:\Games\Minetest Indev\bin\..\builtin\mainmenu.lua:
00:30:24: ERROR[main]: C:\Games\Minetest Indev\bin\..\builtin\mainmenu.lua:1190: attempt to index local 'game' (a nil value)
00:30:24: ERROR[main]: stack traceback:
00:30:24: ERROR[main]:     C:\Games\Minetest Indev\bin\..\builtin\mainmenu.lua:1190: in function 'update_gametype'
00:30:24: ERROR[main]:     C:\Games\Minetest Indev\bin\..\builtin\mainmenu.lua:870: in function 'init'
00:30:24: ERROR[main]:     C:\Games\Minetest Indev\bin\..\builtin\mainmenu.lua:1203: in main chunk
00:30:24: ERROR[main]: =================== END OF ERROR FROM LUA ====================
00:30:24: ERROR[main]: GUIEngine::GUIEngine unable to load builtin menu

In thread 1784:
/home/adam/Minetest/win32/minetest/src/guiEngine.cpp:196: GUIEngine: Assertion '"no future without mainmenu" == 0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 1784:
#0  main


I figure that this might be a problem if anyone else out there deletes worlds using their file manager instead of minetest. One of the worlds that I deleted was the last world I was testing.

PostPosted: Thu Aug 08, 2013 05:46
by Element
have you tried reinstalling minetest and see whats missing be comparing the files

PostPosted: Thu Aug 08, 2013 11:29
by PilzAdam
How many games do you have installed (in the games/ folder)?

EDIT: I am able to reproduce this by deleting all the games I have installed.

PostPosted: Thu Aug 08, 2013 16:39
by LionsDen
Element wrote:have you tried reinstalling minetest and see whats missing be comparing the files


No, It happened just shortly before bed so I haven't tried anything with it since.

EDIT #2: I just deleted all but the mods, textures, screenshots and fonts directories and put the others back in from the zip file and it started up normally again.

PilzAdam wrote:How many games do you have installed (in the games/ folder)?

EDIT: I am able to reproduce this by deleting all the games I have installed.


Before I did the deletion, I think I had between 8 and 10 worlds going. After the deletion, I have 6 worlds.

It's good that you were able to reproduce it. I did look at the area the error was coming from and even tried a quick little fix of my own to see if it would do anything but since I was going to bed and my quick little fix did nothing I posted the error and went to bed. I thought the error was important enough to at least post in case anyone else had this type of problem.

EDIT: sahortly --> shortly