Solarwolf runs fine in Arch Linux now. It was a packaging problem after all.
On Wed, Aug 5, 2009 at 12:34 AM, Jagadish <krsh...@gmail.com> wrote: > Hi, > I am using Arch Linux. Freetype is installed, freetype2 2.3.9-2. > I have also posted a bug to the Arch Linux bug tracker as this might be a > bug with the packaging of pygame in Arch Linux, rather than with pygame > itself. > > regards, > Jagadish > > > On Tue, Aug 4, 2009 at 10:57 PM, Lenard Lindstrom <le...@telus.net> wrote: > >> Hi Jagadish, >> >> Can you check that freetypes is installed, and if so what version it is. >> >> Lenard Lindstrom >> >> >> Jagadish wrote: >> >>> Solarwolf, does not run with pygame 1.9.0-1. >>> >>> It fails with error message: >>> Fatal Python error: (pygame parachute) Segmentation Fault >>> Aborted >>> >>> Python 2.6.2, pygame 1.9.0-1, Arch Linux 2.6.30 >>> >>> The self test of pygame >>> python -m pygame.tests.__main__ >>> fails with several errors, shown below: >>> >>> >>> ====================================================================== >>> FAIL: BaseModuleTest.test_get_error >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "/usr/lib/python2.6/site-packages/pygame/tests/base_test.py", line >>> 134, in test_get_error >>> self.assertEqual(pygame.get_error(), "") >>> AssertionError: 'no input method could be opened' != '' >>> >>> ====================================================================== >>> FAIL: BaseModuleTest.test_set_error >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "/usr/lib/python2.6/site-packages/pygame/tests/base_test.py", line >>> 144, in test_set_error >>> self.assertEqual(pygame.get_error(), "") >>> AssertionError: 'no input method could be opened' != '' >>> >>> ====================================================================== >>> ERROR: CursorsModuleTest.test_load_xbm >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "/usr/lib/python2.6/site-packages/pygame/tests/cursors_test.py", >>> line 61, in test_load_xbm >>> cursor = pygame.cursors.load_xbm(cursorfile, maskfile) >>> File "/usr/lib/python2.6/site-packages/pygame/cursors.py", line 258, in >>> load_xbm >>> if type(curs) is type(''): curs = open(curs) >>> IOError: [Errno 2] No such file or directory: >>> '/usr/lib/python2.6/site-packages/pygame/tests/fixtures/xbm_cursors/white_sizing.xbm' >>> >>> >>> ====================================================================== >>> ERROR: all_tests_for (pygame.tests.font_test.AllTestCases) >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "test/pygame.tests.font_test.py <http://pygame.tests.font_test.py>", >>> line 1, in all_tests_for >>> >>> subprocess completely failed with return code of -6 >>> cmd: ['/usr/bin/python', >>> '/usr/lib/python2.6/site-packages/pygame/tests/test_utils/test_runner.py', >>> 'pygame.tests.font_test', '--exclude', >>> 'interactive,subprocess_ignore,python2_ignore', '--timings', '1'] >>> ... >>> working_dir: /usr/lib/python2.6/site-packages/pygame >>> return (top 5 lines): >>> Fatal Python error: (pygame parachute) Segmentation Fault >>> loading pygame.tests.font_test >>> >>> >>> ====================================================================== >>> ERROR: ImageModuleTest.testLoadIcon >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "/usr/lib/python2.6/site-packages/pygame/tests/image_test.py", line >>> 44, in testLoadIcon >>> f = pygame.pkgdata.getResource("pygame_icon.bmp") >>> File "/usr/lib/python2.6/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.6/site-packages/pygame/pygame_icon.bmp' >>> >>> ====================================================================== >>> ERROR: ImageModuleTest.testLoadJPG >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "/usr/lib/python2.6/site-packages/pygame/tests/image_test.py", line >>> 71, in testLoadJPG >>> surf = pygame.image.load(f) >>> error: Couldn't open >>> /usr/lib/python2.6/site-packages/pygame/examples/data/alien1.jpg >>> >>> ====================================================================== >>> ERROR: ImageModuleTest.testLoadPNG >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "/usr/lib/python2.6/site-packages/pygame/tests/image_test.py", line >>> 58, in testLoadPNG >>> surf = pygame.image.load(f) >>> error: Couldn't open >>> /usr/lib/python2.6/site-packages/pygame/examples/data/alien1.png >>> >>> ====================================================================== >>> ERROR: ImageModuleTest.test_save >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "/usr/lib/python2.6/site-packages/pygame/tests/image_test.py", line >>> 112, in test_save >>> os.remove(temp_filename) >>> OSError: [Errno 2] No such file or directory: 'tmpimg.jpg' >>> >>> >>> ====================================================================== >>> ERROR: all_tests_for (pygame.tests.midi_test.AllTestCases) >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "test/pygame.tests.midi_test.py <http://pygame.tests.midi_test.py>", >>> line 1, in all_tests_for >>> >>> subprocess completely failed with return code of 0 >>> cmd: ['/usr/bin/python', >>> '/usr/lib/python2.6/site-packages/pygame/tests/test_utils/test_runner.py', >>> 'pygame.tests.midi_test', '--exclude', >>> 'interactive,subprocess_ignore,python2_ignore', '--timings', '1'] >>> ... >>> working_dir: /usr/lib/python2.6/site-packages/pygame >>> return (top 5 lines): >>> loading pygame.tests.midi_test >>> >>> >>> ====================================================================== >>> ERROR: MixerMusicModuleTest.test_load >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File >>> "/usr/lib/python2.6/site-packages/pygame/tests/mixer_music_test.py", line >>> 40, in test_load >>> pygame.mixer.music.load(musfn) >>> error: Couldn't read from >>> '/usr/lib/python2.6/site-packages/pygame/examples/data/house_lo.ogg' >>> >>> ====================================================================== >>> ERROR: MovieTypeTest.test_render_frame__off_screen >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "/usr/lib/python2.6/site-packages/pygame/tests/movie_test.py", line >>> 63, in test_render_frame__off_screen >>> movie = pygame.movie.Movie(movie_file) >>> error: Couldn't open >>> /usr/lib/python2.6/site-packages/pygame/examples/data/blue.mpg >>> >>> ====================================================================== >>> ERROR: ScrapModuleTest.test_scrap_put_image >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "/usr/lib/python2.6/site-packages/pygame/tests/scrap_test.py", line >>> 133, in test_scrap_put_image >>> trunk_relative_path("examples/data/asprite.bmp") >>> error: Couldn't open >>> /usr/lib/python2.6/site-packages/pygame/examples/data/asprite.bmp >>> >>> ---------------------------------------------------------------------- >>> Ran 385 tests in 37.889s >>> >>> FAILED (failures=2, errors=10) >>> >>> >>> Also, I am not able to run some of the examples that come with pygame: a >>> data/ folder seems to be missing in >>> /usr/lib/python2.6/site-packages/pygame/examples/ : >>> >>> ... >>> Could not load image >>> "/usr/lib/python2.6/site-packages/pygame/examples/data/player1.gif" Couldn't >>> open /usr/lib/python2.6/site-packages/pygame/examples/data/player1.gif >>> >>> Thanks. >>> regards, >>> Jagadish >>> >>> >>> >> >