Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188877 - games-strategy/castle-combat-0.8.1 crashes on startup
Summary: games-strategy/castle-combat-0.8.1 crashes on startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-14 18:44 UTC by Fabian Kislat
Modified: 2007-09-15 21:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Kislat 2007-08-14 18:44:45 UTC
On startup castle-combat crashes with following messages:

Castle-Combat requires pygame and twisted. If the game doesn't start up correctly, please verify that these are installed.
new state <state.MainState instance at 0xb76a5f4c>
Traceback (most recent call last):
  File "/usr/games/bin/castle-combat", line 8, in ?
    main.main()
  File "/usr/games/lib/castle-combat/main.py", line 39, in main
    from menu import MenuState
  File "/usr/games/lib/castle-combat/menu.py", line 6, in ?
    import sound
  File "/usr/games/lib/castle-combat/sound.py", line 50, in ?
    sound_on()
  File "/usr/games/lib/castle-combat/sound.py", line 30, in sound_on
    play_music()
  File "/usr/games/lib/castle-combat/sound.py", line 43, in play_music
    pygame.mixer.music.load(os.path.join(common.data_path, 'sound', music_files[next_file]))
pygame.error: Unrecognized music format

Reproducible: Always

Steps to Reproduce:




Resolution:
castle-combat needs media-libs/sdl-mixer to be compiled with the "mikmod" use flag activated. Then everything works fine.

I think the ebuild should check, if this is the case and produce an error otherwise.
Comment 1 Tupone Alfredo gentoo-dev 2007-09-15 21:25:07 UTC
A check is added for mikmod in sdl-mixer. Thanks