Package: retext
Version: 7.2.1-3
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: re...@cs.unibo.it

Dear Maintainer,

This is the traceback of the error.
~$ retext
Using configuration file: /home/renzo/.config/ReText project/ReText.conf
Traceback (most recent call last):
  File "/usr/bin/retext", line 9, in <module>
    main()
  File "/usr/share/retext/ReText/__main__.py", line 107, in main
    window = ReTextWindow()
  File "/usr/share/retext/ReText/window.py", line 76, in __init__
    setIconThemeFromSettings()
  File "/usr/share/retext/ReText/config.py", line 76, in 
setIconThemeFromSettings
    QIcon.setThemeName(get_icon_theme())
  File "/usr/share/retext/ReText/icontheme.py", line 49, in get_icon_theme
    return (get_from_xsettings()
  File "/usr/share/retext/ReText/icontheme.py", line 20, in get_from_xsettings
    xsettings = get_xsettings()
  File "/usr/share/retext/ReText/xsettings.py", line 189, in get_xsettings
    raw_xsettings = get_raw_xsettings(display)
  File "/usr/share/retext/ReText/xsettings.py", line 126, in get_raw_xsettings
    cookie = xcb.xcb_get_property(connection, 0, window, settings_atom, 0, 0, 
0x2000)
RuntimeError: ffi_prep_cif_var failed

If it can be of any help, as a workaround copying the directory icons from the
source to /usr/share/retext/ seems to fix the problem.

-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.0-2-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages retext depends on:
ii  python3                 3.9.2-3
ii  python3-chardet         4.0.0-1
ii  python3-docutils        0.16+dfsg-4
ii  python3-markdown        3.3.4-1
ii  python3-markups         3.1.2-1
ii  python3-pygments        2.7.1+dfsg-2.1
ii  python3-pyqt5           5.15.4+dfsg-4
ii  python3-pyqt5.qtwebkit  5.15.4+dfsg-4

Versions of packages retext recommends:
ii  docutils-common   0.16+dfsg-4
ii  libjs-mathjax     2.7.9+dfsg-1
ii  python3-enchant   3.2.0-1
ii  shared-mime-info  2.0-1

Versions of packages retext suggests:
ii  adwaita-icon-theme         41.0-1
ii  gir1.2-glib-2.0            1.70.0-2
ii  gsettings-desktop-schemas  41.0-1

-- no debconf information

Reply via email to