MAINMENU ERROR (I killed minetest!)

Kilarin
Member
 
Posts: 649
Joined: Mon Mar 10, 2014 00:36

MAINMENU ERROR (I killed minetest!)

by Kilarin » Thu May 15, 2014 05:17

I've never played multiplayer minetest, so I thought I would give it a try. So I tried clicking on the server tab, figured out that was for starting a server yourself? Tried clicking on the client tab, and I was going to enter the info for the Xanadu server, then I'm not certain what I hit, but suddenly minetest got the following error. it wouldn't go away, every click shows the error again. So I killed minetest and started it up again.

oops, now it flashes up the main menu for just a moment, then goes directly to this:
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
00:11:41: ERROR[main]: MAINMENU ERROR: /usr/share/minetest/builtin/mainmenu/init.lua:911: attempt to get length of field 'favorites' (a nil value)
00:11:41: ERROR[main]: stack traceback:
00:11:41: ERROR[main]:    /usr/share/minetest/builtin/mainmenu/init.lua:911: in function 'buildfunc'
00:11:41: ERROR[main]:    /usr/share/minetest/builtin/mainmenu/init.lua:368: in function 'gettab'
00:11:41: ERROR[main]:    /usr/share/minetest/builtin/mainmenu/init.lua:177: in function 'update_menu'
00:11:41: ERROR[main]:    /usr/share/minetest/builtin/mainmenu/init.lua:1305: in function 'event_handler'
00:11:41: ERROR[main]:    /usr/share/minetest/builtin/mainmenu/init.lua:226: in function </usr/share/minetest/builtin/mainmenu/init.lua:224>
00:11:41: ERROR[main]:    /usr/share/minetest/builtin/common/async_event.lua:7: in function </usr/share/minetest/builtin/common/async_event.lua:4>


What did I do?
 

User avatar
HeroOfTheWinds
Member
 
Posts: 470
Joined: Wed Apr 23, 2014 23:16
GitHub: HeroOfTheWinds
IRC: WindHero

Re: MAINMENU ERROR (I killed minetest!)

by HeroOfTheWinds » Thu May 15, 2014 05:39

Looks like an engine error, not your fault.
For now, to get your Minetest back working, open minetest.conf, scroll until you find main_menu_tab, and set it to
main_menu_tab = singleplayer

Then refrain from clicking Client.
Nam ex spatio, omnes res venire possunt.
Why let the ground limit you when you can reach for the sky?
Back to college now, yay for sophomore year schedules. :P
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: MAINMENU ERROR (I killed minetest!)

by Calinou » Thu May 15, 2014 07:53

Latest Git builds should fix this, so use it.

Alternatively, you could create a placebo favorites.txt file in client/serverlist/.
 

Amaz
Member
 
Posts: 328
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

Re: MAINMENU ERROR (I killed minetest!)

by Amaz » Thu May 15, 2014 09:44

Calinou wrote:Latest Git builds should fix this, so use it.

Alternatively, you could create a placebo favorites.txt file in client/serverlist/.

I'm using the latest git version, and it happens to me. This is the first time I got the error...
 

User avatar
BlockMen
Member
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen

Re: MAINMENU ERROR (I killed minetest!)

by BlockMen » Thu May 15, 2014 10:02

Calinou, no its not fixed yet and you also cant fix it by creating that file.

Here i already wrote what to do: viewtopic.php?p=141552#p141552
 

Kilarin
Member
 
Posts: 649
Joined: Mon Mar 10, 2014 00:36

Re: MAINMENU ERROR (I killed minetest!)

by Kilarin » Thu May 15, 2014 12:09

Calinou wrote:Alternatively, you could create a placebo favorites.txt file in client/serverlist/.

Didn't work, but thanks for the attempt. :)

HeroOfTheWinds wrote: open minetest.conf, scroll until you find main_menu_tab, and set it to
main_menu_tab = singleplayer

Worked! I'm back to being able to play single player again! Thanks!

Calinou wrote:Calinou, no its not fixed yet and you also cant fix it by creating that file.

And that fixed it. I think what I did that "broke" it was checking the "public server list" box. But now I can click on the client tab and it doesn't crash and the public server list is populated.

Unfortunately, I still can't join most multiplayer games because my old xubuntu 12.04 machine has some problem that won't let it run most mods without locking up minetest. And that apparently applies even when running as a client. I tried upgrading xubuntu to 14.04, and got "could not calculate the upgrade". Apparenlty I've got too many broken packages. I'll need to do 14.04 as a clean install and then try to restore all of my data. AND, thats a LOT of work. And SCARY work. So I've been putting it off... :)

Thank you very much everyone! The Minetest community is very helpful!!!
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 15 guests