Greetings.

I am developing an automated service to deliver updates over Gemini,
HTTP, and XMPP.

https://git.xmpp-it.net/sch/Slixfeed

The interface of XMPP is manifested with module "slixmpp".

The recommended asynchronous directives to be utilize with server mode
are these (only one is required).

* self.loop.run_forever()

* asyncio.get_event_loop().run_forever()

https://slixmpp.readthedocs.io/en/latest/using_asyncio.html

After updating to Python 3.14 version, the XMPP service fails to start.

See attached error message.

I tried several variations of different directives which are offered at.

https://docs.python.org/3/whatsnew/3.14.html#id10

Yet, all failed to me.

I would appreciate your assistance.


Kind regards,
Schimon
Traceback (most recent call last):
  File "/home/eustace/.venv/bin/slixfeed-server", line 7, in <module>
    sys.exit(main())
             ~~~~^^
  File 
"/home/eustace/.venv/lib/python3.14/site-packages/slixfeed/script/server.py", 
line 264, in main
    asyncio.run(start())
    ~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3.14/asyncio/runners.py", line 204, in run
    return runner.run(main)
           ~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.14/asyncio/runners.py", line 127, in run
    return self._loop.run_until_complete(task)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.14/asyncio/base_events.py", line 719, in 
run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File 
"/home/eustace/.venv/lib/python3.14/site-packages/slixfeed/script/server.py", 
line 227, in start
    interface_instance = XmppClient(address, password, hostname, port)
  File 
"/home/eustace/.venv/lib/python3.14/site-packages/slixfeed/interface/xmpp/client.py",
 line 225, in __init__
    self.loop.run_forever()
    ~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.14/asyncio/base_events.py", line 674, in run_forever
    self._run_forever_setup()
    ~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.14/asyncio/base_events.py", line 644, in 
_run_forever_setup
    self._check_running()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.14/asyncio/base_events.py", line 631, in _check_running
    raise RuntimeError('This event loop is already running')
RuntimeError: This event loop is already running
-- 
https://mail.python.org/mailman3//lists/python-list.python.org

Reply via email to