HPLIP - scanner not responding
by Chuck56 from LinuxQuestions.org on (#5PNTD)
I'm running current-64 updated to Fri Sep 17 17:22:57 UTC 2021.
My HP Officejet Pro 9013e All-in-One is no longer responding to xsane. I can scan using the HP web UI on the printer. The xsane issue started before today but I had time to poke around.
hp-scan output:
Code:bash-5.1$ hp-scan
HP Linux Imaging and Printing System (ver. 3.20.5)
Scan Utility ver. 2.2
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.
-----------------
| SELECT DEVICE |
-----------------
Num Scan device URI
-------- -------------------------------------------------------
0* hpaio:/net/HP_OfficeJet_Pro_9010_series?ip=192.168.x.x
1 v4l:/dev/video1
2 v4l:/dev/video0
Enter number 0...2 for device (q=quit, <enter>=default: 0*) ?
warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/net/HP_OfficeJet_Pro_9010_series?ip=192.168.0.34
Opening connection to device...
Resolution: 300dpi
Mode: gray
Compression: JPEG
Scan area (mm):
Top left (x,y): (0.000000mm, 0.000000mm)
Bottom right (x,y): (215.900009mm, 299.212006mm)
Width: 215.900009mm
Height: 299.212006mm
Destination(s): file
Output file:
warning: File destination enabled with no output file specified.
Setting output format to PNG for greyscale mode.
warning: Defaulting to '/home/myuser/hpscan001.png'.
Warming up...
Scanning...
error: SANE: Error during device I/O (code=9)
Closing device.
bash-5.1$hp-check output:
Code:...
---------------
| SYSTEM INFO |
---------------
Kernel: 5.14.5 #1 SMP Thu Sep 16 12:48:33 CDT 2021 GNU/Linux
Host: slacker
Proc: 5.14.5 #1 SMP Thu Sep 16 12:48:33 CDT 2021 GNU/Linux
Distribution: 8 15.0
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.20.5
HPLIP-Home: /usr/share/hplip
...
------------------------
| General Dependencies |
------------------------
libjpeg libjpeg - JPEG library REQUIRED - - OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.3.3 OK -
cups-image CUPS image - CUPS image development files REQUIRED - 2.3.3 OK -
libpthread libpthread - POSIX threads library REQUIRED - b'2.33' OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
sane SANE - Scanning library REQUIRED - 1.0.32 OK -
sane-devel SANE - Scanning library development files REQUIRED - 1.0.32 OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.9.1 OK -
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.9.7 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
Traceback (most recent call last):
File "/usr/bin/hp-check", line 862, in <module>
num_errors, num_warns = dep.validate(time_flag, is_quiet_mode)
File "/usr/bin/hp-check", line 367, in validate
self.__update_deps_info(supported_distro_vrs, dep,
File "/usr/bin/hp-check", line 210, in __update_deps_info
installed_ver = self.core.version_func[deps_info[6]]()
File "/usr/share/hplip/installer/dcheck.py", line 303, in get_pyQt4_version
from PyQt4 import QtCore
ImportError: cannot import name 'QtCore' from 'PyQt4' (unknown location)
bash-5.1$hmm, PyQt4 error? I thought QT4 was gone from -current?
My HP Officejet Pro 9013e All-in-One is no longer responding to xsane. I can scan using the HP web UI on the printer. The xsane issue started before today but I had time to poke around.
hp-scan output:
Code:bash-5.1$ hp-scan
HP Linux Imaging and Printing System (ver. 3.20.5)
Scan Utility ver. 2.2
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.
-----------------
| SELECT DEVICE |
-----------------
Num Scan device URI
-------- -------------------------------------------------------
0* hpaio:/net/HP_OfficeJet_Pro_9010_series?ip=192.168.x.x
1 v4l:/dev/video1
2 v4l:/dev/video0
Enter number 0...2 for device (q=quit, <enter>=default: 0*) ?
warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/net/HP_OfficeJet_Pro_9010_series?ip=192.168.0.34
Opening connection to device...
Resolution: 300dpi
Mode: gray
Compression: JPEG
Scan area (mm):
Top left (x,y): (0.000000mm, 0.000000mm)
Bottom right (x,y): (215.900009mm, 299.212006mm)
Width: 215.900009mm
Height: 299.212006mm
Destination(s): file
Output file:
warning: File destination enabled with no output file specified.
Setting output format to PNG for greyscale mode.
warning: Defaulting to '/home/myuser/hpscan001.png'.
Warming up...
Scanning...
error: SANE: Error during device I/O (code=9)
Closing device.
bash-5.1$hp-check output:
Code:...
---------------
| SYSTEM INFO |
---------------
Kernel: 5.14.5 #1 SMP Thu Sep 16 12:48:33 CDT 2021 GNU/Linux
Host: slacker
Proc: 5.14.5 #1 SMP Thu Sep 16 12:48:33 CDT 2021 GNU/Linux
Distribution: 8 15.0
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.20.5
HPLIP-Home: /usr/share/hplip
...
------------------------
| General Dependencies |
------------------------
libjpeg libjpeg - JPEG library REQUIRED - - OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.3.3 OK -
cups-image CUPS image - CUPS image development files REQUIRED - 2.3.3 OK -
libpthread libpthread - POSIX threads library REQUIRED - b'2.33' OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
sane SANE - Scanning library REQUIRED - 1.0.32 OK -
sane-devel SANE - Scanning library development files REQUIRED - 1.0.32 OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.9.1 OK -
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.9.7 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
Traceback (most recent call last):
File "/usr/bin/hp-check", line 862, in <module>
num_errors, num_warns = dep.validate(time_flag, is_quiet_mode)
File "/usr/bin/hp-check", line 367, in validate
self.__update_deps_info(supported_distro_vrs, dep,
File "/usr/bin/hp-check", line 210, in __update_deps_info
installed_ver = self.core.version_func[deps_info[6]]()
File "/usr/share/hplip/installer/dcheck.py", line 303, in get_pyQt4_version
from PyQt4 import QtCore
ImportError: cannot import name 'QtCore' from 'PyQt4' (unknown location)
bash-5.1$hmm, PyQt4 error? I thought QT4 was gone from -current?