>From merged bug:

I have a HP LaserJet m1120 MFP. Printing works perfect and scanning with
xsane too.

When running it from the terminal, this is the error I got after trying
to scan (it starts scanning and it shows the image being scanned, but
when it is done it says something along the lines of "communication with
the device failed" -- my system is in portuguese, I wouldn't know the
exact translation):

** (simple-scan:3311): WARNING **: Unable to read frame from device: End
of file reached

(simple-scan:3311): GdkPixbuf-CRITICAL **: gdk_pixbuf_copy_area:
assertion `dest_y >= 0 && dest_y + height <= dest_pixbuf->height' failed

And the page goes black.


//////////


https://bugs.launchpad.net/simple-scan/+bug/574454/+attachment/1370206/+files/simple-scan.log
https://bugs.launchpad.net/simple-scan/+bug/574454/+attachment/1398409/+files/simple-scan1.log

//////////


Well, first, when I click on digitalizes button, in debug appear it:

"** (simple-scan:3841): DEBUG: Starting Simple Scan 1.0.3, PID=3841
** (simple-scan:3841): DEBUG: Restoring window to 600x400 pixels
** (simple-scan:3841): DEBUG: Restoring window to maximized
** (simple-scan:3841): DEBUG: sane_init () -> SANE_STATUS_GOOD
** (simple-scan:3841): DEBUG: SANE version 1.0.20
** (simple-scan:3841): DEBUG: Requesting redetection of scan devices
** (simple-scan:3841): DEBUG: Processing request
** (simple-scan:3841): DEBUG: sane_get_devices () -> SANE_STATUS_GOOD
** (simple-scan:3841): DEBUG: Device: name="hpljm1005:libusb:001:002" 
vendor="Hewlett-Packard" model="LaserJet M1120" type="multi-function peripheral"
** (simple-scan:3841): DEBUG: Device: 
name="hpaio:/usb/HP_LaserJet_M1120_MFP?serial=SG308SM" vendor="Hewlett-Packard" 
model="HP_LaserJet_M1120_MFP" type="all-in-one"
** (simple-scan:3841): DEBUG: Requesting scan at 300 dpi from device 
'hpaio:/usb/HP_LaserJet_M1120_MFP?serial=SG308SM'
** (simple-scan:3841): DEBUG: scanner_scan 
("hpaio:/usb/HP_LaserJet_M1120_MFP?serial=SG308SM", 300, SCAN_SINGLE)
** (simple-scan:3841): DEBUG: Processing request
** (simple-scan:3841): DEBUG: sane_open 
("hpaio:/usb/HP_LaserJet_M1120_MFP?serial=SG308SM") -> SANE_STATUS_IO_ERROR

** (simple-scan:3841): WARNING **: Unable to get open device: Error
during device I/O

after, it appear fail and messages to me change the scanner and I choose
"HP Laserjet M1120" instead "HP HP Laserjet M1120 MFP"... It start to
scan, I see the image being scanned, but it gave me a fail msg and the
image appear totally black. The debug show me this in the end:

** (simple-scan:3836): WARNING **: Unable to read frame from device: End of 
file reached
** (simple-scan:3836): DEBUG: sane_cancel ()
** (simple-scan:3836): DEBUG: sane_close ()
** (simple-scan:3836): DEBUG: Trimming image height from 3768 pixels to 3503 
pixels
(simple-scan:3883): GdkPixbuf-CRITICAL **: gdk_pixbuf_copy_area: assertion 
`dest_y >= 0 && dest_y + height <= dest_pixbuf->height' failed

I'm uploading the complete log.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/575191

Title:
  simple-scan doesn't scan from HP M1522nf (MFP), while xsane works

To manage notifications about this bug go to:
https://bugs.launchpad.net/simple-scan/+bug/575191/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to