Hi,

I'm running python 3.2a for fun and tried to port pyglet to it. This
is what i did:
1) hg clone https://pyglet.googlecode.com/hg/ pyglet
2) cd pyglet
3) 2to3 -w -n pyglet
4) 2to3 -w -n examples
5) python setup.py install

All this seemed to go splendidly.

Now I tried to run an example, like opengl_3.py and I get this error
log:

Traceback (most recent call last):
  File "X:\pyglet\hg\examples\opengl_3.py", line 34, in <module>
    config = pyglet.gl.Config(major_version=3, minor_version=0)
  File "C:\Python32\lib\site-packages\pyglet\__init__.py", line 313,
in __getattr__
    __import__(import_name)
  File "C:\Python32\lib\site-packages\pyglet\gl\__init__.py", line
232, in <module>
    import pyglet.window
  File "C:\Python32\lib\site-packages\pyglet\window\__init__.py", line
1809, in <module>
    gl._create_shadow_window()
  File "C:\Python32\lib\site-packages\pyglet\gl\__init__.py", line
205, in _create_shadow_window
    _shadow_window = Window(width=1, height=1, visible=False)
  File "C:\Python32\lib\site-packages\pyglet\window
\win32\__init__.py", line 131, in __init__
    super(Win32Window, self).__init__(*args, **kwargs)
  File "C:\Python32\lib\site-packages\pyglet\window\__init__.py", line
557, in __init__
    self._create()
  File "C:\Python32\lib\site-packages\pyglet\window
\win32\__init__.py", line 267, in _create
    self.set_vsync(self._vsync)
  File "C:\Python32\lib\site-packages\pyglet\window
\win32\__init__.py", line 302, in set_vsync
    self.context.set_vsync(vsync)
  File "C:\Python32\lib\site-packages\pyglet\gl\win32.py", line 227,
in set_vsync
    if wgl_info.have_extension('WGL_EXT_swap_control'):
  File "C:\Python32\lib\site-packages\pyglet\gl\wgl_info.py", line 66,
in have_extension
    return extension in self.get_extensions()
  File "C:\Python32\lib\site-packages\pyglet\gl\wgl_info.py", line 61,
in get_extensions
    return wglGetExtensionsStringEXT().split()
  File "C:\Python32\lib\site-packages\pyglet\gl\lib_wgl.py", line 87,
in __call__
    address = wglGetProcAddress(self.name)
ctypes.ArgumentError: argument 1: <class 'TypeError'>: wrong type

Any ideas what is wrong? If so, how can this be fixed? I have time but
a lack of knowledge and would be willing to help get this working if
someone could point me in the right direction.

Thanks muchly

-- 
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.

Reply via email to