ports/130169: games/jools does not find a necessary font
Rainer Hurling
rhurlin at gwdg.de
Sun Jan 4 19:00:16 UTC 2009
>Number: 130169
>Category: ports
>Synopsis: games/jools does not find a necessary font
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 04 19:00:13 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Rainer Hurling
>Release: 8.0-CURRENT
>Organization:
>Environment:
FreeBSD krabat.raven.hur 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Dec 30 10:47:57 CET 2008 rhurlin at krabat.raven.hur:/usr/obj/usr/src/sys/RHURLIN i386
>Description:
Installed games/jools on mostly recent 8.0-CURRENT. It did not execute.
In xterm the following error message was shown:
----------------------------
Checking for playlist in /home/xxxxxx/.jools/music...
Traceback (most recent call last):
File "/usr/local/bin/jools", line 29, in <module>
import jools
File "/usr/local/lib/python2.5/site-packages/jools/__init__.py", line 40, in <module>
from initialize import *
File "/usr/local/lib/python2.5/site-packages/jools/initialize.py", line 144, in <module>
highScoreTitleFont = pygame.font.Font(None, 45)
RuntimeError: default font not found 'freesansbold.ttf'
----------------------------
>How-To-Repeat:
Install games/jools from ports.
Execute /usr/local/bin/jools in xterm or similarly.
>Fix:
Searching the internet the error was described for other systems too. Obviously the game needs read access for all users to the mentioned font file:
#cd /usr/local/lib/python2.5/site-packages/pygame
#ls -l freesansbold.ttf
-rwx------ 1 root wheel - 98600 7 Jul 07:58:09 2008 freesansbold.ttf
Workaround:
After changing the rights with 'chmod a+r freesansbold.ttf' games/jools works as expected.
Probably better solution:
Lowell Gilbert gave me the hint that other files in devel/py-game are installed with same incorrect privileges.
So it seems a fix should be done at this port.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list