fail to send zeroconf bonjour local messages
Unable to send messages through Zeroconf/Bonjour protocol on a local network. Target client is also Gajim 1.1 on Debian. Target is available, however after sending a message I get the following traceback window + following error message in the chat window : "La connexion à l'hôte n'a pas pu être établie : délai d'envoi des données dépassé" (unable to reach the target).
Versions
- OS: Debian GNU/Linux buster/sid
- GTK+ Version: 3.24.2
- PyGObject Version: 3.30.4
- python-nbxmpp Version: 0.6.8
- Gajim Version: 1.1.0
Traceback
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 662, in <lambda>
func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
File "/usr/lib/python3/dist-packages/nbxmpp/idlequeue.py", line 563, in _process_events
return IdleQueue._process_events(self, fd, flags)
File "/usr/lib/python3/dist-packages/nbxmpp/idlequeue.py", line 411, in _process_events
obj.pollin()
File "/usr/lib/python3/dist-packages/gajim/common/zeroconf/client_zeroconf.py", line 546, in pollin
self.on_receive(received)
File "/usr/lib/python3/dist-packages/gajim/common/zeroconf/client_zeroconf.py", line 300, in _on_receive_document_attrs
self.Dispatcher.ProcessNonBlocking(data)
File "/usr/lib/python3/dist-packages/nbxmpp/dispatcher_nb.py", line 233, in ProcessNonBlocking
self.Stream.Parse(data)
File "../Modules/pyexpat.c", line 417, in StartElement
File "/usr/lib/python3/dist-packages/nbxmpp/simplexml.py", line 640, in starttag
self.stream_header_received(ns, name, attrs)
File "/usr/lib/python3/dist-packages/gajim/common/zeroconf/client_zeroconf.py", line 277, in _check_stream_start
self.send(stanza, is_message)
File "/usr/lib/python3/dist-packages/nbxmpp/dispatcher_nb.py", line 580, in send
self._owner.Connection.send(stanza, now)
File "/usr/lib/python3/dist-packages/gajim/common/zeroconf/client_zeroconf.py", line 444, in send
r = str(packet).encode('utf-8')
TypeError: __str__ returned non-string (type MagicMock)
Steps to reproduce the problem
...