Hmm.. I will try the 1.2dev version. Is it the "enhancements_1_2" branch found here http://code.google.com/p/pyglet/source/browse/?name=enhancements_1_2?
Better learn how to use Mercurial too! On Sep 11, 6:11 pm, claudio canepa <[email protected]> wrote: > On Sun, Sep 11, 2011 at 1:45 PM, Hello3171 <[email protected]> wrote: > > 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. > > The 1.1.4 version is not compatible with win 64 + python 64 bits. > Someone patched the 1.2dev version and seems that it works, look > athttp://code.google.com/p/pyglet/issues/detail?id=510 > > If you try that way, it would be great if you add a comment in that issue > about your results. > > -- > claudio -- 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.
