Package: blueman
Version: 2.0.8-1
Severity: important
Tags: patch

Dear Maintainer,

   * What led up to the situation?

After an upgrade, launching the blueman applet from a terminal: blueman-applet
&

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

blueman-applet complained:

/usr/lib/python3/dist-packages/blueman/plugins/applet/AppIndicator.py:8:
PyGIWarning: AppIndicator3 was imported without specifying a version first. Use
gi.require_version('AppIndicator3', '0.1') before import to ensure that the
right version gets loaded.
  from gi.repository import AppIndicator3 as girAppIndicator

and did not start.

I edited: /usr/lib/python3/dist-packages/blueman/plugins/applet/AppIndicator.py
to add 2 lines:

from gi.repository import require_version
gi.require_version('AppIndicator3', '0.1')

   * What was the outcome of this action?

blueman-applet stopped complaining and started.

   * What outcome did you expect instead?

Blueman to draw his blue sword, me my black sword and the winner to reprogram
the other one ;)



-- System Information:
Debian Release: 10.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), 
LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages blueman depends on:
ii  bluez                                         5.50-1
ii  bluez-obexd                                   5.50-1
ii  dbus                                          1.12.16-1
ii  dbus-user-session [default-dbus-session-bus]  1.12.16-1
ii  dbus-x11 [dbus-session-bus]                   1.12.16-1
ii  dconf-gsettings-backend [gsettings-backend]   0.30.1-2
ii  gir1.2-appindicator3-0.1                      0.4.92-7
ii  gir1.2-gdkpixbuf-2.0                          2.38.1+dfsg-1
ii  gir1.2-glib-2.0                               1.58.3-2
ii  gir1.2-gtk-3.0                                3.24.5-1
ii  gir1.2-notify-0.7                             0.7.7-4
ii  gir1.2-pango-1.0                              1.42.4-7~deb10u1
ii  gnome-icon-theme                              3.12.0-3
ii  libbluetooth3                                 5.50-1
ii  libc6                                         2.28-10
ii  libglib2.0-0                                  2.58.3-2+deb10u1
ii  libpulse-mainloop-glib0                       12.2-4+deb10u1
ii  libpython3.7                                  3.7.3-2
ii  librsvg2-common                               2.44.10-2.1
ii  mate-icon-theme                               1.20.3-1
ii  notification-daemon                           3.20.0-4
ii  python3                                       3.7.3-1
ii  python3-cairo                                 1.16.2-1+b1
ii  python3-dbus                                  1.2.8-3
ii  python3-gi                                    3.30.4-1
ii  python3-gi-cairo                              3.30.4-1
ii  xfce4-notifyd [notification-daemon]           0.4.3-1

Versions of packages blueman recommends:
ii  policykit-1                  0.105-25
ii  pulseaudio-module-bluetooth  12.2-4+deb10u1

blueman suggests no packages.

-- no debconf information
8,9d7
< from gi.repository import require_version
< gi.require_version('AppIndicator3', '0.1')

Reply via email to