Public bug reported:

Binary package hint: python-opengl

I am using Ubuntu Release 9.10, with version 3.0.0-0ubuntu1 of python-
opengl.

I discovered the bug while trying to use Impressive version 0.10.2.

You can reproduce the bug by executing "from OpenGL.GL import *" in a
python interpreter (I was using python2.6).

Specifically, this is the output when executing this command:
File "/usr/share/pyshared/OpenGL/GL/__init__.py", line 11, in <module>
    from OpenGL.GL.VERSION.GL_1_2 import *
ImportError: No module named VERSION.GL_1_2

With a little investigation, I found that there is no "__init__.py" file
in the /usr/share/pyshared/OpenGL/GL/VERSION directory, meaning that the
directory is not considered a package, resulting in the module not being
found.

I solved the issue by creating an empty "__init__.py" file in this
directory.

I checked the file list for both karmic and lucid (e.g.
http://packages.ubuntu.com/karmic/all/python-opengl/filelist ) and there
is no "__init__.py" file listed in this directory.

Apologies in advance if this is a duplicate report and I just wasn't
looking in the right spot.

** Affects: pyopengl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
"from OpenGL.GL import *" fails because a module isn't found
https://bugs.launchpad.net/bugs/587059
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to