Problems with folders

David Bellows bfootdav at mindspring.com
Mon Jul 14 07:47:20 EDT 2003


I downloaded pydance7.2 and it appeared to install without any problems.  
Everything seems to work fine if I have the folders option turned off.  
However, when it's on and I have the sort set to "mix" I get the following 
error when I try to go to the screen that has all the sim-files listed:

Traceback (most recent call last):
  File "/usr/local/games/pydance", line 1252, in ?
    if __name__ == '__main__': main()
  File "/usr/local/games/pydance", line 904, in main
    menudriver.do(screen, (songs, screen, playSequence))
  File "/usr/local/games/../share/games/pydance/menudriver.py", line 171, in 
do
    me.display()
  File "/usr/local/games/../share/games/pydance/menus.py", line 178, in 
display
    ev = self.items[curitem].activate(ev)
  File "/usr/local/games/../share/games/pydance/menus.py", line 118, in 
activate
    self.display()
  File "/usr/local/games/../share/games/pydance/menus.py", line 178, in 
display
    ev = self.items[curitem].activate(ev)
  File "/usr/local/games/../share/games/pydance/menus.py", line 56, in 
activate
    text, subtext = self.callbacks[ev](*self.args)
  File "/usr/local/games/../share/games/pydance/menudriver.py", line 107, in 
wrap_ctr
    Obj(*args)
  File "/usr/local/games/../share/games/pydance/songselect.py", line 261, in 
__init__
    self.render(True, True)
  File "/usr/local/games/../share/games/pydance/songselect.py", line 563, in 
render
    self.songs[idx].render()
  File "/usr/local/games/../share/games/pydance/songselect.py", line 186, in 
render
    songtext = FONTS[36].render(self.name, 1, colors.WHITE)
pygame.error: SDL_ttf render failed

Note, with files on and sorting by title, bpm, and artist works fine.

By the way, the folders option looks really good.

David Bellows





More information about the pyddr-discuss mailing list