gajim.p.manager Error executing <bound method PGPPlugin._encrypt_message of <pgp.plugin.PGPPlugin object at 0x73120a376c80>>
I just upgraded Gajim from 1.3.3-1 to 1.4.6-1 and I noticed that I can't use GPG encryption anymore. Basically the encrypted message isn't sent, and in the terminal I can see the following messages:
$ gajim
No translations found for en_US
Dirs searched: [PosixPath('/home/morfik/.local/share'), PosixPath('/usr/local/share'), PosixPath('/usr/share')]
2022-07-16 07:28:24 (E) gajim.c.dbus.system_style Couldn’t read the color-scheme setting: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.portal.Desktop" does not exist
(org.gajim.Gajim:3086267): Gdk-CRITICAL **: 07:28:31.672: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
2022-07-16 07:29:33 (W) gajim.c.storage.archive Execution time for insert_into_logs: 65 ms
2022-07-16 07:29:33 (W) gajim.c.storage.cache Execution time for _commit: 85 ms
2022-07-16 07:29:34 (W) gajim.c.storage.archive Execution time for _commit: 74 ms
2022-07-16 07:32:42 (W) gajim.c.storage.archive Execution time for _commit: 55 ms
2022-07-16 07:32:55 (W) gajim.p.manager Error executing <bound method PGPPlugin._encrypt_message of <pgp.plugin.PGPPlugin object at 0x73120a376c80>>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/plugins/pluginmanager.py", line 449, in _execute_all_handlers_of_gui_extension_point
handlers[0](*args)
File "/usr/lib/python3/dist-packages/gajim/data/plugins/pgp/plugin.py", line 180, in _encrypt_message
self.get_pgp_module(account).encrypt_message(conn, event, callback)
File "/usr/lib/python3/dist-packages/gajim/data/plugins/pgp/modules/pgp_legacy.py", line 160, in encrypt_message
to_jid = app.get_jid_without_resource(event.jid)
File "/usr/lib/python3/dist-packages/gajim/common/app.py", line 338, in get_jid_without_resource
return jid.split('/')[0]
AttributeError: 'JID' object has no attribute 'split'
Versions
- OS: Debian Sid ("Debian GNU/Linux bookworm/sid")
- Gajim version: 1.4.6-1
- Plugin version: gajim-pgp 1.4.6-1
- GTK Version: 3.24.34
- GLib Version: 2.72.0
- PyGObject Version: 3.42.1
- Cairo Version: 1.16.0
- python-cairo Version: 1.20.1
- python-nbxmpp Version: 3.1.0