Your message dated Thu, 12 Sep 2019 20:35:53 -0400
with message-id 
<CAB4XWXzYoYpRR8zRhyi1k9u340p1bhKeMsqQkHExta2=9tx...@mail.gmail.com>
and subject line Re: Bug#919384: python-matplotlib: The Gtk3 backend requires 
PyGObject or pgi
has caused the Debian Bug report #919384,
regarding python-matplotlib: The Gtk3 backend requires PyGObject or pgi
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
919384: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919384
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Closing

On Thu, Jan 17, 2019 at 10:54 PM Sandro Tosi <[email protected]> wrote:
>
> On Wed, Jan 16, 2019 at 8:39 AM Marius Mikučionis <[email protected]> 
> wrote:
> >
> > 2019-01-16, Wed, 14:16 Sandro Tosi <[email protected]> wrote:
> >>
> >> > It would be so much better if one would read the report in full.
> >>
> >> it would be even so much better if you can provide a code snippet to
> >> replicate the issue.
> >
> >
> > I am sorry:
> > 1) the program is too big (many files and thousands of LOC per file)
> > 2) I do not know enough python to make a meaningful slice (many features 
> > jumbled into one spaghetti),
> >
> > The code is available here:
> > http://www.compass-toolset.org/tools-download/
> >
> > Unpack and try running:
> > python scripts/compassw.py
>
> i dont think it's appropriate to expect any maintainer to test
> "random" applications available on the internet, in particular when
> they ask you personal information before sending you back a mail with
> a download link (??). in particular when it has written all over the
> place that this app is targeting specifically ubuntu 16.04 and if you
> dont use that you're on your own.
>
> you may want to ask for assistance to a user support forum, such as
> the debian-users mailing list
>
> > I would not bother you if not for the bug 889137 which says that Gtk2 is 
> > not supported in python.
> > Because of this issue, I need to install Ubuntu (or something else).
>
> i mean, there's nothing wrong with deprecating backends and support
> only newer versions, the problem now is in applications to keep up,
> which in this case has not happened (yet). For example, did you open a
> ticket with the compass developers asking for guidance on how to
> deploy that application with a newer version of matplotlib?
>
> there's nothing wrong with matplotlib in Debian, as far as i can tell,
> just compass (a third party app) needs updating
>
> Regards,
> --
> Sandro "morph" Tosi
> My website: http://sandrotosi.me/
> Me at Debian: http://wiki.debian.org/SandroTosi
> G+: https://plus.google.com/u/0/+SandroTosi



-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi

--- End Message ---

Reply via email to