Bug 472393 - Scanner fails to open
Summary: Scanner fails to open
Status: RESOLVED WORKSFORME
Alias: None
Product: Skanlite
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Debian stable Linux
: NOR major
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-19 11:08 UTC by David Jarvie
Modified: 2023-10-25 23:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Jarvie 2023-07-19 11:08:59 UTC
SUMMARY

I have a Samsung Xpress M2885FW printer, but when I run Skanlite, it always displays the error message "Opening the selected scanner failed". However, xsane finds it and successfully scans.

Before Skanlite displays the error message, it very briefly shows some other error message, but it disappears too quickly to be readable. Running Skanlite from the command line doesn't show any error message either.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 12 (bookworm)
KDE Plasma Version: 5.27.5
KDE Frameworks Version:  5.103.0
Qt Version: 5.15.8
libsane1 version: 1.2.1
Comment 1 Nate Graham 2023-09-11 19:42:28 UTC
Can you try again with Skanlite 23.08 which was just released?
Comment 2 David Jarvie 2023-09-20 12:19:54 UTC
I run Debian stable, so it's likely to be quite some time before I can try version 23.08 unfortunately.
Comment 3 Kåre Särs 2023-09-20 19:35:23 UTC
Ooops I have managed to miss this one...

What backend are you using? sane-airscan? or is there also some USB backend?

if it is sane-airscan you could start Skanlite with sane debugging enabled

I'm not 100% sure about this backend's debugging, but it is usually something like 

"SANE_DEBUG_<Backend>=[0-255] skanlite"

This page probably has more data on debugging:
https://manpages.debian.org/testing/sane-airscan/sane-airscan.5.en.html
Comment 4 David Jarvie 2023-09-28 16:03:59 UTC
I've discovered that Skanlite only fails to find my printer on its first run after rebooting (I don't know if logging out and back in would have the same result). On subsequent invocations, it finds the printer OK. However, in the message box which is displayed on the first run which says that no devices have been discovered, if I click on the button to scan for devices again, it still fails to find anything. It's only when I close Skanlite and start it again that it finds the device.
Comment 5 David Jarvie 2023-10-25 23:15:05 UTC
It now seems to work on the first attempt. Skanlite hasn't been updated on my system since my original report, so maybe something else changed which has fixed things?