Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1018529 > unrolled thread

Bug#965324: python3-dbus: Missing dependency on the dbus-X11 package

Started bySergiy Kolesnikov <skstudio@gmx.de>
First post2020-07-19 17:00 +0200
Last post2020-07-19 21:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#965324: python3-dbus: Missing dependency on the dbus-X11 package Sergiy Kolesnikov <skstudio@gmx.de> - 2020-07-19 17:00 +0200
    Bug#965324: python3-dbus: Missing dependency on the dbus-X11 package smcv@debian.org - 2020-07-19 21:40 +0200

#1018529 — Bug#965324: python3-dbus: Missing dependency on the dbus-X11 package

FromSergiy Kolesnikov <skstudio@gmx.de>
Date2020-07-19 17:00 +0200
SubjectBug#965324: python3-dbus: Missing dependency on the dbus-X11 package
Message-ID<AuiXg-7xp-3@gated-at.bofh.it>
Package: python3-dbus
Version: 1.2.8-3
Severity: important

Dear Maintainer,

while running the Guake terminal emulator I encountered the following
exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/guake/main.py", line 294, in main
    bus = dbus.SessionBus()
  File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 211, in __new__
    mainloop=mainloop)
  File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 100, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed:
/usr/bin/dbus-launc
h terminated abnormally without any error message

By installing the dbus-X11 package the problem was resolved and Guake ran
successfully.

Since the exception was thrown in the dbus Python package, it looks like it
should depend on dbus-X11.



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

Kernel: Linux 5.5.0-0.bpo.2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-dbus depends on:
ii  libc6         2.28-10
ii  libdbus-1-3   1.12.16-1
ii  libglib2.0-0  2.58.3-2+deb10u2
ii  python3       3.7.3-1

Versions of packages python3-dbus recommends:
ii  python3-gi  3.30.4-1

Versions of packages python3-dbus suggests:
pn  python-dbus-doc   <none>
pn  python3-dbus-dbg  <none>

-- no debconf information

[toc] | [next] | [standalone]


#1018558

Fromsmcv@debian.org
Date2020-07-19 21:40 +0200
Message-ID<Aunkd-1Pe-3@gated-at.bofh.it>
In reply to#1018529
Control: retitle -1 guake: missing dependency on default-dbus-session-bus|dbus-session-bus
Control: reassign -1 guake 3.4.0-1

On Sun, 19 Jul 2020 at 16:49:47 +0200, Sergiy Kolesnikov wrote:
> while running the Guake terminal emulator I encountered the following
> exception:
> 
> dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed:
> /usr/bin/dbus-launc
> h terminated abnormally without any error message
> 
> By installing the dbus-X11 package the problem was resolved and Guake ran
> successfully.
> 
> Since the exception was thrown in the dbus Python package, it looks like it
> should depend on dbus-X11.

python3-dbus can be used for several purposes, not all of which need a
D-Bus session bus in your desktop environment. If an application requires
the D-Bus session bus, it is up to that application to depend on it.

There are multiple ways to get a session bus, so applications that require
a D-Bus session bus and cannot work without it should usually depend on
the virtual packages "default-dbus-session-bus | dbus-session-bus". For
example, gnome-terminal does this correctly. dbus-session-bus is currently
provided by dbus-user-session (only implemented on the Linux kernel,
where it is the default) and by dbus-x11 (the default on non-Linux ports,
and also available on Linux, mainly for systems that do not boot using
systemd). If both implementations are installed, dbus-user-session
is preferred.

The error message mentions dbus-launch(1) because "X11 autolaunching",
which uses dbus-launch, is the last mechanism attempted before giving up.

Applications that benefit from a D-Bus session bus but do not strictly
require it should use a weaker dependency on the same virtual packages,
either Recommends or Suggests (I don't know which strength of dependency
is most appropriate for guake). For example, xfce4-terminal uses
Recommends for this.

The version of guake in testing/unstable already indirectly depends on
a D-Bus session bus, via GSettings, but ideally it would have this as a
direct dependency too (assuming it's still a requirement).

    smcv

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web