Hi,

I'm getting the following error when closing the window in a program
with a custom idle function. All our source code is available at
https://code.google.com/p/openrockraiders-python/ . I'm not sure if
this is a bug in my code or pyglet's, but it seems to be attempting to
flip the buffers again, after the window has already closed. I'm not
sure though, and am not really an expert with pyglet, so I'd be very
grateful if anyone could shed light on this matter for me.

Traceback (most recent call last):
  File "main.py", line 84, in <module>
    start()
  File "main.py", line 73, in start
    mainLoop.run()
  File "/usr/lib/pymodules/python2.6/pyglet/app/xlib.py", line 94, in
run
    sleep_time = self.idle()
  File "main.py", line 64, in idle
    window.flip()
  File "/usr/lib/pymodules/python2.6/pyglet/window/xlib/__init__.py",
line 797, in flip
    self._config._fbconfig, self._window, None)
AttributeError: 'NoneType' object has no attribute '_fbconfig'

I'm using ubuntu, with the pyglet version from the repository (1.1.2).
The other developers, both using windows, don't get this error.

Thanks in advance.

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