Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 24 by
celil...@gmail.com: Undefined GLUT callback function Scroll
http://code.google.com/p/glumpy/issues/detail?id=24
Trying to run one of the examples, I get the same error every time:
$ python axis-2d.py
Traceback (most recent call last):
File "axis-2d.py", line 43, in <module>
fig = figure(size=(512,512))
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/glumpy/__init__.py",
line 69, in figure
return Figure(size=size, position=position, parent=None)
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/glumpy/figure.py",
line 90, in __init__
self._window = Window( size=(w,h), position=position, title='Figure')
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/glumpy/window/backend_glut.py",
line 149, in __init__
OSX_glutScrollFunc( self._scroll)
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/OpenGL/GLUT/special.py",
line 138, in __call__
self.wrappedOperation( cCallback, *args )
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/OpenGL/GLUT/special.py",
line 106, in failFunction
typeName, 'glut%sFunc'%(typeName),
OpenGL.error.NullFunctionError: Undefined GLUT callback function Scroll,
check for bool(glutScrollFunc) before calling
Any idea how to fix it?