[Python-modules-team] Bug#612529: python-matplotlib: Cairo update breaks matplotlib.image imgshow

Yannick Roehlly yannick.roehlly at free.fr
Tue Feb 8 23:02:19 UTC 2011


Package: python-matplotlib
Version: 1.0.1-1
Severity: normal
Tags: sid

With the recent libcairo2 update, matplotlib.image segfaults when using
imgshow().

For instance, launch ipython and execute this commands:

 import matplotlib.pyplot as plt
 import matplotlib.image as mpimg
 img=mpimg.imread('/usr/share/gdm/themes/debian-greeter/debian.png')
 imgplot=plt.imshow(img)

When libcairo2 is downgraded to testing version (1.10.2-1), the segfault
does no occur.

I've recompiled matplotlib but it does not solved the problem.

Regards,

Yannick

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-liquorix-5 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-matplotlib depends on:
ii  libatk1.0-0               1.32.0-2       The ATK accessibility toolkit
ii  libc6                     2.11.2-11      Embedded GNU C Library: Shared lib
ii  libcairo2                 1.10.2-2       The Cairo 2D vector graphics libra
ii  libfontconfig1            2.8.0-2.1      generic font configuration library
ii  libfreetype6              2.4.2-2.1      FreeType 2 font engine, shared lib
ii  libgcc1                   1:4.4.5-10     GCC support library
ii  libglib2.0-0              2.27.91-1      The GLib library of C routines
ii  libgtk2.0-0               2.24.0-1       The GTK+ graphical user interface 
ii  libpango1.0-0             1.28.3-4       Layout and rendering of internatio
ii  libpng12-0                1.2.44-1       PNG library - runtime
ii  libstdc++6                4.6-20110125-1 The GNU Standard C++ Library v3
ii  python                    2.6.6-10       interactive high-level object-orie
ii  python-cairo              1.8.8-1+b1     Python bindings for the Cairo vect
ii  python-dateutil           1.4.1-3        powerful extensions to the standar
ii  python-gobject            2.27.0-2       Python bindings for the GObject li
ii  python-matplotlib-data    1.0.1-1        Python based plotting system (data
ii  python-numpy              1:1.4.1-5      Numerical Python adds a fast array
ii  python-pyparsing          1.5.2-2        Python parsing module
ii  python-support            1.0.12         automated rebuilding support for P
ii  python-tz                 2010b-1        Python version of the Olson timezo
ii  tcl8.5                    8.5.9-1        Tcl (the Tool Command Language) v8
ii  tk8.5                     8.5.9-1        Tk toolkit for Tcl and X11, v8.5 -
ii  zlib1g                    1:1.2.5.dfsg-1 compression library - runtime

Versions of packages python-matplotlib recommends:
ii  python-glade2                 2.17.0-4   GTK+ bindings: Glade support
ii  python-tk                     2.7-2      Tkinter - Writing Tk applications 

Versions of packages python-matplotlib suggests:
ii  dvipng                     1.13-1        convert DVI files to PNG graphics
ii  ipython                    0.10.1-0.1    enhanced interactive Python shell
ii  librsvg2-common            2.32.0-1      SAX-based renderer library for SVG
ii  python-configobj           4.7.2+ds-1    simple but powerful config file re
pn  python-excelerator         <none>        (no description available)
ii  python-gtk2                2.17.0-4      Python bindings for the GTK+ widge
ii  python-matplotlib-doc      1.0.1-1       Python based plotting system (docu
pn  python-qt3                 <none>        (no description available)
ii  python-qt4                 4.7.3-1+b1    Python bindings for Qt4
ii  python-scipy               0.7.2+dfsg1-1 scientific tools for Python
ii  python-traits              3.5.0-1       Manifest typing and reactive progr
ii  python-wxgtk2.8            2.8.10.1-3+b1 wxWidgets Cross-platform C++ GUI t
ii  texlive-extra-utils        2009-10       TeX Live: TeX auxiliary programs
ii  texlive-latex-extra        2009-10       TeX Live: LaTeX supplementary pack

-- no debconf information





More information about the Python-modules-team mailing list