4.9 Issue

necron099
Member
 
Posts: 58
Joined: Wed Feb 27, 2013 16:10

4.9 Issue

by necron099 » Tue Jan 14, 2014 23:17

I downloaded and compiled the latest version from git and when I created a new world and hit enter on the keyboard instead of clicking the create button I got this error. I hit enter again and it clears the dialog box and the world starts normally. It's the first time I've gotten this and have been playing minetest since 3.x.

18:07:25: ERROR[main]: MAINMENU ERROR: ...me/fred/minetest/4.9-dev/bin/../builtin/mainmenu.lua:766: attempt to compare number with nil
18:07:25: ERROR[main]: stack traceback:
18:07:25: ERROR[main]: ...me/fred/minetest/4.9-dev/bin/../builtin/mainmenu.lua:766: in function 'handle_singleplayer_buttons'
18:07:25: ERROR[main]: ...me/fred/minetest/4.9-dev/bin/../builtin/mainmenu.lua:1242: in function <...me/fred/minetest/4.9-dev/bin/../builtin/mainmenu.lua:1217>
18:07:29: ACTION[main]: .__ __ __
18:07:29: ACTION[main]: _____ |__| ____ _____/ |_ ____ _______/ |_
18:07:29: ACTION[main]: / \| |/ \_/ __ \ __\/ __ \ / ___/\ __\
18:07:29: ACTION[main]: | Y Y \ | | \ ___/| | \ ___/ \___ \ | |
18:07:29: ACTION[main]: |__|_| /__|___| /\___ >__| \___ >____ > |__|
18:07:29: ACTION[main]: \/ \/ \/ \/ \/
18:07:29: ACTION[main]: World at [/home/fred/minetest/4.9-dev/bin/../worlds/firstmini]
18:07:29: ACTION[main]: Server for gameid="minimal" listening on port 60503.
[minimal] giving initial stuff to player
18:07:29: ACTION[ServerThread]: singleplayer [127.0.0.1] joins game. List of players: singleplayer
Font size: 8 17
 

prestidigitator
Member
 
Posts: 632
Joined: Thu Feb 21, 2013 23:54

by prestidigitator » Wed Jan 15, 2014 05:04

The menu recently got ported to Lua. This bug appears to be a comparison in that new Lua code. It's not surprising you didn't see it in past versions.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Wed Jan 15, 2014 10:47

prestidigitator, you are incorrect. This has nothing to do with the menu having been ported to Lua. The menu was converted to Lua some weeks ago, but this bug was introduced just a couple of days ago due to an unrelated feature upgrade to the Lua API.

Necron099, roll your copy back to commit 2b1eff7725 and rebuild and it should work.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Jan 15, 2014 16:50

prestidigitator wrote:The menu recently got ported to Lua. This bug appears to be a comparison in that new Lua code. It's not surprising you didn't see it in past versions.

The Lua menu was in 0.4.8, too.
 

prestidigitator
Member
 
Posts: 632
Joined: Thu Feb 21, 2013 23:54

by prestidigitator » Wed Jan 15, 2014 19:34

Okay. No worries. I was simply saying the comparison appears to be in mainmenu.lua, so it isn't too surprising necron099 hasn't seen the bug despite having played since very early versions.
 

necron099
Member
 
Posts: 58
Joined: Wed Feb 27, 2013 16:10

by necron099 » Wed Jan 15, 2014 19:57

I did what VanessaE said and the bug isn't there. Thanks.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 12 guests

cron