Error: could not import gggears

Bug #606790 reported by osman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GGGears
Invalid
Undecided
Unassigned

Bug Description

I have ubuntu lucid AMD64. I removed gggears using apt-get remove, and re-installed after updating the launchpad user id to gggears/main. I also removed /var/cache/apt/archives/gggears_0.1.1-0ubuntu1~ppal0_amd64.deb
I have gtkgl python bindings installed:
i python-gtkglext1 - GtkGLext python bindings
If I type gggears I get:

osman@destiny:/$ gggears
Error: could not import gggears

in python :

osman@destiny:/$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gggears.gggears import main
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/dist-packages/gggears/gggears.py", line 62, in <module>
    from preview import *
  File "/usr/lib/python2.6/dist-packages/gggears/preview.py", line 53, in <module>
    import gtk.gtkgl
ImportError: No module named gtkgl
>>>

Would appreciate any help. btw the new web page is looking very cool:-)

Best reagrds,
osman

Revision history for this message
logari81 (logari81) wrote :

please post the results of:
ls /usr/lib/pymodules/python2.6/gtk-2.0/gtk/gtkgl/
python -c "import sys;print sys.path"

Revision history for this message
osman (osman) wrote :

ls /usr/lib/pymodules/python2.6/gtk-2.0/gtk/gtkgl/
apputils.py _gtkgl.so __init__.pyc widget.pyc
apputils.pyc __init__.py widget.py

osman@destiny:~$ python -c "import sys;print sys.path"
['', '/usr/local/lib/python2.6/dist-packages/FiPy-2.0.2-py2.6.egg', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/Numeric', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/WrapITK/Python', '/usr/lib/python2.6/dist-packages/openturns', '/usr/lib/python2.6/dist-packages/gst-0.10', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode', '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode', '/usr/local/lib/python2.6/dist-packages']
osman@destiny:~$

Revision history for this message
logari81 (logari81) wrote :

please, try
python -c "import gtk.gtkgl"

Do you receive any error message after executing this command?

Revision history for this message
osman (osman) wrote :

Yes, here it is:
python -c "import gtk.gtkgl"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.6/dist-packages/gtk-2.0/gtk/gtkgl/__init__.py", line 21, in <module>
    from _gtkgl import *
ImportError: No module named _gtkgl

Revision history for this message
logari81 (logari81) wrote :

hmm, this is very strange, I would suggest that you run Ubuntu 10.04 from the liveCD, you install the package python-gtkglext1 and you try the command:
python -c "import gtk.gtkgl"
once again.

I think that something is broken in your system. Maybe because of the upgrade of a previous ubuntu version.

Revision history for this message
osman (osman) wrote :

OK. I added a virtual ubuntu 10.04 box. gggears and gtkgl work there. So you were right. My installation is hosed.
Thanks.

logari81 (logari81)
Changed in gggears:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.