Bug#977510: [gajim] File/Link actions cause g-io-error-quark exception

Charlemagne Lasse charlemagnelasse at gmail.com
Tue Dec 15 21:51:08 GMT 2020

Package: gajim
Version: 1.2.2-1
Severity: important
Tags: patch
X-Debbugs-Cc: pkg-gnome-maintainers at lists.alioth.debian.org
X-Debbugs-Cc: pkg-xmpp-devel at lists.alioth.debian.org
X-Debbugs-Cc: pkg-freedesktop-maintainers at lists.alioth.debian.org

It was noticed that there is a regression when switching from gajim on
Debian buster to gajim on Debian bullseye.

When clicking on a file (aesgcm://....) in the chat, the data is
downloaded but the buttons "Open Folder" or "Open" aren't doing
anything. Also clicking on a link will not open a browser window. Only
following is shown in the log for all the described scenarios:

15.12.2020 09:23:17 (E) gajim.c.helpers            g-io-error-quark:
No application is registered as handling this file (15)
Traceback (most recent call last):
 File "/usr/lib/python3/dist-packages/gajim/common/helpers.py", line
1044, in func_wrapper
   result = func(self, *args, **kwargs)
 File "/usr/lib/python3/dist-packages/gajim/common/helpers.py", line
1160, in open_file
gi.repository.GLib.GError: g-io-error-quark: No application is
registered as handling this file (15)

This can easily be fixed with the attached patch for the dependencies
in debian/control to make sure that desktop-file-utils are installed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gajim-desktop-file-utils.patch
Type: text/x-patch
Size: 327 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20201215/51b3d9f1/attachment.bin>

More information about the Pkg-freedesktop-maintainers mailing list