PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 918 - opengl sample python scripts do not work
: opengl sample python scripts do not work
Status: CLOSED INVALID
Product: PySide
Classification: Unclassified
Component: Examples
: 1.0.4
: PC MS Windows XP/Vista/7
: P5 major
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2011-07-06 06:00 EEST by Neon22
Modified: 2011-08-23 00:37 EEST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neon22 2011-07-06 06:00:07 EEST
Tried running the sample opengl scripts. Also added PyOpenGL 3.01 as the
program code states (but this popup never exposes as the break occurs inside
the try statement and is not caught).

running pyside 1.04 in python 2.6.5 on WinXP sp3
bug below suggest something wrong with my numpy. Also downloaded and installed
latest stable version numpy1.6
still getting the bug...

I guess the real problem is with the opengl package...
any ideas ?


bug report is:
Traceback (most recent call last):
  File "C:\Documents and Settings\User\My
Documents\Downloads\pyside-examples\examples\opengl\hellogl.py", line 10, in
<module>
    from OpenGL import GL
  File "C:\Python26\lib\site-packages\OpenGL\GL\__init__.py", line 2, in
<module>
    from OpenGL.raw.GL import *
  File "C:\Python26\lib\site-packages\OpenGL\raw\GL\__init__.py", line 6, in
<module>
    from OpenGL.raw.GL.constants import *
  File "C:\Python26\lib\site-packages\OpenGL\raw\GL\constants.py", line 7, in
<module>
    from OpenGL import platform, arrays
  File "C:\Python26\lib\site-packages\OpenGL\arrays\__init__.py", line 22, in
<module>
    formathandler.FormatHandler.loadAll()
  File "C:\Python26\lib\site-packages\OpenGL\arrays\formathandler.py", line 37,
in loadAll
    cls.loadPlugin( entrypoint )
  File "C:\Python26\lib\site-packages\OpenGL\arrays\formathandler.py", line 44,
in loadPlugin
    plugin_class = entrypoint.load()
  File "C:\Python26\lib\site-packages\OpenGL\plugins.py", line 14, in load
    return importByName( self.import_path )
  File "C:\Python26\lib\site-packages\OpenGL\plugins.py", line 28, in
importByName
    module = __import__( ".".join(moduleName), {}, {}, moduleName)
  File "C:\Python26\lib\site-packages\OpenGL\arrays\numpymodule.py", line 25,
in <module>
    from OpenGL_accelerate.numpy_formathandler import NumpyHandler
  File "numpy.pxd", line 30, in OpenGL_accelerate.numpy_formathandler
(src\numpy_formathandler.c:3543)
ValueError: numpy.dtype does not appear to be the correct type object
Comment 1 Hugo Parente Lima 2011-07-11 23:37:47 EEST
Your problem is related to your installation of numpy and/or OpenGL python
bindings, nothing related to PySide.

Regards
Comment 2 renato filho 2011-08-23 00:37:21 EEST
Release PySide 1.0.6