hp-scan aborts with python error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned |
Bug Description
sane-backends :
$ scanimage -V
scanimage (sane-backends) 1.0.22; backend version 1.0.22
hplip :
$ hp-info
HP Linux Imaging and Printing System (ver. 3.11.7)
when trying too launch hp-scan :
$ hp-scan
HP Linux Imaging and Printing System (ver. 3.11.7)
Scan Utility ver. 2.2
Copyright (c) 2001-9 Hewlett-Packard 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.
Using device: hpaio:/
warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/
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.899994mm, 296.925995mm)
Width: 215.899994mm
Height: 296.925995mm
Destination(s): file
Output file:
Traceback (most recent call last):
File "/usr/bin/hp-scan", line 711, in <module>
source_option = device.
AttributeError: 'NoneType' object has no attribute 'constraint'
I can't understand this error please help...
scanimage doesn't work too :
$ scanimage -v > test
scanimage: scanning image of size 637x876 pixels at 24 bits/pixel
scanimage: acquiring RGB frame
scanimage: min/max graylevel value = 255/0
scanimage: sane_read: Operation was cancelled
but
$ scanimage -vd hpaio:/
scanimage: scanning image of size 637x876 pixels at 24 bits/pixel
scanimage: acquiring RGB frame
scanimage: min/max graylevel value = 3/255
scanimage: read 1674036 bytes in total
Hello Jay,
Can you please post the output of "hp-check -t" here?