[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] [BUG] pygame-ctypes - default font missing
- To: pygame <pygame-users@xxxxxxxx>
- Subject: [pygame] [BUG] pygame-ctypes - default font missing
- From: Phil Hassey <philhassey@xxxxxxxxx>
- Date: Mon, 21 Aug 2006 06:56:42 -0700 (PDT)
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Mon, 21 Aug 2006 09:56:51 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=MPSs6TeXmsXI9QkjuQoAsQ6Ejs3ih/20e+QromzPklYMTK3xOgAGpizuNCslBltal/ofX7zgrkKjT52/U2V83FL+zXVFtBeEEfXpN1stA/o+aEs5OANZBAWepCXExkbHJPpg77I4si9TuaDuh0E2pQ1neYyKtYJjfxHAb1mQQAI= ;
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hey,
Looks like no default font got installed...
File "/home/phil/code/tronbot/view.py", line 107, in stats_paint
fnt = pygame.font.Font(None,h)
File "/usr/lib/python2.4/site-packages/pygame/font.py", line 125, in __init__
file = pygame.pkgdata.getResource(_font_defaultname)
File "/usr/lib/python2.4/site-packages/pygame/pkgdata.py", line 66, in getResource
return file(os.path.normpath(path), 'rb')
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.4/site-packages/pygame/freesansbold.ttf'
Phil
Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.