Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 151644

Summary: freetype-2.1.10-r2 breaks pydance
Product: Gentoo Linux Reporter: Paul <PLRCA2>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul 2006-10-16 15:15:29 UTC
pydance works with freetype-2.1.9-r1 but not freetype-2.1.10-r2(the newest stable version). 
Output is as follows:
plrca2@TechRecon3 ~ $ pydance
1 joystick(s) found.
Joystick 0 initialized: 6 axes, 8 buttons.
Loaded input configuration.
pydance 1.0.3 <pyddr-discuss@icculus.org> - irc.freenode.net/#pyddr
Psyco optimizing compiler found. Using psyco.full().
Searching for songs in /usr/share/games/pydance/songs
Searching for songs in ~/.pydance/songs
Searching for songs in /usr/local/share/games/pydance/songs
Searching for courses in /usr/share/games/pydance/courses
Searching for courses in ~/.pydance/courses
Searching for courses in /usr/local/share/games/pydance/courses
Traceback (most recent call last):
  File "./pydance.py", line 205, in ?
    if __name__ == '__main__': main()
  File "./pydance.py", line 159, in main
    songs = load_files(screen, song_list, "songs", SongItem, (False,))
  File "./pydance.py", line 86, in load_files
    pbar = TextProgress(FONTS[60], message, colors.WHITE, colors.BLACK)
  File "/usr/share/games/pydance/fontfx.py", line 147, in __init__
    self.text = font.render(message, False, [255, 0, 0], self.notcolor)
pygame.error: SDL_ttf render failed
Comment 1 Renato Alves 2006-11-10 13:23:35 UTC
Same problem here:

0 joystick(s) found.
pydance 1.0.3 <pyddr-discuss@icculus.org> - irc.freenode.net/#pyddr
W: Psyco optimizing compiler not found.
Searching for songs in /usr/share/games/pydance/songs
Searching for songs in ~/.pydance/songs
Searching for songs in /usr/local/share/games/pydance/songs
Searching for courses in /usr/share/games/pydance/courses
Searching for courses in ~/.pydance/courses
Searching for courses in /usr/local/share/games/pydance/courses
Traceback (most recent call last):
  File "./pydance.py", line 205, in ?
    if __name__ == '__main__': main()
  File "./pydance.py", line 159, in main
    songs = load_files(screen, song_list, "songs", SongItem, (False,))
  File "./pydance.py", line 86, in load_files
    pbar = TextProgress(FONTS[60], message, colors.WHITE, colors.BLACK)
  File "/usr/share/games/pydance/fontfx.py", line 147, in __init__
    self.text = font.render(message, False, [255, 0, 0], self.notcolor)
pygame.error: SDL_ttf render failed
Comment 2 Renato Alves 2006-11-10 13:59:54 UTC
this patch solves the problem

http://bugs.debian.org/cgi-bin/bugreport.cgi/pydance.patch?bug=375651;msg=15;att=1
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2006-11-10 15:11:08 UTC
great, thanks for the pointer.  That's in portage now.