Problems with Robot Toast

This report is about Robot Toast.

When select the 'play' option I get this error message:

juanjo@albus:~/Desktop/Pyweek6-juegos/robot_toast$ python run_game.py 62 FPS Loading level Error occurred loading Wilhelm.ogg from data/sounds/Wilhelm.ogg

It seems that the original filename is called wilhelm.ogg (no caps). May be it was developed under Windows? I am running Ubuntu.

Solved with:

juanjo@albus:~/Desktop/Pyweek6-juegos/robot_toast$ mv data/sounds/wilhelm.ogg data/sounds/Wilhelm.ogg

(log in to comment)

Comments

Please add to the wiki, thanks!
Ack! I thought we fixed that for our final, guess not. An easy solution is just renaming Wilhelm.ogg to wilhelm.ogg
PROPER FIX FOR THIS PROBLEM:

lib/sprites.py line 473: Change Wilhelm.ogg to wilhelm.ogg
Ahh, oops! We had the filename with a capital W originally, and it's reference later in the game with a lower case, so we fixed it by renaming the file to have the lowercase spelling. This was at the last second and so we forgot to test it in linux after doing that. Apparently it was ALSO in the code somewhere else with the upper case, so we ended up breaking it even worse!

If you rename the file, you'll fix it for one and break it later on. You'll either need to COPY the file so you have BOTH spellings, or fix the code as mentioned above.

Sorry everybody!
Please update the wiki with instructions on how to fix the problem, thanks.