Package: python-matplotlib
Version: 2.2.3-5
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
    trying to run a program which uses python-matplotlib and got the following 
crash:
  File 
"/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_gtkagg.py", line 
12, in <module>
    from matplotlib.backends.backend_gtk import (
  File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_gtk.py", 
line 38, in <module>
    from matplotlib.backends.backend_gdk import RendererGDK, FigureCanvasGDK
  File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_gdk.py", 
line 29, in <module>
    from matplotlib.backends._backend_gdk import pixbuf_get_pixels_array
ImportError: No module named _backend_gdk

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
         Due to bug#889137 I modified one program line from this:

         from matplotlib.backends.backend_gtkagg import NavigationToolbar2GTKAgg

         to this:

         from matplotlib.backends.backend_gtk3agg import 
NavigationToolbar2GTKAgg

   * What was the outcome of this action?

   Another crash:
  File 
"/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_gtk3agg.py", line 
9, in <module>
    from . import backend_agg, backend_gtk3
  File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_gtk3.py", 
line 19, in <module>
    from ._gtk3_compat import GLib, GObject, Gtk, Gdk
  File "/usr/lib/python2.7/dist-packages/matplotlib/backends/_gtk3_compat.py", 
line 34, in <module>
    raise ImportError("The Gtk3 backend requires PyGObject or pgi")
ImportError: The Gtk3 backend requires PyGObject or pgi

   * What outcome did you expect instead?

   The program to run.
   The program is not mine, I am not familiar with python ecosystem, so I am 
completely lost.
   I do not know if that's a Debian's fault to purge gtk2 support
         or matplotlib is unable to use gtk3 or if it is being called in a 
wrong way.

   I did install python-gi and python-gobject-2.
   I have no idea what is PyGObject, so at least the error message is 
useless/misleading.

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), LANGUAGE= 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python-matplotlib depends on:
ii  libc6                                 2.28-2
ii  libfreetype6                          2.9.1-3
ii  libgcc1                               1:8.2.0-13
ii  libjs-jquery                          3.2.1-1
ii  libjs-jquery-ui                       1.12.1+dfsg-5
ii  libpng16-16                           1.6.36-2
ii  libstdc++6                            8.2.0-13
ii  python                                2.7.15-3
ii  python-backports.functools-lru-cache  1.5-1
ii  python-cycler                         0.10.0-1
ii  python-dateutil                       2.6.1-1
ii  python-kiwisolver                     1.0.1-2+b1
ii  python-matplotlib2-data               2.2.3-5
ii  python-numpy [python-numpy-abi9]      1:1.16.0~rc2-2
ii  python-pyparsing                      2.2.0+dfsg1-2
ii  python-six                            1.12.0-1
ii  python-subprocess32                   3.5.3-1
ii  python-tz                             2018.7-1
ii  zlib1g                                1:1.2.11.dfsg-1

Versions of packages python-matplotlib recommends:
ii  python-pil  5.3.0-1
ii  python-tk   2.7.15-1+b1

Versions of packages python-matplotlib suggests:
ii  dvipng                  1.15-1.1
ii  ffmpeg                  7:4.1-1
ii  ghostscript             9.26~dfsg-2
ii  gir1.2-gtk-3.0          3.24.2-3
ii  inkscape                0.92.3-7
ii  ipython                 5.8.0-1
ii  librsvg2-common         2.44.10-1
pn  python-cairocffi        <none>
pn  python-configobj        <none>
pn  python-excelerator      <none>
ii  python-gi               3.30.4-1
ii  python-gobject-2        2.28.6-13+b1
pn  python-matplotlib2-doc  <none>
ii  python-nose             1.3.7-4
ii  python-qt4              4.12.1+dfsg-2+b1
ii  python-scipy            1.1.0-2
ii  python-sip              4.19.13+dfsg-1
ii  python-tornado          5.1.1-2
pn  python-traits           <none>
ii  python-wxgtk3.0         3.0.2.0+dfsg-8
ii  texlive-extra-utils     2018.20181214-1
ii  texlive-latex-extra     2018.20181214-1
pn  ttf-staypuft            <none>

-- no debconf information

Reply via email to