Hi,

I just installed this with `pip install pyglet` on Windows 8 with 64-bit 
Python.
Trying hello world example I get this exception:

========================================
Traceback (most recent call last):
  File "hello_world.py", line 44, in <module>
    window = pyglet.window.Window()
  File "C:\Python27\lib\site-packages\pyglet\__init__.py", line 306, in 
__getattr__
    __import__(import_name)
  File "C:\Python27\lib\site-packages\pyglet\window\__init__.py", line 
1684, in <module>
    gl._create_shadow_window()
  File "C:\Python27\lib\site-packages\pyglet\gl\__init__.py", line 494, in 
_create_shadow_window
    _shadow_window = Window(width=1, height=1, visible=False)
  File "C:\Python27\lib\site-packages\pyglet\window\win32\__init__.py", 
line 423, in __init__
    super(Win32Window, self).__init__(*args, **kwargs)
  File "C:\Python27\lib\site-packages\pyglet\window\__init__.py", line 686, 
in __init__
    self._create()
  File "C:\Python27\lib\site-packages\pyglet\window\win32\__init__.py", 
line 467, in _create
    _user32.RegisterClassW(byref(self._window_class))
WindowsError: exception: access violation reading 0xFFFFFFFFFFFFFFFF
========================================

Trying the next example, I get again Exception on "window = 
pyglet.window.Window()":

========================================
Traceback (most recent call last):
  File "image_viewer.py", line 3, in <module>
    window = pyglet.window.Window()
  File "C:\Python27\lib\site-packages\pyglet\__init__.py", line 306, in 
__getattr__
    __import__(import_name)
  File "C:\Python27\lib\site-packages\pyglet\window\__init__.py", line 
1684, in <module>
    gl._create_shadow_window()
  File "C:\Python27\lib\site-packages\pyglet\gl\__init__.py", line 494, in 
_create_shadow_window
    _shadow_window = Window(width=1, height=1, visible=False)
  File "C:\Python27\lib\site-packages\pyglet\window\win32\__init__.py", 
line 423, in __init__
    super(Win32Window, self).__init__(*args, **kwargs)
  File "C:\Python27\lib\site-packages\pyglet\window\__init__.py", line 686, 
in __init__
    self._create()
  File "C:\Python27\lib\site-packages\pyglet\window\win32\__init__.py", 
line 523, in _create
    self.switch_to()
  File "C:\Python27\lib\site-packages\pyglet\window\win32\__init__.py", 
line 556, in switch_to
    self._context.set_current()
  File "C:\Python27\lib\site-packages\pyglet\gl\__init__.py", line 345, in 
set_current
    self._info.set_active_context()
  File "C:\Python27\lib\site-packages\pyglet\gl\gl_info.py", line 91, in 
set_active_context
    self.vendor = cast(glGetString(GL_VENDOR), c_char_p).value
  File "C:\Python27\lib\site-packages\pyglet\gl\lib.py", line 105, in 
errcheck
    raise GLException(msg)
pyglet.gl.lib.GLException: invalid operation

========================================

Did I missed something while installing or...?

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to