Traceback (most recent call last):
File "astraea.py", line 823, in <module>
fps_display =
pyglet.clock.ClockDisplay(font=pyglet.font.load(FONT_NAME, 24))
File "C:\Python27\lib\site-packages\pyglet\font\__init__.py", line
638, in load
font = _font_class(name, size, bold=bold, italic=italic, dpi=dpi)
File "C:\Python27\lib\site-packages\pyglet\font\win32.py", line 528,
in __init__
super(GDIPlusFont, self).__init__(name, size, bold, italic, dpi)
File "C:\Python27\lib\site-packages\pyglet\font\win32.py", line 334,
in __init__
gdi32.SelectObject(dc, self.hfont)
ctypes.ArgumentError: argument 2: <type 'exceptions.OverflowError'>:
long int too long to convert
I receive this error whenever I try to run a pyglet project. For
example, the above was from the astraea example with pyglet 1.1.4. I
am using python 2.7.2 (x64). Any idea what the problem is?
I had to install pyglet using setup.py and I 'installed' AVBin
separately.
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en.