This looks very similar to http://bugs.debian.org/498532

Like in http://bugs.debian.org/585887 I can press "Preview" in xsane and that works. However as soon as I press "Scan" I get the "Operation was cancelled" popup.

As in #498532 both xscaneimage and quiteinsane can scan without percievable problems. That would imply that the problem is either with xsane itself or in the interaction of xsane and the backend and not with the backends (since both xscaneimage and quiteinsane should be using those same backends).

I also tried to install 1.0.21-7 from unstable and the result remained the same.

My scanner is a Pixma MP600.

xsane worked under xsane under Ubuntu Lucid.

As suggested by Julien I started xsane with SANE_DEBUG_PIXMA=3. The output is attached. There are three attachements:

* xsane-start which is the debug just from starting xsane
* xsane-preview which is all that came after xsane-start, when I pressed
  "Preview"
* xsane-scan which is all that came after xsane-preview, when I pressed
  "Scan"

Other than pressing "Preview" and "Scan" I did nothing else in the xsane (no changing of settings or other).

Another suggestion of Julien was to "rm -r ~/.sane/xsane". Now:

* remove preferences, start, preview, scan -> "Operation canceled"
* remove preferences, start,          scan -> works!!!
* leave  preferences, start, preview, scan -> "Operation canceled"
* leave  preferences, start,          scan -> "Operation canceled"

!!!

I also installed libsane from experimental (libsane_1.0.22~git1.0.21-157-g126c70d-1_amd64.deb), but xsane has the same problem with it as with libsane from squeeze.
*t
[sanei_debug] Setting debug level of pixma to 3.
[pixma] pixma is compiled with pthread support.
[pixma] pixma version 0.16.2
[pixma] pixma_collect_devices() found Canon PIXMA MP600 at libusb:003:004
[pixma] sanei_bjnp_find_devices:
[pixma] wlan0 is IPv4 capable, sending broadcast..
[pixma] wlan0 is IPv4 capable, sending broadcast..
[pixma] wlan0 is IPv4 capable, sending broadcast..
[pixma] wlan0 is IPv4 capable, sending broadcast..
[pixma] wlan0 is IPv4 capable, sending broadcast..
[pixma] pixma_find_scanners() found 1 devices
[pixma] pixma_collect_devices() found Canon PIXMA MP600 at libusb:003:004
[pixma] sanei_bjnp_find_devices:
[pixma] wlan0 is IPv4 capable, sending broadcast..
[pixma] wlan0 is IPv4 capable, sending broadcast..
[pixma] wlan0 is IPv4 capable, sending broadcast..
[pixma] wlan0 is IPv4 capable, sending broadcast..
[pixma] wlan0 is IPv4 capable, sending broadcast..
[pixma] pixma_open(): Canon PIXMA MP600
[pixma] Current status: paper=0 cal=0 lamp=2 busy=0
[pixma] Reader task id=140668825773840 (threaded)
[pixma] Reader task started
[pixma] 
[pixma] pixma_scan(): start
[pixma]   line_size=638 image_size=559526 channels=1 depth=8
[pixma]   dpi=75x75 offset=(0,0) dimension=638x877
[pixma]   gamma_table=0x25511a8 source=0
[pixma] Setting non-blocking mode
[pixma] Current status: paper=0 cal=0 lamp=2 busy=0
[pixma] Current status: paper=0 cal=0 lamp=2 busy=0
[pixma] Current status: paper=0 cal=0 lamp=2 busy=0
[pixma] Current status: paper=0 cal=0 lamp=2 busy=0
[pixma] Current status: paper=0 cal=0 lamp=2 busy=1
[pixma] Current status: paper=0 cal=0 lamp=2 busy=1
[pixma] pixma_read_image():completed
[pixma] Reader task terminated
[pixma] Reader task started
[pixma] Reader task id=140668825773840 (threaded)
[pixma] 
[pixma] pixma_scan(): start
[pixma]   line_size=1270 image_size=2219960 channels=1 depth=8
[pixma]   dpi=150x150 offset=(4,2) dimension=1270x1748
[pixma]   gamma_table=0x25511a8 source=0
[pixma] Setting non-blocking mode
[pixma] pixma_scan() failed ECANCELED
[pixma] Reader task terminated: ECANCELED
[pixma] read_image():reader task closed the pipe:0 bytes received, 2219960 
bytes expected

Reply via email to