Your message dated Tue, 1 Aug 2017 19:56:22 +0200
with message-id <[email protected]>
and subject line Re: Bug#798993: libsane: scanimage incorrectly identifies 
default scanner
has caused the Debian Bug report #798993,
regarding libsane: scanimage incorrectly identifies default scanner
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
798993: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798993
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libsane
Version: 1.0.24-14
Severity: normal

Up to and including 1.0.24-13, scanimage (and libsane's other reverse
dependencies) found the available scanner. As of 1.0.24-14, scanimage tries to
use a non-existing device name, e.g.:

$ scanimage --help
Usage: scanimage [OPTION]...

Start image acquisition on a scanner device and write image data to
standard output.

Parameters are separated by a blank from single-character options (e.g.
-d epson) and by a "=" from multi-character options (e.g. --device-name=epson).
-d, --device-name=DEVICE   use a given scanner device (e.g. hp:/dev/scanner)
    --format=pnm|tiff      file format of output file
-i, --icc-profile=PROFILE  include this ICC profile into TIFF file
-L, --list-devices         show available scanner devices
-f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output
                           can be specified: %d (device name), %v (vendor),
                           %m (model), %t (type), %i (index number), and
                           %n (newline)
-b, --batch[=FORMAT]       working in batch mode, FORMAT is `out%d.pnm' or
                           `out%d.tif' by default depending on --format
    --batch-start=#        page number to start naming files with
    --batch-count=#        how many pages to scan in batch mode
    --batch-increment=#    increase page number in filename by #
    --batch-double         increment page number by two, same as
                           --batch-increment=2
    --batch-prompt         ask for pressing a key before scanning a page
    --accept-md5-only      only accept authorization requests using md5
-p, --progress             print progress messages
-n, --dont-scan            only set options, don't actually scan
-T, --test                 test backend thoroughly
-A, --all-options          list all available backend options
-h, --help                 display this help message and exit
-v, --verbose              give even more status messages
-B, --buffer-size=#        change input buffer size (in kB, default 32)
-V, --version              print version information
scanimage: open of device hpaio:/usb/officejet_5500_series?serial=MY42QF209H96 
failed: Invalid argument
Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.

List of available devices:
    hpaio:/usb/Officejet_6500_E709a?serial=MY01C3X12W05G3

Note that the default device name is not the same as that given in the list of 
available devices.

If I used the --help -d DEVICE, then the scanner is found OK.

-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libsane depends on:
ii  acl                2.2.52-2
ii  adduser            3.113+nmu3
ii  libavahi-client3   0.6.31-5
ii  libavahi-common3   0.6.31-5
ii  libc6              2.19-19
ii  libcups2           2.0.3-10
ii  libexif12          0.6.21-2
ii  libgphoto2-6       2.5.8-1
ii  libgphoto2-port12  2.5.8-1
ii  libieee1284-3      0.2.11-12
ii  libjpeg62-turbo    1:1.4.1-2
ii  libsane-common     1.0.24-14
ii  libtiff5           4.0.5-1
ii  libusb-1.0-0       2:1.0.19-1
ii  udev               225-1

Versions of packages libsane recommends:
ii  libsane-extras  1.0.22.3
ii  sane-utils      1.0.24-14

Versions of packages libsane suggests:
ii  avahi-daemon  0.6.31-5
ii  hplip         3.14.6-1+b2

-- no debconf information

--- End Message ---
--- Begin Message ---
On 30/07/17 10:52, Jörg Frings-Fürst wrote:
> does this bug bug still exists?

I've just realised that I had SANE_DEFAULT_DEVICE set, and that
therefore that version of libsane probably brought a new device name.

If I correct SANE_DEFAULT_DEVICE, the error message goes away.

Regards

Jeff

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to