Thread: [PyOpenGL-Devel] [ pyopengl-Bugs-1742607 ] ctypes.ArgumentError in glReadPixels
Brought to you by:
mcfletch
|
From: SourceForge.net <no...@so...> - 2007-06-25 00:39:52
|
Bugs item #1742607, was opened at 2007-06-24 17:39 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1742607&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: GL Group: v3.0.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: ctypes.ArgumentError in glReadPixels Initial Comment: We're running problems with glReadPixels throwing an exception. Here's the backtrace: Traceback (most recent call last): File "/store/home/mukaissi/MetNetVis/MetNetVis/UI/graphdrawwidget.py", line 155, in mousePressEvent index=GL.glReadPixels(event.x,event.y,1,1,GL.GL_RGB,GL.GL_UNSIGNED_BYTE) File "/store/home/mukaissi/software/PyOpenGL-3.0.0a6/OpenGL/GL/images.py", line 279, in glReadPixels ctypes.c_void_p( arrayType.dataPointer(array)) ctypes.ArgumentError: argument 1: <type 'exceptions.TypeError'>: wrong type Adding a few prints to see the types of the involved variables they seem to be ok: array: [[[0 0 0]]] <type 'numpy.ndarray'> arrayType: <class 'OpenGL.arrays.arraydatatype.GLubyteArray'> <type '_ctypes.PointerType'> dataPointer: 20509152 <type 'long'> This is using 3.0.0a6 on an x86_64 (RHEL) system. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1742607&group_id=5988 |
|
From: SourceForge.net <no...@so...> - 2007-06-25 15:21:15
|
Bugs item #1742909, was opened at 2007-06-25 08:21 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1742909&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: GL Group: v3.0.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: ctypes.ArgumentError in glReadPixels Initial Comment: We're running problems with glReadPixels throwing an exception. Here's the backtrace: Traceback (most recent call last): File "/store/home/mukaissi/MetNetVis/MetNetVis/UI/graphdrawwidget.py", line 155, in mousePressEvent index=GL.glReadPixels(event.x,event.y,1,1,GL.GL_RGB,GL.GL_UNSIGNED_BYTE) File "/store/home/mukaissi/software/PyOpenGL-3.0.0a6/OpenGL/GL/images.py", line 279, in glReadPixels ctypes.c_void_p( arrayType.dataPointer(array)) ctypes.ArgumentError: argument 1: <type 'exceptions.TypeError'>: wrong type Adding a few prints to see the types of the involved variables they seem to be ok: array: [[[0 0 0]]] <type 'numpy.ndarray'> arrayType: <class 'OpenGL.arrays.arraydatatype.GLubyteArray'> <type '_ctypes.PointerType'> dataPointer: 20509152 <type 'long'> This is using 3.0.0a6 on an x86_64 (RHEL) system. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1742909&group_id=5988 |
|
From: SourceForge.net <no...@so...> - 2007-06-25 21:54:08
|
Bugs item #1743168, was opened at 2007-06-25 14:54 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1743168&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: GL Group: v3.0.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: ctypes.ArgumentError in glReadPixels Initial Comment: We're running problems with glReadPixels throwing an exception. Here's the backtrace: Traceback (most recent call last): File "/store/home/mukaissi/MetNetVis/MetNetVis/UI/graphdrawwidget.py", line 155, in mousePressEvent index=GL.glReadPixels(event.x,event.y,1,1,GL.GL_RGB,GL.GL_UNSIGNED_BYTE) File "/store/home/mukaissi/software/PyOpenGL-3.0.0a6/OpenGL/GL/images.py", line 279, in glReadPixels ctypes.c_void_p( arrayType.dataPointer(array)) ctypes.ArgumentError: argument 1: <type 'exceptions.TypeError'>: wrong type Adding a few prints to see the types of the involved variables they seem to be ok: array: [[[0 0 0]]] <type 'numpy.ndarray'> arrayType: <class 'OpenGL.arrays.arraydatatype.GLubyteArray'> <type '_ctypes.PointerType'> dataPointer: 20509152 <type 'long'> This is using 3.0.0a6 on an x86_64 (RHEL) system. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1743168&group_id=5988 |
|
From: SourceForge.net <no...@so...> - 2007-06-27 19:05:01
|
Bugs item #1744414, was opened at 2007-06-27 12:04 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1744414&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: GL Group: v3.0.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: ctypes.ArgumentError in glReadPixels Initial Comment: We're running problems with glReadPixels throwing an exception. Here's the backtrace: Traceback (most recent call last): File "/store/home/mukaissi/MetNetVis/MetNetVis/UI/graphdrawwidget.py", line 155, in mousePressEvent index=GL.glReadPixels(event.x,event.y,1,1,GL.GL_RGB,GL.GL_UNSIGNED_BYTE) File "/store/home/mukaissi/software/PyOpenGL-3.0.0a6/OpenGL/GL/images.py", line 279, in glReadPixels ctypes.c_void_p( arrayType.dataPointer(array)) ctypes.ArgumentError: argument 1: <type 'exceptions.TypeError'>: wrong type Adding a few prints to see the types of the involved variables they seem to be ok: array: [[[0 0 0]]] <type 'numpy.ndarray'> arrayType: <class 'OpenGL.arrays.arraydatatype.GLubyteArray'> <type '_ctypes.PointerType'> dataPointer: 20509152 <type 'long'> This is using 3.0.0a6 on an x86_64 (RHEL) system. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1744414&group_id=5988 |
|
From: SourceForge.net <no...@so...> - 2008-01-19 16:52:28
|
Bugs item #1742607, was opened at 2007-06-24 20:39 Message generated for change (Comment added) made by mcfletch You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1742607&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: GL Group: v3.0.0 >Status: Closed >Resolution: Duplicate Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: ctypes.ArgumentError in glReadPixels Initial Comment: We're running problems with glReadPixels throwing an exception. Here's the backtrace: Traceback (most recent call last): File "/store/home/mukaissi/MetNetVis/MetNetVis/UI/graphdrawwidget.py", line 155, in mousePressEvent index=GL.glReadPixels(event.x,event.y,1,1,GL.GL_RGB,GL.GL_UNSIGNED_BYTE) File "/store/home/mukaissi/software/PyOpenGL-3.0.0a6/OpenGL/GL/images.py", line 279, in glReadPixels ctypes.c_void_p( arrayType.dataPointer(array)) ctypes.ArgumentError: argument 1: <type 'exceptions.TypeError'>: wrong type Adding a few prints to see the types of the involved variables they seem to be ok: array: [[[0 0 0]]] <type 'numpy.ndarray'> arrayType: <class 'OpenGL.arrays.arraydatatype.GLubyteArray'> <type '_ctypes.PointerType'> dataPointer: 20509152 <type 'long'> This is using 3.0.0a6 on an x86_64 (RHEL) system. ---------------------------------------------------------------------- >Comment By: Mike C. Fletcher (mcfletch) Date: 2008-01-19 11:52 Message: Logged In: YES user_id=34901 Originator: NO Closing duplicate ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1742607&group_id=5988 |
|
From: SourceForge.net <no...@so...> - 2008-01-19 16:52:41
|
Bugs item #1742909, was opened at 2007-06-25 11:21 Message generated for change (Comment added) made by mcfletch You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1742909&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: GL Group: v3.0.0 >Status: Closed >Resolution: Duplicate Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: ctypes.ArgumentError in glReadPixels Initial Comment: We're running problems with glReadPixels throwing an exception. Here's the backtrace: Traceback (most recent call last): File "/store/home/mukaissi/MetNetVis/MetNetVis/UI/graphdrawwidget.py", line 155, in mousePressEvent index=GL.glReadPixels(event.x,event.y,1,1,GL.GL_RGB,GL.GL_UNSIGNED_BYTE) File "/store/home/mukaissi/software/PyOpenGL-3.0.0a6/OpenGL/GL/images.py", line 279, in glReadPixels ctypes.c_void_p( arrayType.dataPointer(array)) ctypes.ArgumentError: argument 1: <type 'exceptions.TypeError'>: wrong type Adding a few prints to see the types of the involved variables they seem to be ok: array: [[[0 0 0]]] <type 'numpy.ndarray'> arrayType: <class 'OpenGL.arrays.arraydatatype.GLubyteArray'> <type '_ctypes.PointerType'> dataPointer: 20509152 <type 'long'> This is using 3.0.0a6 on an x86_64 (RHEL) system. ---------------------------------------------------------------------- >Comment By: Mike C. Fletcher (mcfletch) Date: 2008-01-19 11:52 Message: Logged In: YES user_id=34901 Originator: NO Closing duplicate. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1742909&group_id=5988 |
|
From: SourceForge.net <no...@so...> - 2008-01-19 16:53:48
|
Bugs item #1743168, was opened at 2007-06-25 17:54 Message generated for change (Comment added) made by mcfletch You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1743168&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: GL Group: v3.0.0 >Status: Closed >Resolution: Duplicate Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: ctypes.ArgumentError in glReadPixels Initial Comment: We're running problems with glReadPixels throwing an exception. Here's the backtrace: Traceback (most recent call last): File "/store/home/mukaissi/MetNetVis/MetNetVis/UI/graphdrawwidget.py", line 155, in mousePressEvent index=GL.glReadPixels(event.x,event.y,1,1,GL.GL_RGB,GL.GL_UNSIGNED_BYTE) File "/store/home/mukaissi/software/PyOpenGL-3.0.0a6/OpenGL/GL/images.py", line 279, in glReadPixels ctypes.c_void_p( arrayType.dataPointer(array)) ctypes.ArgumentError: argument 1: <type 'exceptions.TypeError'>: wrong type Adding a few prints to see the types of the involved variables they seem to be ok: array: [[[0 0 0]]] <type 'numpy.ndarray'> arrayType: <class 'OpenGL.arrays.arraydatatype.GLubyteArray'> <type '_ctypes.PointerType'> dataPointer: 20509152 <type 'long'> This is using 3.0.0a6 on an x86_64 (RHEL) system. ---------------------------------------------------------------------- >Comment By: Mike C. Fletcher (mcfletch) Date: 2008-01-19 11:53 Message: Logged In: YES user_id=34901 Originator: NO Closing duplicate. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1743168&group_id=5988 |
|
From: SourceForge.net <no...@so...> - 2008-01-19 16:53:59
|
Bugs item #1743168, was opened at 2007-06-25 17:54 Message generated for change (Comment added) made by mcfletch You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1743168&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: GL Group: v3.0.0 Status: Closed Resolution: Duplicate Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: ctypes.ArgumentError in glReadPixels Initial Comment: We're running problems with glReadPixels throwing an exception. Here's the backtrace: Traceback (most recent call last): File "/store/home/mukaissi/MetNetVis/MetNetVis/UI/graphdrawwidget.py", line 155, in mousePressEvent index=GL.glReadPixels(event.x,event.y,1,1,GL.GL_RGB,GL.GL_UNSIGNED_BYTE) File "/store/home/mukaissi/software/PyOpenGL-3.0.0a6/OpenGL/GL/images.py", line 279, in glReadPixels ctypes.c_void_p( arrayType.dataPointer(array)) ctypes.ArgumentError: argument 1: <type 'exceptions.TypeError'>: wrong type Adding a few prints to see the types of the involved variables they seem to be ok: array: [[[0 0 0]]] <type 'numpy.ndarray'> arrayType: <class 'OpenGL.arrays.arraydatatype.GLubyteArray'> <type '_ctypes.PointerType'> dataPointer: 20509152 <type 'long'> This is using 3.0.0a6 on an x86_64 (RHEL) system. ---------------------------------------------------------------------- >Comment By: Mike C. Fletcher (mcfletch) Date: 2008-01-19 11:54 Message: Logged In: YES user_id=34901 Originator: NO Closing duplicate. ---------------------------------------------------------------------- Comment By: Mike C. Fletcher (mcfletch) Date: 2008-01-19 11:53 Message: Logged In: YES user_id=34901 Originator: NO Closing duplicate. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1743168&group_id=5988 |
|
From: SourceForge.net <no...@so...> - 2008-01-19 17:05:58
|
Bugs item #1744414, was opened at 2007-06-27 15:04 Message generated for change (Comment added) made by mcfletch You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1744414&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: GL Group: v3.0.0 >Status: Closed >Resolution: Out of Date Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Mike C. Fletcher (mcfletch) Summary: ctypes.ArgumentError in glReadPixels Initial Comment: We're running problems with glReadPixels throwing an exception. Here's the backtrace: Traceback (most recent call last): File "/store/home/mukaissi/MetNetVis/MetNetVis/UI/graphdrawwidget.py", line 155, in mousePressEvent index=GL.glReadPixels(event.x,event.y,1,1,GL.GL_RGB,GL.GL_UNSIGNED_BYTE) File "/store/home/mukaissi/software/PyOpenGL-3.0.0a6/OpenGL/GL/images.py", line 279, in glReadPixels ctypes.c_void_p( arrayType.dataPointer(array)) ctypes.ArgumentError: argument 1: <type 'exceptions.TypeError'>: wrong type Adding a few prints to see the types of the involved variables they seem to be ok: array: [[[0 0 0]]] <type 'numpy.ndarray'> arrayType: <class 'OpenGL.arrays.arraydatatype.GLubyteArray'> <type '_ctypes.PointerType'> dataPointer: 20509152 <type 'long'> This is using 3.0.0a6 on an x86_64 (RHEL) system. ---------------------------------------------------------------------- >Comment By: Mike C. Fletcher (mcfletch) Date: 2008-01-19 12:06 Message: Logged In: YES user_id=34901 Originator: NO With current CVS on AMD64 Gentoo the function appears to be working correctly (as tested with the OpenGLContext/tests/saveimage.py script). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1744414&group_id=5988 |