[EMAIL PROTECTED] wrote: > Hi all, > > I apologize if this question was already answered before but I was > unable to find a proper solution to my problem. Anyways, I am trying > to run shaderobjects.py on Windows (Python 2.5.1) by just double- > clicking, and I got the following error: > > [...] > File "/usr/lib/python2.5/site-packages/OpenGL/extensions.py", line 13, > in hasGLExtension > AVAILABLE_GL_EXTENSIONS[:] = glGetString( GL_EXTENSIONS ).split() > AttributeError: 'NoneType' object has no attribute 'split' > > _I think_ I have all requirements and packages properly installed. > > Any clues? Thanks in advance ! > That *looks* like a problem with calling glGetString before you have a valid context. Normally that actually works on GLX platforms, but apparently not in this case. Try delaying your import until after you have the context setup and see if that lets glGetString return a valid pointer.
HTH, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com -- http://mail.python.org/mailman/listinfo/python-list