Package: hplip Version: 3.20.3+dfsg0-1 Severity: important Like hp-check below, various utilities, including hp-plugin crash with error "ModuleNotFoundError: No module named 'distro'"
This prevents scanning from my MFC which needs a plugin since hp-plugin crashes. -- Package-specific info: Saving output in log file: /home/edavid/hp-check.log HP Linux Imaging and Printing System (ver. 3.20.3) Dependency/Version Check Utility ver. 15.1 Copyright (c) 2001-18 HP Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. Note: hp-check can be run in three modes: 1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed to successfully compile HPLIP. 2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies installed to successfully run. 3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies). Check types: a. EXTERNALDEP - External Dependencies b. GENERALDEP - General Dependencies (required both at compile and run time) c. COMPILEDEP - Compile time Dependencies d. [All are run-time checks] PYEXT SCANCONF QUEUES PERMISSION Status Types: OK MISSING - Missing Dependency or Permission or Plug-in INCOMPAT - Incompatible dependency-version or Plugin-version /usr/bin/hp-check:685: SyntaxWarning: "is not" with a literal. Did you mean "!="? if 'getfacl' not in g and '' is not g and 'file' not in g: Traceback (most recent call last): File "/usr/share/hplip/base/password.py", line 84, in get_distro_name os_name = platform.dist()[0] AttributeError: module 'platform' has no attribute 'dist' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/hp-check", line 860, in <module> dep = DependenciesCheck(MODE_CHECK,INTERACTIVE_MODE,ui_toolkit) File "/usr/bin/hp-check", line 175, in __init__ self.core = CoreInstall(mode, ui_mode, ui_toolkit) File "/usr/share/hplip/installer/core_install.py", line 239, in __init__ self.passwordObj = password.Password(ui_mode) File "/usr/share/hplip/base/password.py", line 117, in __init__ self.__readAuthType() # self.__authType File "/usr/share/hplip/base/password.py", line 139, in __readAuthType distro_name = get_distro_name().lower() File "/usr/share/hplip/base/password.py", line 86, in get_distro_name import distro ModuleNotFoundError: No module named 'distro' -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.4.0-4-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages hplip depends on: ii adduser 3.118 ii cups 2.3.1-11 ii hplip-data 3.20.3+dfsg0-1 ii libc6 2.30-2 ii libcups2 2.3.1-11 ii libdbus-1-3 1.12.16-2 ii libhpmud0 3.20.3+dfsg0-1 ii libpython3.8 3.8.2-1 ii libsane 1.0.27-3.2+b1 ii libsane-hpaio 3.20.3+dfsg0-1 ii lsb-base 11.1.0 ii printer-driver-hpcups 3.20.3+dfsg0-1 ii python3 3.8.2-2 ii python3-dbus 1.2.16-1 ii python3-gi 3.34.0-6 ii python3-pexpect 4.6.0-1 ii python3-pil 6.2.1-2+b1 ii python3-reportlab 3.5.34-1 ii wget 1.20.3-1+b2 ii xz-utils 5.2.4-1+b1 Versions of packages hplip recommends: ii avahi-daemon 0.7-5 ii policykit-1 0.105-26 ii printer-driver-postscript-hp 3.20.3+dfsg0-1 ii sane-utils 1.0.27-3.2+b1 Versions of packages hplip suggests: pn hplip-doc <none> ii hplip-gui 3.20.3+dfsg0-1 ii python3-notify2 0.3-4 ii system-config-printer 1.5.12-1 -- no debconf information