Package: displaycal
Version: 3.8.7.1-1
Severity: normal

The displaycal package has no dependency on (python-)dbus, but
its script /usr/bin/displaycal-apply-profiles crashes on startup
if the dbus module is not available:

Traceback (most recent call last):
  File "/usr/bin/displaycal-apply-profiles", line 17, in <module>
    main()
  File "/usr/lib/python2.7/dist-packages/DisplayCAL/profile_loader.py", line 
3375, in main
    ProfileLoader()
  File "/usr/lib/python2.7/dist-packages/DisplayCAL/profile_loader.py", line 
1112, in __init__
    self.apply_profiles_and_warn_on_error()
  File "/usr/lib/python2.7/dist-packages/DisplayCAL/profile_loader.py", line 
1834, in apply_profiles_and_warn_on_error
    errors = self.apply_profiles(event, index)
  File "/usr/lib/python2.7/dist-packages/DisplayCAL/profile_loader.py", line 
1683, in apply_profiles
    from worker import Worker, get_argyll_util
  File "/usr/lib/python2.7/dist-packages/DisplayCAL/worker.py", line 127, in 
<module>
    import colord
  File "/usr/lib/python2.7/dist-packages/DisplayCAL/colord.py", line 27, in 
<module>
    from util_dbus import DBusObject, DBusException, BUSTYPE_SYSTEM
  File "/usr/lib/python2.7/dist-packages/DisplayCAL/util_dbus.py", line 16, in 
<module>
    import dbus
ImportError: No module named dbus

The package should add at least a Recommends for python-dbus and possibly
also python-gi.  After conversion to Python 3 as requested in #936404,
these dependencies should be changed to python3-{dbus,gi} respectively.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages displaycal depends on:
ii  argyll           2.0.1+repack-1
ii  libc6            2.29-2
ii  libjs-jquery     3.3.1~dfsg-3
ii  libx11-6         2:1.6.8-1
ii  libxinerama1     2:1.1.4-2
ii  libxrandr2       2:1.5.1-1
ii  libxxf86vm1      1:1.1.4-1+b2
ii  python           2.7.16-1
ii  python-numpy     1:1.16.5-1
ii  python-wxgtk3.0  3.0.2.0+dfsg-8

Versions of packages displaycal recommends:
ii  colord                1.4.4-1
ii  gir1.2-colordgtk-1.0  0.1.26-2

displaycal suggests no packages.

-- no debconf information

Reply via email to