Package: gajim
Version: 0.16-1
Severity: normal

Dear Maintainer,

when I have a valid Kerberos TGT and start gajim, it fails to
connect to the xmpp-server but prints the following error:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nbxmpp/dispatcher_nb.py", line 497, in
dispatch
    handler['func'](session, stanza)
  File "/usr/lib/python2.7/dist-packages/nbxmpp/auth_nb.py", line 304, in
SASLHandler
    data=base64.b64decode(incoming_data.encode('utf-8')).decode('utf-8')
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x81 in position 1: invalid
start byte


klist shows that it already obtained new tickets for the xmpp-server.

This same setup works fine on a system running debian 7.7 with gajim
0.15.1-4-1.

If I remove my TGT and start gajim anew, it asks me for a password and then
connects
successfully.

Apart from the real problem that caused this traceback, I think gajim should
catch
such errors and fall back to prompting for a password if external
authentication
failed.

Thanks,
    Thomas



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

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gajim depends on:
ii  dbus           1.8.12-1
ii  dnsutils       1:9.9.5.dfsg-6
ii  python-dbus    1.2.0-2+b3
ii  python-gtk2    2.24.0-4
ii  python-nbxmpp  0.5.1-2
pn  python:any     <none>

Versions of packages gajim recommends:
ii  ca-certificates      20141019
ii  notification-daemon  0.7.6-2
ii  python-crypto        2.6.1-5+b2
ii  python-openssl       0.14-1
ii  python-pyasn1        0.1.7-1

Versions of packages gajim suggests:
ii  aspell-en [aspell-dictionary]  7.1-0-1.1
ii  avahi-daemon                   0.6.31-4+b2
pn  dvipng                         <none>
ii  gnome-keyring                  3.14.0-1+b1
pn  gstreamer0.10-plugins-ugly     <none>
pn  kwalletcli                     <none>
pn  libgtkspell0                   <none>
ii  libxss1                        1:1.2.2-1
pn  nautilus-sendto                <none>
pn  network-manager                <none>
pn  python-avahi                   <none>
pn  python-farstream               <none>
pn  python-gconf                   <none>
pn  python-gnome2                  <none>
pn  python-gnomekeyring            <none>
pn  python-gupnp-igd               <none>
ii  python-kerberos                1.1.5-0.1
ii  python-pycurl                  7.19.5-3
pn  texlive-latex-base             <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to