Page 1 of 1

input config error

PostPosted: 26 Aug 2010, 13:25
by chaorace
Okay, well being new to STK and just recently (six months ago) came to the linux ubuntu scene, I need an absolute beginner's guide to fixing this error:

"Your input config file is not compatible with this version of STK
Please re-configure your key-bindings"

I am using Linux Ubuntu maverick meerkat alpha 2
I am using STK .7 alpha 2 installed with SVN
I have the most recent video drivers and irrlicht packages
the game runs but crashes on the track select screen
I CAN use a track by going to the challenges screen

screenshot:
Image

Re: input config error

PostPosted: 26 Aug 2010, 16:07
by Auria
Hi,

the crash is not normal. Maybe it was fixed in development trunk, a lot happened since 0.7 alpha 2 (hopefully)

Now, you should just need to go in the options screen and configure your input keys. PS: I don't see the image you apparently wanted to post

Re: input config error

PostPosted: 26 Aug 2010, 22:03
by chaorace
Thanks I'll post a link to the picture http://img826.imageshack.us/img826/4356/screenshotpo.png
The error message is gone.
However, even when I change the keyboard config it still crashes when I try to go to the track selection screen.
I can still do the challenges...

Update:
I changed the resolution and I could get to the track select screen (problem with the mesa or opengl packages?) but when I try to scroll using the arrows it crashes again...
I should try updating the dependencies... could you list EVERY possible package I MAY need to install for STK to work?

Re-update:
I get an supported texture format error in the terminal and this: the focus dispatcher in kart selection screen can't find the widget for player 0

Re: input config error

PostPosted: 27 Aug 2010, 16:18
by Auria
I don't think this can be caused by a dependency problem, the game would not run without them.

when I change the keyboard config it still crashes when I try to go to the track selection screen


Ok, but if you close STK and re-open it, then it works? (it's important that we know precisely how to reproduce the bug)

I changed the resolution and I could get to the track select screen (problem with the mesa or opengl packages?) but when I try to scroll using the arrows it crashes again...

Do you mean can't? Cause if you can then it's all normal ;)
Now, I know bugs with resolution changing were found and fixed shortly after the 0.7 alpha 2 release, so next release should be much more stable in this regard.

Re: input config error

PostPosted: 27 Aug 2010, 17:04
by KroArtem
In fact looks like I found a similar problem, may be it is connected with the problem above.
Open STK, choose the button 'Race' using arrows, then choose the kart and the track. (I also made it by arrows)
When appears the box with previous results and the button 'Start the race' push the button 'down' and STK segfaults.
Here is the output from terminal:
{l Code}: {l Select All Code}
artem@artem-desktop:~/SVN/supertuxkart/src$ gdb ./supertuxkart
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/artem/SVN/supertuxkart/src/supertuxkart...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/artem/SVN/supertuxkart/src/supertuxkart
[Thread debugging using libthread_db enabled]
Irrlicht Engine version 1.7.1
Linux 2.6.35-19-generic #26-Ubuntu SMP Thu Aug 26 19:13:04 UTC 2010 x86_64
Data files will be fetched from: '..'
creating...:/home/artem/.config
creating...:/home/artem/.config/supertuxkart
creating...:/home/artem/.config/supertuxkart
creating...:/home/artem/.local/share/supertuxkart
creating...:/home/artem/.local/share/supertuxkart/data/
Irrlicht Engine version 1.7.1
Linux 2.6.35-19-generic #26-Ubuntu SMP Thu Aug 26 19:13:04 UTC 2010 x86_64
Trying OpenGL rendering.
[New Thread 0x7fffee0f3710 (LWP 6251)]
[New Thread 0x7fffe8f5d710 (LWP 6253)]
Music information file 'boom_boom_boom.music' not found - ignored.
Music information file 'Ethereal_spectrum.music' not found - ignored.
Can't find music file 'Ethereal_spectrum.music' - ignored.
Can't find music file 'boom_boom_boom.music' - ignored.
TrackManager: Couldn't find track: 'islandtrack'
Grand Prix 'This Grand Prix will not be available.
TrackManager: Couldn't find track: 'fortmagma'
Grand Prix 'This Grand Prix will not be available.
TrackManager: Couldn't find track: 'olivermath'
Grand Prix 'This Grand Prix will not be available.
TrackManager: Couldn't find track: 'islandtrack'
Grand Prix 'This Grand Prix will not be available.
TrackManager: Couldn't find track: 'skyline'
Grand Prix 'This Grand Prix will not be available.
addons dir:/home/artem/.local/share/supertuxkart/data/karts/
ChallengeData : Undefined or incorrect value for 'gp' in challenge file '../data/followtheleader.challenge'.

/!\ An error occurred while loading challenge file '../data/followtheleader.challenge' : Undefined or incorrect value for 'gp' in challenge file '../data/followtheleader.challenge'. : challenge will be ignored.

TrackManager: Couldn't find track: 'olivermath'
ChallengeData : Undefined or incorrect value for 'track' in challenge file '../data/tracks/crescentcrossing/crescentcrossing.challenge'.

/!\ An error occurred while loading challenge file '../data/tracks/crescentcrossing/crescentcrossing.challenge' : Undefined or incorrect value for 'track' in challenge file '../data/tracks/crescentcrossing/crescentcrossing.challenge'. : challenge will be ignored.

TrackManager: Couldn't find track: 'racetrack'
ChallengeData : Undefined or incorrect value for 'track' in challenge file '../data/tracks/jungle/jungle.challenge'.

/!\ An error occurred while loading challenge file '../data/tracks/jungle/jungle.challenge' : Undefined or incorrect value for 'track' in challenge file '../data/tracks/jungle/jungle.challenge'. : challenge will be ignored.

ChallengeData : Undefined or incorrect value for 'gp' in challenge file '../data/grandprix/alltracks.challenge'.

/!\ An error occurred while loading challenge file '../data/grandprix/alltracks.challenge' : Undefined or incorrect value for 'gp' in challenge file '../data/grandprix/alltracks.challenge'. : challenge will be ignored.

TrackManager: Couldn't find track: 'islandtrack'
ChallengeData : Undefined or incorrect value for 'track' in challenge file '../data/grandprix/atworldsend.challenge'.

/!\ An error occurred while loading challenge file '../data/grandprix/atworldsend.challenge' : Undefined or incorrect value for 'track' in challenge file '../data/grandprix/atworldsend.challenge'. : challenge will be ignored.

ChallengeData : Undefined or incorrect value for 'gp' in challenge file '../data/grandprix/snagdrive.challenge'.

/!\ An error occurred while loading challenge file '../data/grandprix/snagdrive.challenge' : Undefined or incorrect value for 'gp' in challenge file '../data/grandprix/snagdrive.challenge'. : challenge will be ignored.

Challenge prerequisite 'energymathclass' of 'energyshiftingsands' not found - ignored
Challenge prerequisite 'worldsend' of 'snowmountain' not found - ignored
Solved challenge!! tollwaytime
Challenge prerequisite 'energymathclass' of 'energyshiftingsands' not found - ignored
Challenge prerequisite 'worldsend' of 'snowmountain' not found - ignored
Download successfull
No new server.
[Thread 0x7fffe8f5d710 (LWP 6253) exited]
Loaded texture: /home/artem/SVN/supertuxkart/data/gui/logo.png
Loaded texture: /home/artem/SVN/supertuxkart/data/gui/main_race.png
Loaded texture: /home/artem/SVN/supertuxkart/data/gui/main_network.png
Loaded texture: /home/artem/SVN/supertuxkart/data/gui/challenge.png
Loaded texture: /home/artem/SVN/supertuxkart/data/gui/addons.png
Loaded texture: /home/artem/SVN/supertuxkart/data/gui/main_options.png
Loaded texture: /home/artem/SVN/supertuxkart/data/gui/main_help.png
Loaded texture: /home/artem/SVN/supertuxkart/data/gui/main_about.png
Loaded texture: /home/artem/SVN/supertuxkart/data/gui/main_quit.png
[New Thread 0x7fffde177710 (LWP 6254)]
Downloading: http://download.tuxfamily.org/stkaddons/0.7//news
Loaded texture: /home/artem/SVN/supertuxkart/data/fonts/LayneHansom0.png
Loaded texture: /home/artem/SVN/supertuxkart/data/fonts/AR_PL_SungtiL_GB0.png
Download progress: 0%
Download progress: 0%
Download progress: 100%
Download progress: 100%
Download progress: 100%
Download successfull
[Thread 0x7fffde177710 (LWP 6254) exited]
WARNING: the focus dispatcher in kart selection screen can't find the widget for player 0!
Loaded texture: /home/artem/SVN/supertuxkart/data/textures/transparence.png
Loaded texture: /home/artem/SVN/supertuxkart/data/gui/random_kart.png
Unsupported texture format
Loaded texture: /home/artem/SVN/supertuxkart/data/gui/difficulty_easy.png
Loaded texture: /home/artem/SVN/supertuxkart/data/gui/difficulty_medium.png
Loaded texture: /home/artem/SVN/supertuxkart/data/gui/difficulty_hard.png
Loaded texture: /home/artem/SVN/supertuxkart/data/gui/mode_normal.png
Loaded texture: /home/artem/SVN/supertuxkart/data/gui/mode_tt.png
Loaded texture: /home/artem/SVN/supertuxkart/data/gui/mode_ftl.png
Loaded texture: /home/artem/SVN/supertuxkart/data/tracks/lighthouse/sshot-lighthouse.png
Loaded texture: /home/artem/SVN/supertuxkart/data/tracks/beach/sshot-beach.png
Loaded texture: /home/artem/SVN/supertuxkart/data/tracks/jungle/sshot-jungle.png
Loaded texture: /home/artem/SVN/supertuxkart/data/tracks/sandtrack/sshot-sandtrack.png
Loaded texture: /home/artem/SVN/supertuxkart/data/tracks/snowtuxpeak/sshot-snowtuxpeak.jpg
Loaded texture: /home/artem/SVN/supertuxkart/data/tracks/canyon/canyon_screenshot.png
Loaded texture: /home/artem/SVN/supertuxkart/data/tracks/secretgarden/sshot-secretgarden.png
Loaded texture: /home/artem/SVN/supertuxkart/data/tracks/startrack/screenshot-startrack.png
Loaded texture: /home/artem/SVN/supertuxkart/data/tracks/crescentcrossing/sshot-crescent.png
Loaded texture: /home/artem/SVN/supertuxkart/data/tracks/mines/sshot-mines.png
Loaded texture: /home/artem/SVN/supertuxkart/data/tracks/snowmountain/sshot-snowmountain.png
Loaded texture: /home/artem/SVN/supertuxkart/data/tracks/tuxtollway/sshot-tuxtrack.png
Loaded texture: /home/artem/SVN/supertuxkart/data/fonts/title_font_2.png
Loaded texture: /home/artem/SVN/supertuxkart/data/textures/cup_bronze.png

Program received signal SIGSEGV, Segmentation fault.
0x0000000000479ef9 in GUIEngine::Widget::setFocusForPlayer(int) ()
(gdb) bt
#0  0x0000000000479ef9 in GUIEngine::Widget::setFocusForPlayer(int) ()
#1  0x000000000045f871 in GUIEngine::EventHandler::navigateDown(int, Input::InputType, bool) ()
#2  0x0000000000460471 in GUIEngine::EventHandler::processGUIAction(PlayerAction, unsigned int, Input::InputType, int) ()
#3  0x000000000049b472 in InputManager::dispatchInput(Input::InputType, int, int, Input::AxisDirection, int) ()
#4  0x000000000049bcf4 in InputManager::input(irr::SEvent const&) ()
#5  0x000000000046030f in GUIEngine::EventHandler::OnEvent(irr::SEvent const&)
    ()
#6  0x00007ffff7a8e11b in irr::CIrrDeviceStub::postEventFromUser (
    this=0x86d6e0, event=...) at CIrrDeviceStub.cpp:211
#7  0x00007ffff7a83d8f in irr::CIrrDeviceLinux::run (this=0x86d6e0)
    at CIrrDeviceLinux.cpp:1010
#8  0x0000000000444e30 in IrrDriver::update(float) ()
#9  0x0000000000410eef in MainLoop::run() ()
#10 0x000000000040fca8 in main ()


Hope this error is connected with topic-starter and fixing this problem will help chaorace.

Upd. Should I repost this bug on sourceforge so Joerg will see it there today?
Upd 2. Created an artifact on the tracker.

Re: input config error

PostPosted: 27 Aug 2010, 22:24
by chaorace
I'll post what my terminal says for comparison...
{l Code}: {l Select All Code}
Irrlicht Engine version 1.7.1
Linux 2.6.35-19-generic #25-Ubuntu SMP Tue Aug 24 23:09:22 UTC 2010 i686
Data files will be fetched from: '/home/chris/trunk/src/..'
creating...:/home/chris/.config
creating...:/home/chris/.config/supertuxkart
Irrlicht Engine version 1.7.1
Linux 2.6.35-19-generic #25-Ubuntu SMP Tue Aug 24 23:09:22 UTC 2010 i686
Trying OpenGL rendering.
Music information file 'boom_boom_boom.music' not found - ignored.
Music information file 'Ethereal_spectrum.music' not found - ignored.
Can't find music file 'Ethereal_spectrum.music' - ignored.
Can't find music file 'boom_boom_boom.music' - ignored.
TrackManager: Couldn't find track: 'islandtrack'
Grand Prix 'All tracks': Track 'islandtrack' does not exist!
This Grand Prix will not be available.
TrackManager: Couldn't find track: 'fortmagma'
Grand Prix 'At World's End': Track 'fortmagma' does not exist!
This Grand Prix will not be available.
TrackManager: Couldn't find track: 'olivermath'
Grand Prix 'Penguin Playground': Track 'olivermath' does not exist!
This Grand Prix will not be available.
TrackManager: Couldn't find track: 'islandtrack'
Grand Prix 'Snag Drive': Track 'islandtrack' does not exist!
This Grand Prix will not be available.
TrackManager: Couldn't find track: 'skyline'
Grand Prix 'To the Moon and Back': Track 'skyline' does not exist!
This Grand Prix will not be available.
ChallengeData : Undefined or incorrect value for 'gp' in challenge file '/home/chris/trunk/src/../data/followtheleader.challenge'.

/!\ An error occurred while loading challenge file '/home/chris/trunk/src/../data/followtheleader.challenge' : Undefined or incorrect value for 'gp' in challenge file '/home/chris/trunk/src/../data/followtheleader.challenge'. : challenge will be ignored.

TrackManager: Couldn't find track: 'racetrack'
ChallengeData : Undefined or incorrect value for 'track' in challenge file '/home/chris/trunk/src/../data/tracks/jungle/jungle.challenge'.

/!\ An error occurred while loading challenge file '/home/chris/trunk/src/../data/tracks/jungle/jungle.challenge' : Undefined or incorrect value for 'track' in challenge file '/home/chris/trunk/src/../data/tracks/jungle/jungle.challenge'. : challenge will be ignored.

ChallengeData : Undefined or incorrect value for 'gp' in challenge file '/home/chris/trunk/src/../data/grandprix/alltracks.challenge'.

/!\ An error occurred while loading challenge file '/home/chris/trunk/src/../data/grandprix/alltracks.challenge' : Undefined or incorrect value for 'gp' in challenge file '/home/chris/trunk/src/../data/grandprix/alltracks.challenge'. : challenge will be ignored.

TrackManager: Couldn't find track: 'islandtrack'
ChallengeData : Undefined or incorrect value for 'track' in challenge file '/home/chris/trunk/src/../data/grandprix/atworldsend.challenge'.

/!\ An error occurred while loading challenge file '/home/chris/trunk/src/../data/grandprix/atworldsend.challenge' : Undefined or incorrect value for 'track' in challenge file '/home/chris/trunk/src/../data/grandprix/atworldsend.challenge'. : challenge will be ignored.

ChallengeData : Undefined or incorrect value for 'gp' in challenge file '/home/chris/trunk/src/../data/grandprix/snagdrive.challenge'.

/!\ An error occurred while loading challenge file '/home/chris/trunk/src/../data/grandprix/snagdrive.challenge' : Undefined or incorrect value for 'gp' in challenge file '/home/chris/trunk/src/../data/grandprix/snagdrive.challenge'. : challenge will be ignored.

Challenge prerequisite 'energymathclass' of 'energyshiftingsands' not found - ignored
Challenge prerequisite 'worldsend' of 'snowmountain' not found - ignored
Challenge prerequisite 'energymathclass' of 'energyshiftingsands' not found - ignored
Challenge prerequisite 'worldsend' of 'snowmountain' not found - ignored
Loaded texture: /home/chris/trunk/data/gui/logo.png
Loaded texture: /home/chris/trunk/data/gui/main_race.png
Loaded texture: /home/chris/trunk/data/gui/main_network.png
Loaded texture: /home/chris/trunk/data/gui/challenge.png
Loaded texture: /home/chris/trunk/data/gui/main_options.png
Loaded texture: /home/chris/trunk/data/gui/main_help.png
Loaded texture: /home/chris/trunk/data/gui/main_about.png
Loaded texture: /home/chris/trunk/data/gui/main_quit.png
startMusic : m_normal_filename=</home/chris/trunk/src/../data/music//MayDayMayhem.ogg>
Loaded texture: /home/chris/trunk/data/fonts/LayneHansom0.png
WARNING: the focus dispatcher in kart selection screen can't find the widget for player 0!
Loaded texture: /home/chris/trunk/data/textures/transparence.png
Loaded texture: /home/chris/trunk/data/gui/random_kart.png
Unsupported texture format
Loaded texture: /home/chris/trunk/data/fonts/title_font.png
Loaded texture: /home/chris/trunk/data/gui/difficulty_easy.png
Loaded texture: /home/chris/trunk/data/gui/difficulty_medium.png
Loaded texture: /home/chris/trunk/data/gui/difficulty_hard.png
Loaded texture: /home/chris/trunk/data/gui/mode_normal.png
Loaded texture: /home/chris/trunk/data/gui/mode_tt.png
Loaded texture: /home/chris/trunk/data/gui/mode_ftl.png
Loaded texture: /home/chris/trunk/data/tracks/lighthouse/sshot-lighthouse.png
Loaded texture: /home/chris/trunk/data/tracks/beach/sshot-beach.png
Loaded texture: /home/chris/trunk/data/tracks/jungle/sshot-jungle.png
Loaded texture: /home/chris/trunk/data/tracks/mines/sshot-mines.png
Loaded texture: /home/chris/trunk/data/tracks/canyon/canyon_screenshot.png
Loaded texture: /home/chris/trunk/data/tracks/sandtrack/sshot-sandtrack.png
Loaded texture: /home/chris/trunk/data/textures/cup_bronze.png
Loaded texture: /home/chris/trunk/data/textures/gui_lock.png


Well I fixed the boom boom music error, but couldn't fix the rest...

I fixed it because SVN saves boom_boom_boom.music as Boom_boom_boom.music. This slight naming error causes STK to believe boom_boom_boom.music is absent. All I did was change the file name of boom_boom_boom.music.

Could SVN errors be the cause of my problems? I dunno.

Re: input config error

PostPosted: 28 Aug 2010, 10:36
by acme_pjz
Well, I can't reproduce this bug under Windows :|

Re: input config error

PostPosted: 28 Aug 2010, 10:49
by KroArtem
No, SVN couldn't be the reason of your errors. SVN is just a way to receive files from Internet. It is a bad comparison, but it is something like http or ftp.
Let's wait for Auria's or hiker's answer, may be your error is already fixed in newer version (from SVN) of Supertuxkart. :)

Re: input config error

PostPosted: 28 Aug 2010, 15:38
by Auria
Hi,

the crash bug with arrows has been fixed in SVN, thanks for the report :)

regarding the music bug, thanks for the report, I'll look at it

Re: input config error

PostPosted: 28 Aug 2010, 15:47
by Auria
Hi again, the music issues have been fixed in SVN, thanks for reporting :)

The main developers of STK :
1) develop with music off
2) use Windows and OSX, both of which are case-insensitive

this means we are prone to miss issues like that, so thanks for testing and reporting

Re: input config error

PostPosted: 28 Aug 2010, 17:07
by MCMic
You have no main developers under GNU/Linux :shock:

But why haven't they still seen the light :eew:

Re: input config error

PostPosted: 28 Aug 2010, 18:31
by Auria
Joerg and I both have Linux partitions, it's just that my linux partition is giving me a lot of trouble with e.g. audio and graphics card drivers, so I don't use it very often for production

Re: input config error

PostPosted: 28 Aug 2010, 18:54
by chaorace
ok thanks for the feedback!
So should I just use SVN checkout to update?

Re: input config error

PostPosted: 28 Aug 2010, 18:58
by MCMic
chaorace {l Wrote}:ok thanks for the feedback!
So should I just use SVN checkout to update?

No, you should svn update to update :)

Re: input config error

PostPosted: 28 Aug 2010, 19:07
by chaorace
awesome(?) thanks again. Hasta Luego Amigos!

Re: input config error

PostPosted: 28 Aug 2010, 23:36
by Arthur
MCMic {l Wrote}:
chaorace {l Wrote}:ok thanks for the feedback!
So should I just use SVN checkout to update?

No, you should svn update to update :)

If he's using the alpha 2 version, it is an update to co from svn to him. :P

Re: input config error

PostPosted: 28 Aug 2010, 23:54
by Auria
Get the SVN revision if you feel so inclined :) but we should hopefully release another alpha/beta/... "soonish" for people to keep up to date with the latest changes

Re: input config error

PostPosted: 29 Aug 2010, 00:15
by chaorace
soonish? YES!!!
I was curious when a new release was coming out ( I looked at the dates of the previous releases and I figured a new release was due)
I have a few ideas but I'll post it in a separate thread because this thread is a little off topic

Re: input config error

PostPosted: 29 Aug 2010, 07:47
by hiker
chaorace {l Wrote}:soonish? YES!!!
I was curious when a new release was coming out ( I looked at the dates of the previous releases and I figured a new release was due)
I have a few ideas but I'll post it in a separate thread because this thread is a little off topic

Yes, this release has taken ages. We have added a lot of features, and that took a lot longer than anticipated.

I have started to work mostly on bug fixes now, so hopefully within a few weeks we can do a last alpha (or perhaps even beta) release, so that we can get the remaining tracks ported (or replaced with new/better ones), and then we are ready for a RC.

Cheers,
Joerg

Re: input config error

PostPosted: 29 Aug 2010, 07:58
by hiker
MCMic {l Wrote}:You have no main developers under GNU/Linux :shock:

I have access to a linux system I can use for testing and verification (e.g. build and install procedure), so that's not really a problem.

But why haven't they still seen the light :eew:

But I have - after ages of developing in Linux darkness, I've found OSX ... and Visual Studio ;) ;)

A bit more seriously: No need for a flame war here - I work with Linux professionally, so overall I am quite happy with it. But I have to admit that using VS was a huge step forward for me in developing STK.

Cheers,
Joerg