Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Scanner-error state not cleared #736

Open
jkrenzer opened this issue Jan 15, 2018 · 3 comments
Open

Scanner-error state not cleared #736

jkrenzer opened this issue Jan 15, 2018 · 3 comments

Comments

@jkrenzer
Copy link

Hi folks!

I came across a minor problem when recovering from a scanner error on my Linux box with paperwork 1.2.2 . Every time I get a pysane error message the error persists and blocks the scanner even after the physical problem is solved.

As I haven't got a Windows machine: Can anybody verify the situation on windows?

Workaround:
Changing to another scanner in the preference and back (or restarting paperwork) clears the pysane-error and allows me to scan again.

I would kindly suggest to hard-reset the scanner after an error to recover full scanner-function. This can be a real pain in the back when you have to scan a bigger amount of paper.

Cheers

Jörn

@jflesch jflesch added this to the 1.2.3 milestone Jan 15, 2018
@jflesch
Copy link
Member

jflesch commented Jan 15, 2018

  1. Can you provide the diagnostic output right after it happens please ?
  2. Does restarting Paperwork solves the problem too ?

Regarding Windows, it's a whole different implementation (WIA instead of Sane), so I don't think it would be of any help.

@jkrenzer
Copy link
Author

Situation:

  • Scanning from feeder.
  • A page too much was entered. -> "No page found" - error.
  • Put more documents in the feeder and made sure the scanner recognized them
  • Scanning from feeder still states the "No page found" - error.

It's the same for any other error. ("device busy", "device error", "scanner jammed" etc.)
Closing and restarting paperwork helps - as does selecting another device and switching back.

I attached the output of the diagnostics.

Thank you!

Jörn

paperwork_diagnostics_#736_20180115.txt

@jflesch jflesch modified the milestones: 1.2.3, 1.2.4 Feb 1, 2018
@jflesch jflesch modified the milestones: 1.2.4, 1.3.0 Feb 27, 2018
@jflesch
Copy link
Member

jflesch commented Mar 5, 2018

Hm, unfortunately, Paperwork diagnostic output is not verbose enough regarding scanning at the moment. However, I've made a scanner database and a test program to automatically generate and upload reports to this database. This test program includes the latest version of the library Pyinsane. It also include logs much more detailed than what Paperwork has.

Could you run a test scan using this test program please ?
https://openpaper.work/en/scanner_db/#contribute

Either the problem is reproduced with this test program (in which case I will hopefully have enough info to fix the problem), or the problem has been fixed in the latest versions of Pyinsane.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

2 participants