Bugs item #3324928, was opened at 2011-06-22 21:51
Message generated for change (Comment added) made by kierun
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3324928&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: GLUT
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Mike C. Fletcher (mcfletch)
Summary: glCallList fails on nurbs surface
Initial Comment:
molehill.c compiles and renders fine
http://www.opengl.org/resources/code/samples/mjktips/grid/molehill.c
however, upon running molehill.py
/usr/local/lib/python2.6/dist-packages/PyOpenGL-Demo/GLUT/molehill.py
i get the following error, and the window does not display
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 295, in 'calling callback function'
File "molehill.py", line 46, in display
glCallList(THE_LIST)
File "/usr/lib/pymodules/python2.6/OpenGL/error.py", line 208, in glCheckError
baseOperation = baseOperation,
OpenGL.error.GLError: GLError(
err = 1282,
description = 'invalid operation',
baseOperation = glCallList,
cArguments = (1L,)
)
similar code that uses display lists with nurbs curves DOES work, somehow.
system info:
ubuntu maverick, python 2.6.6-2ubuntu2
python-opengl 3.0.1~b2-1
libglut3 3.7-25
libgl1-mesa-* 7.9~git20100924-0ubuntu2
freeglut3 2.6.0-0ubuntu2
OpenGL renderer string: Mesa DRI Intel(R) 945GME GEM 20100330 DEVELOPMENT x86/MMX/SSE2
more glxinfo: http://pastie.org/2109437
arg, sourceforge won't let me log in.
fennfoot at gee mail.com
----------------------------------------------------------------------
Comment By: Yann Golanski (kierun)
Date: 2012-10-16 06:31
Message:
I can confirm this bug running on Fedora.
The stack trace is:
; python molehill.py
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x97341d8
OpenGL Warning: Retry with 0xd4 returned 1 visuals
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x97341d8
OpenGL Warning: Retry with 0xd4 returned 1 visuals
Traceback (most recent call last):
File "molehill.py", line 184, in <module>
main()
File "molehill.py", line 173, in main
glEndList()
File "errorchecker.pyx", line 50, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
(src/errorchecker.c:854)
OpenGL.error.GLError: GLError(
err = 1280,
description = 'invalid enumerant',
baseOperation = glEndList,
cArguments = ()
)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3324928&group_id=5988
|