Public bug reported:
Yesterday I installed Ubuntu Lucid Lynx beta1 64bits: everything went fine
except for the package python-gtk2 (I suppose). If I open a python shell, and
try to import the gtk module, I get the following error:
$ python
Python 2.6.5 (r265:79063, Mar 20 2010, 14:40:09)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py", line 40, in
<module>
from gtk import _gtk
AttributeError: 'module' object has no attribute 'CAPI'
and this also happens for example, while trying to open the preferences dialog
of ubuntuone:
$ ubuntuone-preferences
Traceback (most recent call last):
File "/usr/bin/ubuntuone-preferences", line 27, in <module>
import gtk
File "/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py", line 40, in
<module>
from gtk import _gtk
AttributeError: 'module' object has no attribute 'CAPI'
The same occurs while invoking ubuntu-bug (I needed to run apport-cli..).
Best regards.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: python-gtk2 2.17.0-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-17.26-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-17-generic x86_64
Architecture: amd64
Date: Mon Mar 29 12:02:12 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
ProcEnviron:
SHELL=/bin/bash
LANG=en_US.utf8
SourcePackage: pygtk
** Affects: pygtk (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug lucid
--
python-gtk2: missing CAPI
https://bugs.launchpad.net/bugs/550796
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