Open cweiske opened 11 years ago
My problem could be solved by installing the git master of SleekXMPP. It made the following error go away:
Traceback (most recent call last):
File "./sendxmpp.py", line 86, in <module>
xmpp.process(block=True)
File "/usr/lib/python3/dist-packages/sleekxmpp/basexmpp.py", line 148, in process
return XMLStream.process(self, *args, **kwargs)
TypeError: process() got an unexpected keyword argument 'block'
Nevertheless, a debug mode would be fine.
sendxmpp.py disconnects as soon as all messages have been sent, so even if incoming stanzas were logged for debugging, they might not be received before the connection is closed, and waiting for them is a non-trivial feature to implement using SleekXMPP.
I'd like to have a debug flag on command line, so that I can find out where things go wrong.
Wireshark isn't any help because TLS is automatically used, so I can't peek in the xmpp messgaes.