Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109272 - pathological crashes when turning music on
Summary: pathological crashes when turning music on
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-14 06:20 UTC by revenger
Modified: 2005-10-15 22:08 UTC (History)
0 users

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


Attachments
'emerge -evp world' output (worldoutput,38.76 KB, text/plain)
2005-10-14 09:11 UTC, revenger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description revenger 2005-10-14 06:20:21 UTC
pathological (games-puzzle/pathological-1.1.3) crashes when turning the music
on. i should note that i get the following warnings when i launch the game:
sys:1: DeprecationWarning: Non-ASCII character '\xa9' in file
/usr/share/games/pathological/pathological.py on line 1850, but no encoding
declared; see http://www.python.org/peps/pep-0263.html for details
Cannot load music: music/intro.xm

Reproducible: Always
Steps to Reproduce:
1. start game, no music
2. turn music off, then on

Actual Results:  
Traceback (most recent call last):
  File "/usr/share/games/pathological/pathological.py", line 2182, in ?
    rc = introscreen.do( show_highscores)
  File "/usr/share/games/pathological/pathological.py", line 2048, in do
    rc = self.menu_select( i)
  File "/usr/share/games/pathological/pathological.py", line 2070, in menu_select
    toggle_music()
  File "/usr/share/games/pathological/pathological.py", line 200, in toggle_music
    if music_pending_song:
NameError: global name 'music_pending_song' is not defined

Expected Results:  
play some nice music

Portage 2.0.53_rc4 (default-linux/x86/2005.1, gcc-3.3.4, glibc-2.3.5-r2,
2.6.12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
http://gentoo.tiscali.nl/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/
ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
ftp://ftp.tiscali.nl/pub/mirror/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib alsa apache2 apm avi bash-completion berkdb bitmap-fonts
cdr crypt curl divx4linux dvd eds emboss encode esd fam flac foomaticdb fortran
gdbm gif gpm gtk gtk2 imagemagick imlib ipv6 java jpeg libg++ libwww mad mikmod
motif mozdevelop mp3 mpeg mysql ncurses nls nvidia ogg oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline sdl slang spell sqlite ssl svga
tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode utf8 vorbis
win32codecs xine xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-10-14 08:48:40 UTC
run this and attach the output as text/plain:

"emerge -evp world"
Comment 2 revenger 2005-10-14 09:11:36 UTC
Created attachment 70668 [details]
'emerge -evp world' output

here's the output from 'emerge -avp world'
Comment 3 revenger 2005-10-14 09:16:48 UTC
the previous post should say 'emerge -evp world'.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2005-10-14 21:34:46 UTC
well, it works fine here so that usually means it's some problem with your local
system.  I guess the brute force method would be to run "emerge -ev
pathological" and see if that fixes it.  might also run python-updater.
Comment 5 SpanKY gentoo-dev 2005-10-15 21:55:34 UTC
i can reproduce over here
Comment 6 SpanKY gentoo-dev 2005-10-15 22:08:54 UTC
'music_pending_song' is used a few times in the .py file but never declared

fixed in 1.1.3-r1, thanks for the bug