[Pkg-xmpp-devel] Bug#893694: gajim: fails to start if python3-distutils is not installed (missing dependency?)

Antonio Ospite ao2 at ao2.it
Wed Mar 21 09:48:40 UTC 2018


Package: gajim
Version: 1.0.0-1
Severity: important

Dear Maintainer,

the new gajim version failed to start on my system with the following
messages:


  $ gajim
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/gajim/gajim.py", line 146, in _startup
      from distutils.version import LooseVersion as V
  ModuleNotFoundError: No module named 'distutils'
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/gajim/gajim.py", line 264, in _activate
      from gajim.gui_interface import Interface
    File "/usr/lib/python3/dist-packages/gajim/gui_interface.py", line 54, in <module>
      from gajim.common import app
    File "/usr/lib/python3/dist-packages/gajim/common/app.py", line 35, in <module>
      from distutils.version import LooseVersion as V
  ModuleNotFoundError: No module named 'distutils'
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/gajim/gajim.py", line 316, in do_shutdown
      from gajim.common import app
    File "/usr/lib/python3/dist-packages/gajim/common/app.py", line 35, in <module>
      from distutils.version import LooseVersion as V
  ModuleNotFoundError: No module named 'distutils'


Installing python3-distutils fixes the problem; does it need to be added
to the dependencies?

Ciao,
   Antonio

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

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

Versions of packages gajim depends on:
ii  gir1.2-gtk-3.0    3.22.29-1
ii  python3           3.6.4-1
ii  python3-gi        3.26.1-2
ii  python3-gi-cairo  3.26.1-2
ii  python3-idna      2.6-1
ii  python3-nbxmpp    0.6.4-1
ii  python3-openssl   17.5.0-1
ii  python3-pyasn1    0.4.2-3

Versions of packages gajim recommends:
ii  alsa-utils                             1.1.3-1
ii  aspell-it [aspell-dictionary]          2.4-20070901-0-2.1
ii  ca-certificates                        20170717
ii  dbus                                   1.12.6-2
ii  fonts-noto-color-emoji                 0~20180102-1
ii  gajim-omemo                            2.5.7-1
ii  gajim-pgp                              1.2.2-1
ii  gir1.2-farstream-0.2                   0.2.8-4
ii  gir1.2-geoclue-2.0                     2.4.7-1
ii  gir1.2-gspell-1                        1.6.1-1
ii  gir1.2-gst-plugins-base-1.0            1.12.4-1
ii  gir1.2-gstreamer-1.0                   1.12.4-1
ii  gir1.2-gupnpigd-1.0                    0.2.5-2
ii  gir1.2-networkmanager-1.0              1.10.6-2
ii  gir1.2-secret-1                        0.18.5-6
ii  gnome-flashback [notification-daemon]  3.26.0-3
ii  gnome-shell [notification-daemon]      3.28.0-1
pn  gstreamer0.10-plugins-ugly             <none>
ii  pulseaudio-utils                       11.1-4
ii  python3-crypto                         2.6.1-8
ii  python3-dbus                           1.2.6-1
ii  python3-gnupg                          0.4.1-2
ii  python3-keyring                        10.6.0-1
ii  python3-pil                            5.0.0-1
ii  python3-precis-i18n                    1.0.0-1

Versions of packages gajim suggests:
ii  avahi-daemon      0.7-3.1
ii  libxss1           1:1.2.2-1+b2
ii  nautilus-sendto   3.8.6-2
pn  python3-avahi     <none>
pn  python3-gconf     <none>
pn  python3-gnome2    <none>
pn  python3-kerberos  <none>
ii  python3-pycurl    7.43.0.1-0.2

-- no debconf information
-- 
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?



More information about the Pkg-xmpp-devel mailing list