#175 [Win32] TypeError: 'staticmethod' object is not callable

v3.0.0
closed-fixed
nobody
None
5
2008-01-07
2007-11-09
Anonymous
No

WindowsXP SP2
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32
OpenGL-ctypes latest CVS

File "c:\python25\lib\site-packages\PyOpenGL-3.0.0b1-py2.5.egg\OpenGL\platform\win32.py", line 69, in safeGetError
return glGetError()
TypeError: 'staticmethod' object is not callable

On any OpenGL call in Win32.

Culprit seems to be found at OpenGL/platform/win32.py : line 72:
glGetError = staticmethod( Win32Platform.OpenGL.glGetError )

Naive removal of the 'staticmethod' call remedies the error.

Discussion

  • Mike C. Fletcher

    Logged In: YES
    user_id=34901
    Originator: NO

    Win32 platform now fixed. thanks.

     
  • Mike C. Fletcher

    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks