[Pkg-xmpp-devel] Bug#1015717: gajim: crashes at startup: KeyError: 'proxies' in optparser.py

Nicolas Patrois nicolas.patrois at gmail.com
Tue Jul 19 19:53:02 BST 2022


Package: gajim
Version: 1.4.6-1
Severity: important
Tags: upstream

Dear Maintainer,

## Versions:
- OS: Debian GNU/Linux bookworm/sid unstable (sid)
- GTK Version: 3.24.34
- PyGObject Version: 3.42.1
- GLib Version : 2.72.0
- python-nbxmpp Version: 3.1.0
- Gajim Version: 1.4.6

## Traceback
```
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gajim/gtk/application.py", line 389, in
_handle_local_options
    self._startup()
  File "/usr/lib/python3/dist-packages/gajim/gtk/application.py", line 231, in
_startup
    self._init_core()
  File "/usr/lib/python3/dist-packages/gajim/common/application.py", line 68,
in _init_core
    app.settings.init()
  File "/usr/lib/python3/dist-packages/gajim/common/settings.py", line 211, in
init
    self._migrate_old_config()
  File "/usr/lib/python3/dist-packages/gajim/common/settings.py", line 324, in
_migrate_old_config
    optparser.OptionsParser(str(configpaths.get('CONFIG_FILE'))).read()
  File "/usr/lib/python3/dist-packages/gajim/common/optparser.py", line 89, in
read
    self.update_config(old_version, new_version)
  File "/usr/lib/python3/dist-packages/gajim/common/optparser.py", line 147, in
update_config
    self.update_config_to_1194()
  File "/usr/lib/python3/dist-packages/gajim/common/optparser.py", line 203, in
update_config_to_1194
    for name in self.old_values['proxies']:
KeyError: 'proxies'

```
## Steps to reproduce the problem

I had to rename ~/.config/gajim/ in order to launch gajim.
The old folder seems to crash gajim.


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 5.16.0-6-686-pae (SMP w/3 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR:fr:en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gajim depends on:
ii  desktop-file-utils           0.26-1
ii  gir1.2-gst-plugins-base-1.0  1.20.3-dmo1
ii  gir1.2-gtk-3.0               3.24.34-1
ii  gir1.2-gtksource-4           4.8.3-1
ii  python3                      3.10.5-2
ii  python3-cairo                1.20.1-3
ii  python3-css-parser           1.0.7-1
ii  python3-gi                   3.42.1-1
ii  python3-gi-cairo             3.42.1-1
ii  python3-idna                 3.3-1
ii  python3-keyring              23.7.0-1
ii  python3-nbxmpp               3.1.0-1
ii  python3-openssl              21.0.0-1
ii  python3-packaging            21.3-1
ii  python3-pil                  9.2.0-1
ii  python3-precis-i18n          1.0.2-3

Versions of packages gajim recommends:
ii  alsa-utils                           1.2.7-1
ii  aspell-de-1901 [aspell-dictionary]   1:2-37
ii  aspell-en [aspell-dictionary]        2018.04.16-0-1
ii  aspell-fr [aspell-dictionary]        0.50-3-8.1
ii  ca-certificates                      20211016
ii  dbus                                 1.14.0-2
ii  dunst [notification-daemon]          1.8.1-1
ii  fonts-noto-color-emoji               2.034-1
pn  gajim-omemo                          <none>
ii  gajim-openpgp                        1.4.9-1
ii  gir1.2-farstream-0.2                 0.2.9-1
ii  gir1.2-geoclue-2.0                   2.6.0-1
ii  gir1.2-gsound-1.0                    1.0.3-2
ii  gir1.2-gspell-1                      1.11.1-1
ii  gir1.2-gstreamer-1.0                 1.20.3-1
ii  gir1.2-gupnpigd-1.0                  1.2.0-1+b1
ii  gir1.2-secret-1                      0.20.5-2
ii  gnome-shell [notification-daemon]    42.3.1-2
ii  gstreamer1.0-plugins-ugly            1:1.20.3-dmo1
ii  notification-daemon                  3.20.0-4+b1
ii  pulseaudio-utils                     15.0+dfsg1-4+b1
ii  python3-dbus                         1.2.18-3+b1
ii  python3-sentry-sdk                   1.7.0-1
ii  sox                                  14.4.2+git20190427-3
ii  xfce4-notifyd [notification-daemon]  0.6.3-1

Versions of packages gajim suggests:
ii  libxss1          1:1.2.3-1
ii  nautilus-sendto  3.8.6-4

-- no debconf information



More information about the Pkg-xmpp-devel mailing list