Got a stacktrace the day after I added a new contact
Hi! I got this stack trace this morning after turning on my laptop.
I added this contact yesterday, not sure why I'm getting it again today.
There was an experimental client involved that does not yet implement iq-set stanza's so perhaps the server is retrying the iq. That, or it's completely unrelated that second client.
Not sure how I'd reproduce it, but it seems Prosody can re-send the same contact twice?
Versions:
- OS: Linux 6.1.69
- GTK Version: 3.24.38
- PyGObject Version: 3.46.0
- GLib Version : 2.78.1
- libsoup Version: 3.4.4
- python-nbxmpp Version: 4.5.3
- Gajim Version: 1.8.4
Traceback
Traceback (most recent call last):
File "/nix/store/zjlcwfbhzh42b8hk8nnq1sx21h4bgynh-gajim-1.8.4/lib/python3.11/site-packages/gajim/gtk/application.py", line 389, in _handle_local_options
self._startup()
File "/nix/store/zjlcwfbhzh42b8hk8nnq1sx21h4bgynh-gajim-1.8.4/lib/python3.11/site-packages/gajim/gtk/application.py", line 269, in _startup
MainWindow()
File "/nix/store/zjlcwfbhzh42b8hk8nnq1sx21h4bgynh-gajim-1.8.4/lib/python3.11/site-packages/gajim/gtk/main.py", line 155, in __init__
self._load_chats()
File "/nix/store/zjlcwfbhzh42b8hk8nnq1sx21h4bgynh-gajim-1.8.4/lib/python3.11/site-packages/gajim/gtk/main.py", line 1342, in _load_chats
self._chat_page.load_workspace_chats(workspace_id)
File "/nix/store/zjlcwfbhzh42b8hk8nnq1sx21h4bgynh-gajim-1.8.4/lib/python3.11/site-packages/gajim/gtk/chat_page.py", line 282, in load_workspace_chats
self.add_chat_for_workspace(workspace_id,
File "/nix/store/zjlcwfbhzh42b8hk8nnq1sx21h4bgynh-gajim-1.8.4/lib/python3.11/site-packages/gajim/gtk/chat_page.py", line 251, in add_chat_for_workspace
client.get_module('Contacts').add_group_chat_contact(jid)
File "/nix/store/zjlcwfbhzh42b8hk8nnq1sx21h4bgynh-gajim-1.8.4/lib/python3.11/site-packages/gajim/common/modules/contacts.py", line 159, in add_group_chat_contact
raise ValueError(f'Trying to add GroupchatContact {jid}, '
ValueError: Trying to add GroupchatContact xmppftw@kl.netlib.re, but contact already exists as xmppftw@kl.netlib.re (mizah.xyz1) (in roster: True)
Steps to reproduce the problem
...