[ pyopengl-Bugs-1859019 ] unable to import GLUT

SourceForge.net <[email protected]> Sun, 18 Nov 2012 03:49:52 -0800
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #1859019, was opened at 2007-12-27 09:47
Message generated for change (Comment added) made by matti
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1859019&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: v3.0.0
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Mike C. Fletcher (mcfletch)
Summary: unable to import GLUT

Initial Comment:
I get the following error upon a command:


>>> from OpenGL.GLUT import *

Traceback (most recent call last):
  File "<pyshell#2>", line 1, in <module>
    from OpenGL.GLUT import *
  File "build\bdist.win32\egg\OpenGL\GLUT\__init__.py", line 4, in <module>
  File "build\bdist.win32\egg\OpenGL\GLUT\special.py", line 73, in <module>
AttributeError: 'NoneType' object has no attribute 'glutDestroyWindow'




Please help me to get GLUT to work

[email protected]


----------------------------------------------------------------------

Comment By: Matti Picus (matti)
Date: 2012-11-18 03:49

Message:
It would be nice to get a better error message when no glut is available,
for instance in opengl/platform/win32.py, after testing for all the glut
variations (line 51 for me), something like

if GLUT is None:
    logger.warning('No GLUT found, a glut dll must be on the PATH')

It would have saved me some time today...

----------------------------------------------------------------------

Comment By: Mike C. Fletcher (mcfletch)
Date: 2008-01-07 07:31

Message:
Logged In: YES 
user_id=34901
Originator: NO

Your problem is likely that GLUT is not installed, or is installed
somewhere other than on the system's library lookup path.  The newest code
uses checks that allow GLUT not to be installed and still import the GLUT
module, but that doesn't address your problem, which is most likely just a
system setup issue.  Closing for now.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1859019&group_id=5988

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net