Bugs item #1828695, was opened at 2007-11-08 20:36
Message generated for change (Comment added) made by mcfletch
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1828695&group_id=5988
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: v3.0.0
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: [Win32] TypeError: 'staticmethod' object is not callable
Initial Comment:
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.
----------------------------------------------------------------------
>Comment By: Mike C. Fletcher (mcfletch)
Date: 2008-01-07 11:53
Message:
Logged In: YES
user_id=34901
Originator: NO
Win32 platform now fixed. thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1828695&group_id=5988
|