Comment 9 for bug 660738

Revision history for this message
jocsch (markus-joschko) wrote :

You are right. The scan works fine. Sometimes.
I tried it multiple times and it sometimes fails (xsane still fails 100%). I haven't found a pattern, when it fails. Currently it fails 100% percent for me after I have successfully scanned 5 images.

I get the following error:

hp-scan[11567]: debug: Scan thread exiting...

Read 9.9 MB from scanner.
hp-scan[11567]: debug: PPL=2496 lines=4500 depth=8 BPL=2496 pad=0 total=10428288
error: Did not read enough data from scanner (I/O Error?)
Closing device.

I also have seen (non debug version):

Scanning...
Expecting to read 10.7 MB from scanner.
Reading data: [****************************************************************************************************************************************************************- ] 92% 9.9 MB Closing device.
Traceback (most recent call last):
  File "/usr/bin/hp-scan", line 837, in <module>
    sane.reportError(e)
  File "/usr/share/hplip/scan/sane.py", line 632, in reportError
    log.error("SANE: %s (code=%d)" % (scanext.getErrorMessage(code), code))
TypeError: %d format: a number is required, not str