By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 638 - Potato Guy game can't find pictures
Summary: Potato Guy game can't find pictures
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdegames (show other bugs)
Version: 3.5.13 [Trinity]
Hardware: amd64 All
: P5 normal
Assignee: Francois Andriot
URL:
Depends on:
Blocks:
 
Reported: 2011-11-17 22:39 CST by Kris
Modified: 2012-01-11 13:48 CST (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
Fix ktuberling failure to load picture (495 bytes, patch)
2011-12-04 04:54 CST, Francois Andriot
Details | Diff
Updated patch (2.01 KB, patch)
2011-12-05 13:00 CST, Darrell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kris 2011-11-17 22:39:09 CST
When I try to load the Potato Guy game, I get the following error:

---
Fatal error:

Unable to load pictures, aborting.
--

The only button is the OK button, which closes the error dialog.
Comment 1 Darrell 2011-11-20 15:31:17 CST
Confirmed.

Running from Konsole presents this message:

QFile::open: No file name specified

BTW: the binary name is ktuberling.
Comment 2 Francois Andriot 2011-12-04 04:54:39 CST
Created attachment 210 [details]
Fix ktuberling failure to load picture
Comment 3 Darrell 2011-12-05 11:06:29 CST
Patch works but there is no sound.

As far as I can tell from strace, ktuberling finds the sound files but they don't play.
Comment 4 Darrell 2011-12-05 13:00:07 CST
Created attachment 214 [details]
Updated patch

Found a few more inadvertent changes to the "tq" prefix.

Recompiled but still no sound.
Comment 5 Darrell 2011-12-06 21:54:07 CST
Correction. Yesterday the sound did not work --- in a virtual machine, although other apps using sound in the virtual machine worked fine.

Today after testing in an actual physical machine, the sound for ktuberling works there and in the virtual machine too. No explanation. :shrug:
Comment 6 Darrell 2011-12-08 18:35:48 CST
Okay, now I have an explanation. I do a lot of TDE testing in a virtual machine as root. The VM is sandboxed and running as root often saves time for testing only one change and I need not worry about permissions getting in the way.

Ah, never mind, I'm not going to justify running as root. Anybody who doesn't like that can find a tree to bark at.

Anyway, there is no sound when I run ktuberling as root but there is sound when run as normal user. :)
Comment 7 Timothy Pearson 2012-01-11 13:48:30 CST
It appears that this was fixed in R14.0 via an automated script during the renaming project.

Thanks for reporting!