[Python-modules-team] Bug#646319: python-matplotlib: Failed to load module "pk-gtk-module" - Segmentation error ion pylab.fig()

Niels Langager Ellegaard niels.ellegaard at gmail.com
Sun Oct 23 08:27:49 UTC 2011


Package: python-matplotlib
Version: 1.1.0-1
Severity: important

Dear Maintainer,

*Steps to reproduce*

$ cat test.py
import matplotlib.pyplot as plt
fig = plt.figure()

$ python test.py
Gtk-Message: Failed to load module "pk-gtk-module"
/usr/lib/pymodules/python2.7/matplotlib/backends/backend_gtk.py:552:
/GtkWarning: IA__gtk_widget_is_toplevel: assertion `GTK_IS_WIDGET (widget)'
/failed
  self.toolbar.destroy()
Segmentation fault


*Details*

$ python
Python 2.7.2+ (default, Oct  5 2011, 10:41:47)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.path
['',
'/home/niels/local/lib/python2.5/site-packages/PyWavelets-0.1.6-py2.5-linux-i68
'/home/niels/local/lib/python',
'/home/niels/local/lib/python2.5/site-packages',
'/home/niels/workspace/grafer', '/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL',
No modified files, so no updates needed.

niels at ellegaard:~/workspace/grafer $ dpkg -l | grep gtk | grep module
ii  libcanberra-gtk-module               0.28-3
translates GTK+ widgets signals to event sounds
ii  libcanberra-gtk3-module              0.28-3
translates GTK3 widgets signals to event sounds
ii  packagekit-gtk3-module               0.6.18-1+b1
Install fonts automatically using PackageKit

I would be happy to provide more information. Please ask in the bug.

      Niels

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

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-matplotlib depends on:
ii  libatk1.0-0             2.2.0-2
ii  libc6                   2.13-21
ii  libcairo2               1.10.2-6.1
ii  libfontconfig1          2.8.0-3
ii  libfreetype6            2.4.7-1
ii  libgcc1                 1:4.6.1-16
ii  libgdk-pixbuf2.0-0      2.24.0-1
ii  libglib2.0-0            2.28.8-1
ii  libgtk2.0-0             2.24.7-1
ii  libpango1.0-0           1.29.4-2
ii  libpng12-0              1.2.46-3
ii  libstdc++6              4.6.1-16
ii  python                  2.7.2-9
ii  python-cairo            1.8.8-1+b2
ii  python-dateutil         1.5-1
ii  python-gobject          2.28.6-5
ii  python-matplotlib-data  1.1.0-1
ii  python-numpy            1:1.5.1-3
ii  python-pyparsing        1.5.2-2
ii  python-support          1.0.14
ii  python-tz               2011h-1
ii  tcl8.5                  8.5.10-1
ii  tk8.5                   8.5.10-1
ii  zlib1g                  1:1.2.3.4.dfsg-3

Versions of packages python-matplotlib recommends:
ii  python-glade2  2.24.0-2
ii  python-tk      2.7.1-3

Versions of packages python-matplotlib suggests:
ii  dvipng                 1.14-1
ii  ipython                <none>
ii  librsvg2-common        2.34.1-2
ii  python-configobj       4.7.2+ds-3
ii  python-excelerator     <none>
ii  python-gtk2            2.24.0-2
ii  python-matplotlib-doc  <none>
ii  python-qt3             <none>
ii  python-qt4             <none>
ii  python-scipy           0.9.0+dfsg1-1+b2
ii  python-traits          <none>
ii  python-wxgtk2.8        <none>
ii  texlive-extra-utils    2009-10
ii  texlive-latex-extra    2009-10

-- no debconf information





More information about the Python-modules-team mailing list