Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > pyOpenGL Error unable to detect undefined names

Reply
Thread Tools

pyOpenGL Error unable to detect undefined names

 
 
Ron
Guest
Posts: n/a
 
      12-02-2010
Hello,

I am trying to use pyOpenGL and I keep getting the following errors:

Traceback (most recent call last):
File "C:\Temp\Python\OpenGL_Test.py", line 10, in <module>
from OpenGL.GLU import *
File "C:\Python26\lib\site-packages\OpenGL\GLU\__init__.py", line 4,
in <module>
from OpenGL.raw.GLU import *
File "C:\Python26\lib\site-packages\OpenGL\raw\GLU\__init__.py",
line 6, in <module>
from OpenGL.raw.GLU.constants import *
File "C:\Python26\lib\site-packages\OpenGL\raw\GLU\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

The code is very simple all I have is two import statements:
from OpenGL.GLU import *
from OpenGL.GL import *

The code analysis says that it is "unable to detect undefined names".
What does that mean and how do I fix it? Is it an installation error?

Thanks for the help,
Ron
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Detect Use of Unassigned(Undefined) Variable(Function) ++imanshu Python 3 11-28-2009 04:15 AM
pyopengl glShaderSourceARB error joroy Python 1 12-10-2006 02:21 AM
B::Lint does not detect undefined subs Alexander Frink Perl Misc 5 08-07-2006 10:21 PM
Help on Error - Unable to detect the web server!!!! sikkavarun ASP .Net 2 03-01-2005 07:45 PM
How to detect an undefined SV* value in XS? J. Romano Perl Misc 21 12-14-2004 05:07 AM



Advertisments