Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17749 closed defect (fixed)

py26-game - freesansbold.ttf access permission

Reported by: nilo.menezes@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: pygame, default font Cc:
Port: py26-game, py25-game, py-game

Description

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

Change History (5)

comment:1 Changed 16 years ago by dbevans (David B. Evans)

Owner: changed from macports-tickets@… to jmr@…

Assign to maintainer

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Port: py25-game py-game added

The permissions in the source tarball are overly restrictive to begin with. I can't find any way of telling setup.py to adjust the permissions of the installed files, so might just have to fs-traverse and chmod in post-destroot.

comment:4 Changed 16 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Fixed in r44380. Hopefully upstream will release a fixed tarball soon.

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.