Hi,

 I can confirm this bug on Squeeze amd64.

> Run this in a terminal in bash:
> 
> for f in /usr/lib/pymodules/python2.6/misc/* ; do if [ -L $f ] ; then
> dpkg -S `readlink $f` ; fi ; done

hik...@squeeze820qm:~$ for f in /usr/lib/pymodules/python2.6/misc/* ; do if [ 
-L $f ] ; then
> dpkg -S `readlink $f` ; fi ; done
python-coherence: /usr/share/pyshared/misc/media_server_observer.py
python-coherence: /usr/share/pyshared/misc/upnp-tester.py

> Could you also run python again and do this?
> 
> >>> import sys
> >>> sys.path

hik...@squeeze820qm:~$ python
Python 2.6.6 (r266:84292, Oct  9 2010, 12:24:52) 
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', 
'/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', 
'/usr/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/dist-packages', 
'/usr/lib/python2.6/dist-packages' '/usr/lib/python2.6/dist-packages/gst-0.10', 
'/usr/lib/pymodules/python2.6', '/usr/lib/pymodules/python2.6/gtk-2.0']

I'm certainly no python expert but it seems to me like the whole misc object in 
/usr/games/pyracerz isn't initialized when this bug occures. The original error 
message complains about some zoom attribute. I had a look at the code and found 
the usage which says something about a resolution parameter. I applied this and 
got the following:

hik...@squeeze820qm:~$ pyracerz --resolution 640x480
/usr/share/games/pyracerz/modules/menu.py:27: DeprecationWarning: the sha 
module is deprecated; use the hashlib module instead
 import sha
Traceback (most recent call last):
 File "/usr/games/pyracerz", line 280, in <module>
 if __name__ == '__main__': main()
 File "/usr/games/pyracerz", line 106, in main
 pygame.display.set_caption("pyRacerz v" + misc.VERSION)
AttributeError: 'module' object has no attribute 'VERSION' 

So I had a look for misc.VERSION, found it in line 106 which is just some 
caption, deactivated that line, tried again and got this:

hik...@squeeze820qm:~$ pyracerz --resolution 640x480
/usr/share/games/pyracerz/modules/menu.py:27: DeprecationWarning: the sha 
module is deprecated; use the hashlib module instead
 import sha
Traceback (most recent call last):
 File "/usr/games/pyracerz", line 280, in <module>
 if __name__ == '__main__': main()
 File "/usr/games/pyracerz", line 109, in main
 if misc.music == 1:
AttributeError: 'module' object has no attribute 'music'

misc.music can be found in line 109 and I'm pretty sure this game could be 
played endlessly since these errors are all just consequences of some deeper 
problem.

regards
hikaru
___________________________________________________________
NEU: FreePhone - kostenlos mobil telefonieren und surfen!                       
        
Jetzt informieren: http://produkte.web.de/go/webdefreephone



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to