Unless I'm missing some critical piece of Linux voodoo, there really isn't a picture in /usr/lib/python2.5/site-packages/pygame/pygame_icon.bmp. I checked with ls -a and nautilus. No icon. I also tried running the test as root, and that didn't work either. I think the icon was left out.
On Thu, Jul 2, 2009 at 2:28 PM, Tyler Laing <[email protected]> wrote: > The last error is because you're running without admin privs. > > -Tyler > > > On Thu, Jul 2, 2009 at 11:24 AM, Evan Kroske <[email protected]> wrote: > >> When I ran run_tests.py, I got all the same failures as Lorenz but two >> different errors. Here they are: >> >>> ====================================================================== >> >> ERROR: all_tests_for (test.font_test.AllTestCases) >> >> ---------------------------------------------------------------------- >> >> Traceback (most recent call last): >> >> File "test/test.font_test.py", line 1, in all_tests_for >> >> subprocess completely failed with return code of -6 >> >> cmd: ['/usr/bin/python', >>> '/home/evan/Source/pygame/test/test_utils/test_runner.py', 'test.font_test', >>> '--exclude', 'interactive,subprocess_ignore', '--timings', '1'] >> >> test_env: {'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', >>> 'LESSOPEN': '| /usr/bin/lesspipe %s', 'LOGNAME': 'evan', 'USER': 'evan', >>> 'HOME': '/home/evan', 'PATH': >>> '/home/evan/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', >>> 'WINDOWPATH': '7', 'SSH_AGENT_PID': '6191', 'LANG': 'en_US.UTF-8', 'TERM': >>> 'xterm', 'SHELL': '/bin/bash', 'XDG_SESSION_COOKIE': >>> '559938188db91f1b0fda171c49fc9efd-1246538187.549223-878107278', >>> 'SESSION_MANAGER': 'local/evan-desktop:/tmp/.ICE-unix/6080', 'SHLVL': '1', >>> 'DISPLAY': ':0.0', 'WINDOWID': '58738671', '_': '/usr/bin/python', >>> 'GPG_AGENT_INFO': '/tmp/seahorse-y536VW/S.gpg-agent:6214:1', 'USERNAME': >>> 'evan', 'GDM_XSERVER_LOCATION': 'local', 'COLORTERM': 'gnome-terminal', >>> 'SSH_AUTH_SOCK': '/tmp/keyring-UvysRI/ssh', 'GNOME_KEYRING_SOCKET': >>> '/tmp/keyring-UvysRI/socket', 'MESA_NO_ASM': '1', 'GDMSESSION': >>> 'default.desktop', 'DBUS_SESSION_BUS_ADDRESS': >>> 'unix:abstract=/tmp/dbus-MJnYmbpT4L,guid=eb8b84ad3da402e4010e8d044a4ca9cc', >>> 'ORBIT_SOCKETDIR': '/tmp/orbit-evan', 'XAUTHORITY': >>> '/home/evan/.Xauthority', 'DESKTOP_SESSION': 'default.desktop', 'LESSCLOSE': >>> '/usr/bin/lesspipe %s %s', 'GNOME_KEYRING_PID': '6221\n', 'OLDPWD': >>> '/home/evan/Source/pygame/test', 'GDM_LANG': 'en_US.UTF-8', 'HISTCONTROL': >>> 'ignoreboth', 'XDG_DATA_DIRS': >>> '/usr/local/share/:/usr/share/:/usr/share/gdm/', 'PWD': >>> '/home/evan/Source/pygame', 'GTK_RC_FILES': >>> '/etc/gtk/gtkrc:/home/evan/.gtkrc-1.2-gnome2', 'LS_COLORS': >>> 'no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:'} >> >> working_dir: /home/evan/Source/pygame >> >> return (top 5 lines): >> >> Fatal Python error: (pygame parachute) Segmentation Fault >> >> loading test.font_test >> >> >>> >>> ====================================================================== >> >> ERROR: ImageModuleTest.testLoadIcon >> >> ---------------------------------------------------------------------- >> >> Traceback (most recent call last): >> >> File "/home/evan/Source/pygame/test/image_test.py", line 44, in >>> testLoadIcon >> >> f = pygame.pkgdata.getResource("pygame_icon.bmp") >> >> File "/usr/lib/python2.5/site-packages/pygame/pkgdata.py", line 66, in >>> getResource >> >> return open(os.path.normpath(path), 'rb') >> >> IOError: [Errno 2] No such file or directory: >>> '/usr/lib/python2.5/site-packages/pygame/pygame_icon.bmp' >> >> >> I'm running 64 bit Intrepid Ibex with a standard kernel, standard Python >> 2.5, and standard GCC. If you want me to run any tests, just ask (and spell >> out exactly what I should do). >> >> Evan >> > > > > -- > Visit my blog at http://oddco.ca/zeroth/zblog >
