FS#65338 - [paperwork] PLEASE ENTER SUMMARY

Attached to Project: Community Packages
Opened by Y.G. (theYinYeti) - Friday, 31 January 2020, 18:39 GMT
Last edited by Balló György (City-busz) - Sunday, 02 February 2020, 17:32 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

First, I must say, that I plug the scanner only when I need it, and thus its system ID changes from one use to the next. Thus I always open the preferences to detect the scanner after I launch Paperwork.
Besides, at first I used my scanner on the PC itself. Now it is shared by a remote sane server on my home-server, and I use it with the `net` sane driver.

For a couple of months or so, after a first (successful) scan has been performed, a second scan always freezes the application.
If I kill the application and start it anew, it does not recognize/find the scanner any more, leaving the 3 fields in the preferences (peripheral, default source and resolution) empty. I get this STDOUT:

```
INFO paperwork.frontend.settingswindow Looking for scan devices ...
INFO paperwork.paperwork ../libinsane/subprojects/libinsane/src/bases/sane.c:L206(ensure_sane_is_init): Sane version code: 0x100001C
INFO paperwork.paperwork ../libinsane/subprojects/libinsane/src/bases/sane.c:L305(lis_sane_list_devices): Sane: list_devices() ...
INFO paperwork.paperwork ../libinsane/subprojects/libinsane/src/bases/sane.c:L358(lis_sane_list_devices): Sane: list_devices(): 0 devices found
INFO paperwork.frontend.settingswindow End of scan for device
WARNING paperwork.frontend.util.jobs Job DeviceFinder:0 took 67291ms and is unstoppable ! (maximum allowed: 500ms)
```

If however I unplug the scanner and plug it again, and relaunch the application, and open the preferences again, then the application correctly detects the scanner with values `Epson GT-8200`, `Flatbed`, and `300 (recommended)`. Please find attached the STDOUT in this case (paperwork_ok.stdout).

I also attach the STDOUT of the first successful scan (paperwork_scan.stdout).

Additional info:
* package version(s): 1.3.1-1
* scanner: Epson Perfection 1650 (aka. GT-8200)
This task depends upon

Closed by  Balló György (City-busz)
Sunday, 02 February 2020, 17:32 GMT
Reason for closing:  Upstream
Comment by Y.G. (theYinYeti) - Friday, 31 January 2020, 18:50 GMT
The “freeze” is not a freeze after all. If I wait long enough, I get this error in a dialog: (translated from French) “Scanner not found (is your scanner on?) (error: libinsane-quark: Libinsane get devices error: 0x40000003, Invalid value (4))”
Comment by Balló György (City-busz) - Saturday, 01 February 2020, 18:12 GMT Comment by Y.G. (theYinYeti) - Saturday, 01 February 2020, 21:34 GMT

Loading...