Bug 13565

Summary: Impossible to enter any level in Supertuxkart, story mode
Product: Mageia Reporter: Julien Gouesse <gouessej>
Component: RPM PackagesAssignee: Rémi Verschelde <rverschelde>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: gouessej, lists.jjorge, rverschelde
Version: 4   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Julien Gouesse 2014-06-21 14:55:57 CEST
When I try to enter any level, the game freezes, I only get that in the error logs:
[gouessej@localhost ~]$ more .config/supertuxkart/stdout.log
[warn   ] overworld: cannot find kart 'audacity-girl', will revert to default

[warn   ] material: Track uses deprecated texture 'grass.jpg'
Comment 1 Julien Gouesse 2014-06-21 15:04:22 CEST
Downloading the missing kart allows to work around the problem but there is still a bug.

Actually, after an upgrade (of Mageia), if you try to enter a level without downloading the karts you had already downloaded before the upgrade, the game freezes.

CC: (none) => gouessej

David Walser 2014-06-22 17:52:11 CEST

CC: (none) => lists.jjorge
Assignee: bugsquad => mageia

Comment 2 Rémi Verschelde 2014-06-22 20:01:22 CEST
Hi Julien.

I'm not sure this is properly a bug (at least on Mageia's side). Mageia 3 had SuperTuxKart 0.8 while Mageia 4 has version 0.8.1, and since a lot of changes happened between the two versions, one might expect that the addons downloaded for STK 0.8 are not compatible with STK 0.8.1 (or simply the former did not intall karts in the same place as the latter).

I'll let Damien check if it's a bug that can be fixed or an upstream issue for which we can't do much.

CC: (none) => remi

Comment 3 Rémi Verschelde 2014-06-22 20:27:34 CEST
Actually I installed STK 0.8 using the mga3 package, installed two additional karts and then installed STK 0.8.1 (using the cauldron package, but it isn't that different from the mga4 one).

I could not reproduce the freeze, I got these warnings in the error log, but I could play using the Chinchila kart nevertheless:
> [warn   ] EventHandler: Error while loading kart 'Chinchila':
> [warn   ] Irrlicht: Could not open file of texture: chinch-fur.rgb
> [warn   ] EventHandler: Error while loading kart 'Chinchila':
> [warn   ] Irrlicht: Could not open file of texture: chinch-skin.rgb

Just to make sure, I uninstalled and reinstalled the Chinchila kart in STK 0.8.1, but the same errors are displayed (and those files are not in the ~/.local/share/supertuxkart/addons/karts/chinchila/ directory, so most likely the kart data is not up-to-date).

So yes actually there might be an issue with the upgrade from mga3 to mga4. I suppose you kept your home directory with the supertuxkart addons files. I'm not sure what went wrong then :-/
Comment 4 Julien Gouesse 2014-06-22 20:36:57 CEST
Yes I kept my home directory as usual. I see what you mean. STK 0.8.1 tried to use the addons installed with STK 0.8. Maybe the version number of the addon should be encoded in order to avoid  attempting to load obsolete ones.
Comment 5 Rémi Verschelde 2014-06-22 21:06:02 CEST
It might be worth opening a topic on STK's forum on FreeGameDev to get some feedback for the STK devs on this issue: Did the addon system change between versions 0.8 and 0.8.1? Is the update supposed to work without any issue when addons are installed? and so on.
Comment 6 José Jorge 2014-06-23 08:34:27 CEST
My game box wad a MGA3 with all STK add-ons. It was upgraded to STK 0.8.1 and everything still works nicely...
Comment 7 Julien Gouesse 2014-06-23 14:46:15 CEST
(In reply to Rémi Verschelde from comment #5)
> It might be worth opening a topic on STK's forum on FreeGameDev to get some
> feedback for the STK devs on this issue: Did the addon system change between
> versions 0.8 and 0.8.1? Is the update supposed to work without any issue
> when addons are installed? and so on.

I'll do so.

(In reply to José Jorge from comment #6)
> My game box wad a MGA3 with all STK add-ons. It was upgraded to STK 0.8.1
> and everything still works nicely...

Did you have to download all add-ons anew? In my case, it worked nicely only once I downloaded them "anew" after the upgrade.
Comment 8 Samuel Verschelde 2015-09-21 13:18:05 CEST
Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer 
maintained, which means that it will not receive any further security or bug 
fix updates.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version.

Bug Reporter: Thank you for reporting this issue and we are sorry that we weren't 
able to fix it before Mageia 4's end of life. If you are able to reproduce it 
against a later version of Mageia, you are encouraged to click on "Version" and 
change it against that version of Mageia. If it's valid in several versions, 
select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].

[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/
Rémi Verschelde 2015-09-21 14:00:18 CEST

Assignee: mageia => rverschelde

Comment 9 Rémi Verschelde 2015-09-21 14:02:46 CEST
Closing as OLD as it was seemingly an upgrade issue between STK of Mageia 3 and Mageia 4; Mageia 5 now provides a different version, and if the issue can still be reproduced, it should probably be reported upstream directly (though I'd appreciate being notified about it too to potentially backport a fix).

Status: NEW => RESOLVED
Resolution: (none) => OLD