[Python-modules-team] Bug#521381: python-cairo: Can't import cairo module from Python

Thierry Florac tflorac at ulthar.net
Fri Mar 27 07:31:08 UTC 2009


Package: python-cairo
Version: 1.8.4-1
Severity: critical
Justification: breaks unrelated software


Since last upgrade, I can't run any Python application using GTK+ because of an import error :

>>> import gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py", line 48, in <module>
    from gtk import _gtk
  File "/usr/lib/python2.5/site-packages/cairo/__init__.py", line 1, in <module>
    from _cairo import *
ImportError: No module named _cairo


I tried to reinstall and reconfigure several packages (python-gtk2, python-cairo), without success.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-cairo depends on:
ii  libc6                         2.9-6      GNU C Library: Shared libraries
ii  libcairo2                     1.8.6-2+b1 The Cairo 2D vector graphics libra
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-support                0.8.7      automated rebuilding support for P

python-cairo recommends no packages.

python-cairo suggests no packages.

-- no debconf information

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.






More information about the Python-modules-team mailing list