GNU bug report logs -
#38064
Simple Scan: Scanner is not detected
Previous Next
Reported by: sirgazil <sirgazil <at> zoho.com>
Date: Mon, 4 Nov 2019 23:59:02 UTC
Severity: normal
Done: sirgazil <sirgazil <at> zoho.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38064 in the body.
You can then email your comments to 38064 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#38064
; Package
guix
.
(Mon, 04 Nov 2019 23:59:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
sirgazil <sirgazil <at> zoho.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 04 Nov 2019 23:59:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I can't use the scanner because Simple Scan (a.k.a. Document Scanner) does not detect it.
## Steps to reproduce
1. guix install simple-scan
2. Connect the scanner.
3. Launch Simple Scan.
4. Click the Scan button in Simple Scan.
## Unexpected behavior
In step 3, Simple scan displays the following warning:
```
No scanners detected
Please check your scanner is connected and powered on
```
In step 4, you see the following message:
```
Failed to scan
No scanners available. Please connect a scanner.
```
## Expected behavior
* The scanner is detected in step 3 (no warning message is shown).
* Performing step 4 makes the scanner scan.
## System information
I'm using the Guix System and simple-scan 3.34.1:
```
$ LANG=C guix describe
Generation 5 Nov 04 2019 14:24:15 (current)
guix bf7b08c
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: bf7b08c4fe7d14c25a83bde99f19eca1119d88ff
```
## Additional information
The scanner works. I can use it from a Trisquel 8 Live USB stick, which comes with Simple Scan.
Running simple-scan from a terminal displays the following warnings:
```
$ LANG=C simple-scan
(simple-scan:3953): Gtk-WARNING **: 18:42:44.193: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client
```
---
https://sirgazil.bitbucket.io/
Information forwarded
to
bug-guix <at> gnu.org
:
bug#38064
; Package
guix
.
(Tue, 05 Nov 2019 04:17:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 38064 <at> debbugs.gnu.org (full text, mbox):
On Mon, 4 Nov 2019, sirgazil via Bug reports for GNU Guix wrote:
> I can't use the scanner because Simple Scan (a.k.a. Document Scanner) does not detect it.
That's unfortunate. I think the follow information might help in
troubleshooting:
What scanner is it, and how is it connected (e.g. USB)? What does running
`scanimage -L` from the terminal report? scanimage can be found in the
sane-backends package (yes, it contains frontends too :)) I expect this to
also report no scanners found just like simple-scan, but it's worth
checking just to be sure.
I've added `(simple-service 'custom-udev-rules udev-service-type (list sane-backends))`
to my system services, which may help the scanning tools have permission
to access your scanner.
Best,
Jack
Information forwarded
to
bug-guix <at> gnu.org
:
bug#38064
; Package
guix
.
(Tue, 05 Nov 2019 15:18:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 38064 <at> debbugs.gnu.org (full text, mbox):
Hi, Jack.
---- On Mon, 04 Nov 2019 23:16:09 -0500 Jack Hill <jackhill <at> jackhill.us> wrote ----
> On Mon, 4 Nov 2019, sirgazil via Bug reports for GNU Guix wrote:
>
> > I can't use the scanner because Simple Scan (a.k.a. Document Scanner) does not detect it.
>
> That's unfortunate. I think the follow information might help in
> troubleshooting:
>
> What scanner is it, and how is it connected (e.g. USB)? What does running
> `scanimage -L` from the terminal report? scanimage can be found in the
> sane-backends package (yes, it contains frontends too :)) I expect this to
> also report no scanners found just like simple-scan, but it's worth
> checking just to be sure.
It's an HP Scanjet 2200c (connects using USB). Scanimage can't find it either:
$ scan-image -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
> I've added `(simple-service 'custom-udev-rules udev-service-type (list sane-backends))`
> to my system services, which may help the scanning tools have permission
> to access your scanner.
But that SOLVED the issue :) I did the following:
1. Open my system configuration file.
2. Import (gnu packages scanner) to be able to use sane-backends in step 3.
3. Add (simple-service 'custom-udev-rules udev-service-type (list sane-backends)) to the list of services.
4. Save the changes.
5. Reconfigure the system with
$ sudo guix system reconfigure ~/path/to/my-config.scm
6. Reboot.
After this, when I start the Document Scanner application it reports:
```
Ready to scan
HP Scanjet 2200c
```
And I can scan successfully.
Thanks, Jack.
P. S.: Now I wonder if https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35584 can be solved in a similar way...
---
https://sirgazil.bitbucket.io/
Reply sent
to
sirgazil <sirgazil <at> zoho.com>
:
You have taken responsibility.
(Wed, 06 Nov 2019 16:51:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
sirgazil <sirgazil <at> zoho.com>
:
bug acknowledged by developer.
(Wed, 06 Nov 2019 16:51:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 38064-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I'm closing this issue as it was not really a bug in Simple Scan, but a missing service in the system configuration provided by the Guix System installer.
[Message part 2 (text/html, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 05 Dec 2019 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 137 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.