Breezy: Games menu doesn't launch 'pathological'

Bug #3767 reported by saidimu apale
8
Affects Status Importance Assigned to Milestone
pathological (Ubuntu)
Fix Released
Medium
MOTU Reviewers Team

Bug Description

Clicking on "pathological" on the Games menu doesn't launch the game (nothing happens). But starting "pathological" on the commandline works fine.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Can you see if any errors related to the menu starting of pathological appear within ~/.xession-errors ?

Changed in pathological:
assignee: nobody → motu
Revision history for this message
saidimu apale (saidimu) wrote :

No mention of the menu or pathological appears in ~/.xsession-errors

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

I can't reproduce this problem. If you drag the menu item to a panel then launch it from the panel is there any change? If you go to the properties of the panel icon what does it say?

Changed in pathological:
assignee: motu → motugames
Revision history for this message
Paul Dufresne (paulduf) wrote :

I had installed pathological, and just after, I was
able to start the game in the menu. But then,
I decided to reboot computer to test this bug,
and from this time, I am unable to launch the
game from Applications/Jeux/Pathological.

Unlike steve apale, I DO HAVE errors in my~/.xsession-errors file:
Traceback (most recent call last):
  File "/usr/share/games/pathological/pathological.py", line 2205, in ?
    setup_everything()
  File "/usr/share/games/pathological/pathological.py", line 2188, in setup_everything
    pygame.mixer.init()
pygame.error: No available audio device

In fact, when I boot in command line I get:
open /dev/sequencer: No such file or directory

I am using Ubuntu 5.10 and Pathological
version is:
paul@Arcturus:~$ dpkg -l pathological*
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé
|/ Err?=(aucune)/H=à garder/besoin Réinstallation/X=les deux (État,Err: majuscule=mauvais)
||/ Nom Version Description
+++-==================-==================-====================================================
ii pathological 1.1.3-6 puzzle game involving paths and marbles
ii pathological-music 1 puzzle game involving paths and marbles [music]
un pathological-score <néant> (aucune description n'est disponible)
paul@Arcturus:~$

My sound card is a ISA non PNP, Vibra16S
based on the chip CT2504S. I did requested
help when configuring it, see:
http://www.ubuntuforums.org/showthread.php?t=127402&highlight=CT2504S

Well, even if the original poster say he does
not have any errors in he's ~/.xsession-errors
file, I will set this bug as confirmed.

Changed in pathological:
status: Unconfirmed → Confirmed
Revision history for this message
sam tygier (samtygier) wrote :
Revision history for this message
Paul Dufresne (paulduf) wrote : Re: Dapper: 'pathological' don't launch

Well, I change computer (an other with not configured
sound card because present itself as an isapnp card).

Also, I now run Kubuntu Dapper.

It still does not launch from menus, but now don't
start from command line eithier. :-)

Here what I get from command line:
paul@Actrurus2:~$ pathological &
[1] 8778
paul@Actrurus2:~$ ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver return ed error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat returned er ror: No such device
ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned err or: No such device
ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default
Traceback (most recent call last):
  File "/usr/share/games/pathological/pathological.py", line 2205, in ?
    setup_everything()
  File "/usr/share/games/pathological/pathological.py", line 2188, in setup_ever ything
    pygame.mixer.init()
pygame.error: No available audio device

[1]+ Exit 1 pathological
paul@Actrurus2:~$ dpkg -l|grep pathological
ii pathological 1.1.3-6 puzzle game involving paths and marbles
ii pathological-music 1 puzzle game involving paths and marbles [mus
paul@Actrurus2:~$
paul@Actrurus2:~$ dpkg -l|grep pygame
ii python-pygame 1.7.1release-1ubuntu1 SDL bindings for games development in Python
ii python2.4-pygame 1.7.1release-1ubuntu1 SDL bindings for games development in Pythonpaul@Actrurus2:~$

Well, looks to me this should be reported to pygame
package.

Revision history for this message
Barry deFreese (bddebian) wrote :

pathological-1.1.3-6 works fine for me in Dapper. Can you please re-confirm this bug? Thanks.

Changed in pathological:
status: Confirmed → Needs Info
Revision history for this message
Paul Dufresne (paulduf) wrote :

I get the same messages I posted on 2006-03-26.
It still does not load for me. (ISA pnp sound card not configured).

The line:
pygame.error: No available audio device
could be interpreted as we refuse to let people play games without
sound. So maybe this is just a wishlist that Pygame would allow
people to play games without sound.

Also, I feel a bit as hijacking this bug, since the Original Poster did
not post any comments.

Changed in pathological:
status: Needs Info → Confirmed
Revision history for this message
Paul Dufresne (paulduf) wrote : enclose pygame.mixer.init() in try: exception:

I feel not sure of what I'm doing since this is my first patch for
Ubuntu. It works for me (just tested it by python pathological.py,
not by rebuilding the package and installing it).

File was generated by saving pathological.py as pathological.old,
editing pathological.py, then:
diff -u5 pathological.old pathological.py > pathopatch.txt

Changed in pathological:
status: Confirmed → In Progress
Revision history for this message
Paul Dufresne (paulduf) wrote : a better patch

Was only printing: pygame.error, now
prints: pygame.error : No available audio device

Suppose sys.exc_info()[1] will always exist. I guess so.

Zak B. Elep (zakame)
Changed in pathological:
assignee: motugames → motureviewers
Revision history for this message
Barry deFreese (bddebian) wrote :

Uploaded with attached patch. Please keep an eye out and mark as Fix Released. Thanks for your contributions!

Changed in pathological:
status: In Progress → Fix Committed
Changed in pathological:
status: Fix Committed → Fix Released
Revision history for this message
Paul Dufresne (paulduf) wrote :

Just to let you know that I did update, and now
and now Pathological works fine. Great!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.