Your message dated Fri, 24 Aug 2007 11:53:46 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#409550: xsane: please try to improve "device busy" error
message
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: xsane
Version: 0.99+0.991-1
Severity: important
You install debian gnu/linux for a friend, but forget to make her part
of the scanner group. She plugs in her USB scanner and runs xsane.
"Error: Failed to open device `niash:libusb:004:006': Device busy."
This may, perhaps, be good enough for a command line tool like scanimage.
But for a gui, it's downright misleading. Is it possible to improve it?
Maybe something like
"[...] Device busy. Do you have sufficient access rights?"
"[...] Either the device is busy or you do not have access permissions."
Or, if you prefer, something more explicit, like "Are you a member of
the 'scanner' group?" But only if that is likely to be general enough
for users with different setups.
It would be great if you get some minimum string change like that into etch,
still. It would significantly help many inexperienced users, and lower
the support burden on others. Hence my view that this is "important".
If you don't like those suggestions, you could try pointing to a likely place
in the documentation. The answer is obvious if you know it, but otherwise
it's buried quite deep. At the moment, you'd have to say something like
"Try man sane(7) and read the PROBLEMS section."
It's no good trying "man xsane", for instance, or looking in
/usr/share/doc/xsane/html/. (Is there a good reason why the index file
isn't called "index.html" but rather "sane-xsane-doc.html" ? If you
open the directory in a gui like konqueror, with reasonably large
icons, it's not obvious where to start, and the first two pages don't link
back to the index page, so it isn't even obious that there is an index.)
Actually, it might be good to add a short paragraph about "device busy"
and permissions to /usr/share/doc/xsane/html/sane-problems-doc.html
and then you could point to that file. In that paragraph, mention the
need to log in again after being added to the group; it isn't enough just
to replug the scanner.
For lenny (wishlist) it would be nice to have something more
intelligent. For example (if saned is not involved) the normal mechanism
is the group scanner, isn't it? So you could *check* if the user is in
that group, and then output something like:
"[...] Device busy. Do you have access rights? You do not seem to be a
member of the scanner group."
Many thanks for the package, by the way. I've found the colour correction
correction options very useful with newspaper articles. And that was the
sarge version! So I'm looking forward to using the etch version...
-- System Information:
Debian Release: 4.0
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-k7
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages xsane depends on:
ii libatk1.0-0 1.12.4-1 The ATK accessibility toolkit
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libcairo2 1.2.4-4 The Cairo 2D vector graphics libra
ii libfontconfig1 2.4.2-1 generic font configuration library
ii libgimp2.0 2.2.13-1 Libraries necessary to Run the GIM
ii libglib2.0-0 2.12.4-2 The GLib library of C routines
ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface
ii libieee1284-3 0.2.10-4 cross-platform library for paralle
ii libjpeg62 6b-13 The Independent JPEG Group's JPEG
ii libpango1.0-0 1.14.8-4 Layout and rendering of internatio
ii libpng12-0 1.2.15~beta5-1 PNG library - runtime
ii libsane 1.0.18-5 API library for scanners
ii libtiff4 3.8.2-7 Tag Image File Format (TIFF) libra
ii libusb-0.1-4 2:0.1.12-2 userspace USB programming library
ii libx11-6 2:1.0.3-4 X11 client-side library
ii libxcursor1 1.1.7-4 X cursor management library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar
ii libxi6 1:1.0.1-4 X11 Input extension library
ii libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library
ii libxrandr2 2:1.1.0.2-5 X11 RandR extension library
ii libxrender1 1:0.9.1-3 X Rendering Extension client libra
ii xsane-common 0.99+0.991-1 GTK+-based X11 frontend for SANE (
ii zlib1g 1:1.2.3-13 compression library - runtime
-- no debconf information
--- End Message ---
--- Begin Message ---
J S Bygott <[EMAIL PROTECTED]> wrote:
Hi,
> Or, if you prefer, something more explicit, like "Are you a member of
> the 'scanner' group?" But only if that is likely to be general enough
> for users with different setups.
As it happens, there's no way to get a "Device busy" message when you
don't have the permissions on the scanner because the scanner won't be
detected at all.
Moreover, the "Device busy" message is displayed through a generic
error handling mechanism that can't really be modified in any useful
way, especially considering that a "Device busy" error can pop up at
any time during the scanning process. Modifying the error that's
reported to the user would only cause confusion in this case.
JB.
--
Julien BLACHE - Debian & GNU/Linux Developer - <[EMAIL PROTECTED]>
Public key available on <http://www.jblache.org> - KeyID: F5D6 5169
GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169
--- End Message ---