[MacPorts] #17749: py26-game - freesansbold.ttf access permission

MacPorts noreply at macports.org
Tue Dec 23 08:18:04 PST 2008


#17749: py26-game - freesansbold.ttf access permission
------------------------------------+---------------------------------------
 Reporter:  nilo.menezes@…          |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:  Port Bugs                            
Component:  ports                   |     Version:  1.7.0                                
 Keywords:  pygame, default font    |        Port:  py26-game                            
------------------------------------+---------------------------------------
 I installed MacPorts 1.7.0 and then py26-game.
 Games loading the default font "freesansbold.ttf" fail to run:

     self.font = pygame.font.Font(None, size)
 RuntimeError: default font not found 'freesansbold.ttf'

 This error does not happen if run by root. To fix it, I just:
 sudo chmod a+r
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/pygame/freesansbold.ttf

-- 
Ticket URL: <http://trac.macports.org/ticket/17749>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list