Control: tags -1 + patch Attached patch gets the command working again (verified XMPP messages are received), however it outputs some noise. Maybe it needs a task queue with a sleep.
# painintheapt -t Using slower stringprep, consider using cargo to build the faster version in rust. Task was destroyed but it is pending! task: <Task pending name='Task-1' coro=<XMLStream.run_filters() done, defined at /usr/lib/python3/dist-packages/slixmpp/xmlstream/xmlstream.py:1265> wait_for=<Future cancelled>> -- Gerald Turner <gtur...@unzane.com> Encrypted mail preferred! OpenPGP: 4096R / CA89 B27A 30FA 66C5 1B80 3858 EC94 2276 FDB8 716D
Description: Remove obsolete slixmpp 'process' usage The slixmpp library has removed 'process' method since 1.9.0. Author: Gerald Turner <gtur...@unzane.com> Bug-Debian: https://bugs.debian.org/1109729 Last-Update: 2025-07-22 --- painintheapt-0.20220226.orig/painintheapt +++ painintheapt-0.20220226/painintheapt @@ -5,6 +5,7 @@ # Python standard modules import argparse +import asyncio import collections import configparser import email.mime.text @@ -251,7 +252,7 @@ def sendxmpp(config, config_dir, table, xmpp.register_plugin("xep_0199") # XMPP ping xmpp.connect() - xmpp.process(forever=False) + asyncio.get_event_loop().run_until_complete(xmpp.disconnected) def sendsmtp(config, config_dir, table, count, host, debug, changes):
signature.asc
Description: PGP signature