Bug#912765: hplip: hp-doctor broken
Package: hplip
Version: 3.18.10+dfsg0-1
Severity: grave
Justification: renders package unusable
$ hp-doctor
Traceback (most recent call last):
File "/usr/bin/hp-doctor", line 42, in <module>
check_extension_module_env('cupsext')
File "/usr/share/hplip/base/g.py", line 339, in check_extension_module_env
python_ver = xint((sys.version).split(' ')[0]) #find the current python version ; xint() to convert string to int, returns a list
File "/usr/share/hplip/base/g.py", line 331, in xint
return l
UnboundLocalError: local variable 'l' referenced before assignment
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.18.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=en_US:en (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages hplip depends on:
ii adduser 3.118
ii cups 2.2.8-5
ii hplip-data 3.18.10+dfsg0-1
ii libc6 2.27-6
ii libcups2 2.2.8-5
ii libdbus-1-3 1.12.10-1
ii libhpmud0 3.18.10+dfsg0-1
ii libsane-hpaio 3.18.10+dfsg0-1
ii libsane1 1.0.27-3
ii libsnmp30 5.7.3+dfsg-4+b1
ii libusb-1.0-0 2:1.0.22-2
ii lsb-base 9.20170808
ii printer-driver-hpcups 3.18.10+dfsg0-1
ii python3 3.6.7-1
ii python3-dbus 1.2.8-2+b1
ii python3-gi 3.30.1-2
ii python3-pexpect 4.6.0-1
ii python3-pil 5.3.0-1
ii python3-reportlab 3.5.9-1
ii wget 1.19.5-2
ii xz-utils 5.2.2-1.3
Versions of packages hplip recommends:
pn avahi-daemon <none>
ii policykit-1 0.105-21
pn printer-driver-postscript-hp <none>
ii sane-utils 1.0.27-3
Versions of packages hplip suggests:
pn hplip-doc <none>
ii hplip-gui 3.17.10+repack0-7
ii python3-notify2 0.3-3
ii system-config-printer 1.5.11-3
-- no debconf information
Cheers,
--
Cristian
Reply to: