I have this application that's was originally written with pyopengl,
using glut for windowing.
I package this with bbfreeze and distribute it to a client.
I've recently ported all the window handling to pyglet, this works
fine on my machine, but on the clients machine it produces the
following stack dump on startup.

Traceback (most recent call last):
 File "<string>", line 6, in <module>
 File "_main_.py", line 128, in <module>
 File "_main__main_.py", line 46, in <module>
 File "client.py", line 313, in main
 File "client.py", line 301, in main
 File "ui/common.py", line 93, in run
 File "pyglet/app/_init_.py", line 264, in run
 File "pyglet/app/xlib.py", line 93, in run
 File "pyglet/app/_init_.py", line 193, in idle
 File "pyglet/window/_init_.py", line 1219, in dispatch_event
 File "pyglet/event.py", line 349, in dispatch_event
 File "ui/common.py", line 143, in _draw
 File "ui/common.py", line 322, in _draw
 File "ui/common.py", line 320, in draw
 File "ui/common.py", line 320, in draw
 File "ui/common.py", line 320, in draw
 File "ui/common.py", line 320, in draw
 File "ui/common.py", line 318, in draw
 File "ui/nodes.py", line 166, in _draw
 File "ui/common.py", line 81, in vertex_array
 File "OpenGL/latebind.py", line 45, in _call_
 File "OpenGL/wrapper.py", line 532, in wrapperCall
 File "OpenGL/arrays/arrayhelpers.py", line 153, in _call_
 File "OpenGL/contextdata.py", line 57, in setValue
 File "OpenGL/contextdata.py", line 40, in getContext
OpenGL.error.Error: Attempt to retrieve context when no valid context

where ui/common.py:93 is pyglet.app.run(), ui/common.py:143 is my
on_draw callback and ui/common.py:81 is glVertexPointerf(points).

pyglet.version reports 1.1.4, OpenGL.__version__ reports 3.0.1b2 and I
have python 2.6.6

I've no idea where to even start with this, presumably I'm going to
need more info from the client but I'm not even sure what to ask for.

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