[Pkg-xmpp-devel] Bug#1086083: poezio: Crashes on startup

Martin Dosch martin at mdosch.de
Sat Oct 26 15:53:01 BST 2024


Package: poezio
Version: 0.14-3
Severity: important

Dear Maintainer,

after starting poezio for the first time after freshly installing it, it 
crashes immediately:

```
poezio                                                        
Traceback (most recent call last):
  File "/usr/bin/poezio", line 33, in <module>
    sys.exit(load_entry_point('poezio==0.14', 'console_scripts', 'poezio')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/poezio/__main__.py", line 8, in run
    main()
  File "/usr/lib/python3/dist-packages/poezio/poezio.py", line 110, in main
    cocore = Core(options.custom_version, firstrun)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/poezio/core/core.py", line 149, in __init__
    self.xmpp = connection.Connection(custom_version)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/poezio/connection.py", line 208, in __init__
    self.register_plugin('xep_0454')
  File "/usr/lib/python3/dist-packages/slixmpp/basexmpp.py", line 268, in register_plugin
    load_plugin(plugin, module)
  File "/usr/lib/python3/dist-packages/slixmpp/plugins/base.py", line 78, in load_plugin
    __import__(module)
  File "/usr/lib/python3/dist-packages/slixmpp/plugins/xep_0454/__init__.py", line 19, in <module>
    from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
  File "/usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/__init__.py", line 11, in <module>
    from cryptography.hazmat.primitives.ciphers.base import (
  File "/usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/base.py", line 10, in <module>
    from cryptography.hazmat.bindings._rust import openssl as rust_openssl
RuntimeError: OpenSSL 3.0's legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorithms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration.
```

Best regards,
Martin

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.11.4-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages poezio depends on:
ii  libjs-sphinxdoc            7.4.7-4
ii  python3                    3.12.6-1
ii  python3-aiodns             3.2.0-2
ii  python3-cffi               1.17.1-1
ii  python3-gnupg              0.5.2-2
ii  python3-pkg-resources      75.2.0-1
ii  python3-poezio-poopt       0.14-3+b3
ii  python3-pyasn1             0.6.0-1
ii  python3-pyasn1-modules     0.4.1-1
ii  python3-slixmpp            1.8.5-1
ii  python3-typing-extensions  4.12.2-2
ii  sphinx-rtd-theme-common    3.0.1+dfsg-1

poezio recommends no packages.

poezio suggests no packages.

-- no debconf information


More information about the Pkg-xmpp-devel mailing list