Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using >>> from OpenGL.GLUT import * #45687

Closed
neuralsensor mannequin opened this issue Oct 27, 2007 · 4 comments
Closed

Error using >>> from OpenGL.GLUT import * #45687

neuralsensor mannequin opened this issue Oct 27, 2007 · 4 comments

Comments

@neuralsensor
Copy link
Mannequin

neuralsensor mannequin commented Oct 27, 2007

BPO 1346

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2007-10-31.06:16:38.137>
created_at = <Date 2007-10-27.22:33:15.485>
labels = ['OS-windows']
title = 'Error using >>> from OpenGL.GLUT import *'
updated_at = <Date 2008-08-24.05:27:21.534>
user = 'https://bugs.python.org/neuralsensor'

bugs.python.org fields:

activity = <Date 2008-08-24.05:27:21.534>
actor = 'igorcamp'
assignee = 'none'
closed = True
closed_date = <Date 2007-10-31.06:16:38.137>
closer = 'nnorwitz'
components = ['Windows']
creation = <Date 2007-10-27.22:33:15.485>
creator = 'neuralsensor'
dependencies = []
files = []
hgrepos = []
issue_num = 1346
keywords = []
message_count = 4.0
messages = ['56866', '56867', '56989', '71827']
nosy_count = 4.0
nosy_names = ['nnorwitz', 'ggenellina', 'neuralsensor', 'igorcamp']
pr_nums = []
priority = 'normal'
resolution = 'rejected'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1346'
versions = ['Python 2.5']

@neuralsensor
Copy link
Mannequin Author

neuralsensor mannequin commented Oct 27, 2007

I get the response shown below when trying to use OpenGL. I have Python
2.5, PIL-1.1.6, and PyOpenGL 3.0 installed.
Any help would be greatly appreciated.

Thanks,
Dale

>> from OpenGL.GLUT import *

Traceback (most recent call last):
  File "<pyshell#0>", 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'
>>> 

__init__.py line 4 is;

from OpenGL.GLUT.special import *

special.py line 73 is;

_base_glutDestroyWindow = GLUT.glutDestroyWindow

@neuralsensor neuralsensor mannequin added build The build process and cross-build OS-windows labels Oct 27, 2007
@ggenellina
Copy link
Mannequin

ggenellina mannequin commented Oct 27, 2007

Looks like GLUT in special.py is None. You should ask the PyOpenGL
author/community for help. This is not a Python bug.

@nnorwitz
Copy link
Mannequin

nnorwitz mannequin commented Oct 31, 2007

As gagenellina said, this problem appears to be with OpenGL, not python.
OpenGL is not maintained here. You'll have to open a bug report with them.

@nnorwitz nnorwitz mannequin closed this as completed Oct 31, 2007
@igorcamp
Copy link
Mannequin

igorcamp mannequin commented Aug 24, 2008

You have to put the glut32.dll in Windows/system32 folder.

You can get glut32.dll here:

http://www.xmission.com/~nate/glut/glut-3.7.6-bin.zip

extract the glut32.dll to the Windows/system32 folder and voila.

@igorcamp igorcamp mannequin removed the build The build process and cross-build label Aug 24, 2008
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants