Package: wapiti Version: 3.0.4+dfsg-1 Severity: grave Justification: renders package unusable User: de...@kali.org Usertags: origin-kali X-Debbugs-Cc: sop...@offensive-security.com
Hello Wapiti fails to start with Traceback (most recent call last): File "/usr/bin/wapiti", line 33, in <module> sys.exit(load_entry_point('wapiti3==3.0.4', 'console_scripts', 'wapiti')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/bin/wapiti", line 25, in importlib_load_entry_point return next(matches).load() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1206, in _gcd_import File "<frozen importlib._bootstrap>", line 1178, in _find_and_load File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/wapitiCore/main/wapiti.py", line 41, in <module> from wapitiCore.language.language import _ File "/usr/lib/python3/dist-packages/wapitiCore/language/language.py", line 62, in <module> lan = gettext.translation( ^^^^^^^^^^^^^^^^^^^^ TypeError: translation() got an unexpected keyword argument 'codeset' It is caused by a change in Python 3.11 The latest upstream release no longer contains this code. But we can't update the package now because of the freeze. The code can be patched easily to get rid of this issue, but I don't know if there are any other issues with Python 3.11 This issue has first been reported here: https://bugs.kali.org/view.php?id=8197 Regards, -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.0.0-6-amd64 (SMP w/16 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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 wapiti depends on: ii libjs-jquery 3.6.1+dfsg+~3.5.14-1 ii python3 3.11.2-1 ii python3-bs4 4.11.2-1 ii python3-importlib-metadata 4.12.0-1 ii python3-mako 1.2.4+ds-1 ii python3-markupsafe 2.1.2-1+b1 ii python3-requests 2.28.1+dfsg-1 ii python3-six 1.16.0-4 ii python3-socks 1.7.1+dfsg-1 ii python3-tld 0.11.11-4 ii python3-yaswfp 0.9.3-2 wapiti recommends no packages. wapiti suggests no packages. -- no debconf information -- debsums errors found: debsums: changed file /usr/lib/python3/dist-packages/wapitiCore/language/language.py (from wapiti package)