[Desktop-packages] [Bug 1896842] Re: simple-scan cannot scan a page using EPSON V39 scanner

2020-09-24 Thread Igor Shabalov
Thank you for the update, yes, version 3.36.6 works, I confirm.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to simple-scan in Ubuntu.
https://bugs.launchpad.net/bugs/1896842

Title:
  simple-scan cannot scan a page using EPSON V39 scanner

Status in Simple Scan:
  Unknown
Status in simple-scan package in Ubuntu:
  Fix Committed

Bug description:
  ishabalov@black:~$ simple-scan --debug
  [+0.00s] DEBUG: simple-scan.vala:1720: Starting simple-scan 3.36.3, PID=38292
  [+0.00s] DEBUG: unsetenv() is not thread-safe and should not be used after 
threads are created
  [+0.01s] DEBUG: _g_io_module_get_default: Found default implementation dconf 
(DConfSettingsBackend) for ‘gsettings-backend’
  [+0.09s] DEBUG: app-window.vala:1906: Loading state from 
/home/ishabalov/.cache/simple-scan/state
  [+0.09s] DEBUG: app-window.vala:1885: Restoring window to 1351x672 pixels
  [+0.17s] DEBUG: scanner.vala:1539: sane_init () -> SANE_STATUS_GOOD
  [+0.17s] DEBUG: scanner.vala:1545: SANE version 1.0.29
  [+0.17s] DEBUG: scanner.vala:1606: Requesting redetection of scan devices
  [+0.17s] DEBUG: scanner.vala:828: Processing request
  [+0.56s] DEBUG: app-window.vala:1981: Saving state to 
/home/ishabalov/.cache/simple-scan/state
  [+8.42s] DEBUG: scanner.vala:341: sane_get_devices () -> SANE_STATUS_GOOD
  [+8.42s] DEBUG: scanner.vala:353: Device: 
name="imagescan:esci:gt-s650:usb:/sys/devices/pci:00/:00:13.2/usb2/2-5/2-5:1.0"
 vendor="EPSON" model="Epson_Perfection_V39" type=""
  [+8.72s] DEBUG: app-window.vala:1981: Saving state to 
/home/ishabalov/.cache/simple-scan/state
  [+9.90s] DEBUG: simple-scan.vala:1536: Requesting scan at 300 dpi from device 
'imagescan:esci:gt-s650:usb:/sys/devices/pci:00/:00:13.2/usb2/2-5/2-5:1.0'
  [+9.90s] DEBUG: scanner.vala:1674: Scanner.scan 
("imagescan:esci:gt-s650:usb:/sys/devices/pci:00/:00:13.2/usb2/2-5/2-5:1.0",
 dpi=300, scan_mode=ScanMode.COLOR, depth=8, type=single, paper_width=0, 
paper_height=0, brightness=26, contrast=46, delay=3000ms)
  [+9.90s] DEBUG: scanner.vala:828: Processing request
  [+10.17s] DEBUG: scanner.vala:889: sane_open 
("imagescan:esci:gt-s650:usb:/sys/devices/pci:00/:00:13.2/usb2/2-5/2-5:1.0")
 -> SANE_STATUS_GOOD
  [+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (0)
  [+10.17s] DEBUG: scanner.vala:760: Option 0: type=int size=4 
cap=soft-detect,advanced
  [+10.17s] DEBUG: scanner.vala:763:   Description: 
  [+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (1)
  [+10.17s] DEBUG: scanner.vala:760: Option 1: name='device-02-general' 
title='General' type=group size=0 cap=inactive
  [+10.17s] DEBUG: scanner.vala:763:   Description: Basic options.
  [+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (2)
  [+10.17s] DEBUG: scanner.vala:760: Option 2: name='source' title='Document 
Source' type=string size=15 values=["Document Table"] cap=soft-detect
  [+10.17s] DEBUG: scanner.vala:763:   Description: Document Source
  [+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (3)
  [+10.17s] DEBUG: scanner.vala:760: Option 3: name='enable-resampling' 
title='Enable Resampling' type=bool size=4 cap=soft-detect,inactive,advanced
  [+10.17s] DEBUG: scanner.vala:763:   Description: This option provides the 
user with a wider range of supported resolutions.  Resolutions not supported by 
the hardware will be achieved through image processing methods.
  [+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (4)
  [+10.17s] DEBUG: scanner.vala:760: Option 4: name='resolution' 
title='Resolution' type=int size=4 unit=dpi min=50, max=4800, quant=0 
cap=soft-select,soft-detect
  [+10.17s] DEBUG: scanner.vala:763:   Description: Resolution
  [+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (5)
  [+10.17s] DEBUG: scanner.vala:760: Option 5: name='scan-area' title='Scan 
Area' type=string size=19 values=["Executive/Portrait", "ISO/A4/Portrait", 
"ISO/A5/Portrait", "ISO/A5/Landscape", "ISO/A6/Portrait", "ISO/A6/Landscape", 
"JIS/B5/Portrait", "JIS/B6/Portrait", "JIS/B6/Landscape", "Letter/Portrait", 
"Manual", "Maximum"] cap=soft-select,soft-detect
  [+10.17s] DEBUG: scanner.vala:763:   Description: Scan Area
  [+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (6)
  [+10.17s] DEBUG: scanner.vala:760: Option 6: name='mode' title='Image Type' 
type=string size=11 values=["Monochrome", "Grayscale", "Color"] 
cap=soft-select,soft-detect,emulated
  [+10.17s] DEBUG: scanner.vala:763:   Description: Image Type
  [+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (7)
  [+10.17s] DEBUG: scanner.vala:760: Option 7: name='device-03-geometry' 
title='Geometry' type=group size=0 cap=inactive
  [+10.17s] DEBUG: scanner.vala:763:   Description: Scan area and image size 
related options.
  [+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (8)
  [+10.17s] DEBUG: scanner.vala:760: Option 8: name='br-x' title='Bot

[Desktop-packages] [Bug 1896842] [NEW] simple-scan cannot scan a page using EPSON V39 scanner

2020-09-23 Thread Igor Shabalov
Public bug reported:

ishabalov@black:~$ simple-scan --debug
[+0.00s] DEBUG: simple-scan.vala:1720: Starting simple-scan 3.36.3, PID=38292
[+0.00s] DEBUG: unsetenv() is not thread-safe and should not be used after 
threads are created
[+0.01s] DEBUG: _g_io_module_get_default: Found default implementation dconf 
(DConfSettingsBackend) for ‘gsettings-backend’
[+0.09s] DEBUG: app-window.vala:1906: Loading state from 
/home/ishabalov/.cache/simple-scan/state
[+0.09s] DEBUG: app-window.vala:1885: Restoring window to 1351x672 pixels
[+0.17s] DEBUG: scanner.vala:1539: sane_init () -> SANE_STATUS_GOOD
[+0.17s] DEBUG: scanner.vala:1545: SANE version 1.0.29
[+0.17s] DEBUG: scanner.vala:1606: Requesting redetection of scan devices
[+0.17s] DEBUG: scanner.vala:828: Processing request
[+0.56s] DEBUG: app-window.vala:1981: Saving state to 
/home/ishabalov/.cache/simple-scan/state
[+8.42s] DEBUG: scanner.vala:341: sane_get_devices () -> SANE_STATUS_GOOD
[+8.42s] DEBUG: scanner.vala:353: Device: 
name="imagescan:esci:gt-s650:usb:/sys/devices/pci:00/:00:13.2/usb2/2-5/2-5:1.0"
 vendor="EPSON" model="Epson_Perfection_V39" type=""
[+8.72s] DEBUG: app-window.vala:1981: Saving state to 
/home/ishabalov/.cache/simple-scan/state
[+9.90s] DEBUG: simple-scan.vala:1536: Requesting scan at 300 dpi from device 
'imagescan:esci:gt-s650:usb:/sys/devices/pci:00/:00:13.2/usb2/2-5/2-5:1.0'
[+9.90s] DEBUG: scanner.vala:1674: Scanner.scan 
("imagescan:esci:gt-s650:usb:/sys/devices/pci:00/:00:13.2/usb2/2-5/2-5:1.0",
 dpi=300, scan_mode=ScanMode.COLOR, depth=8, type=single, paper_width=0, 
paper_height=0, brightness=26, contrast=46, delay=3000ms)
[+9.90s] DEBUG: scanner.vala:828: Processing request
[+10.17s] DEBUG: scanner.vala:889: sane_open 
("imagescan:esci:gt-s650:usb:/sys/devices/pci:00/:00:13.2/usb2/2-5/2-5:1.0")
 -> SANE_STATUS_GOOD
[+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (0)
[+10.17s] DEBUG: scanner.vala:760: Option 0: type=int size=4 
cap=soft-detect,advanced
[+10.17s] DEBUG: scanner.vala:763:   Description: 
[+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (1)
[+10.17s] DEBUG: scanner.vala:760: Option 1: name='device-02-general' 
title='General' type=group size=0 cap=inactive
[+10.17s] DEBUG: scanner.vala:763:   Description: Basic options.
[+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (2)
[+10.17s] DEBUG: scanner.vala:760: Option 2: name='source' title='Document 
Source' type=string size=15 values=["Document Table"] cap=soft-detect
[+10.17s] DEBUG: scanner.vala:763:   Description: Document Source
[+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (3)
[+10.17s] DEBUG: scanner.vala:760: Option 3: name='enable-resampling' 
title='Enable Resampling' type=bool size=4 cap=soft-detect,inactive,advanced
[+10.17s] DEBUG: scanner.vala:763:   Description: This option provides the user 
with a wider range of supported resolutions.  Resolutions not supported by the 
hardware will be achieved through image processing methods.
[+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (4)
[+10.17s] DEBUG: scanner.vala:760: Option 4: name='resolution' 
title='Resolution' type=int size=4 unit=dpi min=50, max=4800, quant=0 
cap=soft-select,soft-detect
[+10.17s] DEBUG: scanner.vala:763:   Description: Resolution
[+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (5)
[+10.17s] DEBUG: scanner.vala:760: Option 5: name='scan-area' title='Scan Area' 
type=string size=19 values=["Executive/Portrait", "ISO/A4/Portrait", 
"ISO/A5/Portrait", "ISO/A5/Landscape", "ISO/A6/Portrait", "ISO/A6/Landscape", 
"JIS/B5/Portrait", "JIS/B6/Portrait", "JIS/B6/Landscape", "Letter/Portrait", 
"Manual", "Maximum"] cap=soft-select,soft-detect
[+10.17s] DEBUG: scanner.vala:763:   Description: Scan Area
[+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (6)
[+10.17s] DEBUG: scanner.vala:760: Option 6: name='mode' title='Image Type' 
type=string size=11 values=["Monochrome", "Grayscale", "Color"] 
cap=soft-select,soft-detect,emulated
[+10.17s] DEBUG: scanner.vala:763:   Description: Image Type
[+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (7)
[+10.17s] DEBUG: scanner.vala:760: Option 7: name='device-03-geometry' 
title='Geometry' type=group size=0 cap=inactive
[+10.17s] DEBUG: scanner.vala:763:   Description: Scan area and image size 
related options.
[+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (8)
[+10.17s] DEBUG: scanner.vala:760: Option 8: name='br-x' title='Bottom Right X' 
type=fixed size=4 unit=mm min=2.539993, max=218.439987, quant=0 
cap=soft-select,soft-detect
[+10.17s] DEBUG: scanner.vala:763:   Description: Bottom Right X
[+10.17s] DEBUG: scanner.vala:910: sane_get_option_descriptor (9)
[+10.17s] DEBUG: scanner.vala:760: Option 9: name='br-y' title='Bottom Right Y' 
type=fixed size=4 unit=mm min=2.539993, max=299.719986, quant=0 
cap=soft-select,soft-detect
[+10.17s] DEBUG: scanner.vala:763:   Description: Bottom Right Y

[Desktop-packages] [Bug 1879024] Re: Error message : "Failed to scan - unable to connect to scanner" when using simple-scan

2020-09-22 Thread Igor Shabalov
Have exactly same error with Brother MFS-L8900CDW
Upgraded from 18.04.5 - was working well before upgrade.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to simple-scan in Ubuntu.
https://bugs.launchpad.net/bugs/1879024

Title:
  Error message : "Failed to scan - unable to connect to scanner" when
  using simple-scan

Status in simple-scan package in Ubuntu:
  Confirmed

Bug description:
  1) System and program information:
  I am using Ubuntu 20.04 LTS and am trying to use the brother printer/scanner 
combo MFC-J5910DW in order to scan documents with simple-scan:
   
  simple-scan:
   Installed: 3.36.0-0ubuntu1
Candidate: 3.36.0-0ubuntu1
Version table:
   *** 3.36.0-0ubuntu1 500
  500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages
  100 /var/lib/dpkg/status

  
  2) Description of what I did and what happened:
  I downloaded and installed the newest scanner driver deb-packages (2 of them) 
from the official brother web-page and installed them using

  $ sudo apt-get install ./'sannerdirverfilename'.deb

  and there was no error message. So I also installed simple-scan from
  the Ubuntu repository using:

  $ sudo apt-get install simple-scan

  This also worked just fine. But when I now try to use simple-scan, it
  doesn't work. I call the program from the terminal command line:

  $ simple scan

  and it opens an interactive window, searches for a scanner and finds
  the brother scanner. But when I then hit the 'scan' button, I get the
  error message

  "Failed to scan - unable to connect to scanner"

  3) Error Log for simple-scan:
  So I used simple-scan with the debug option, and here is the log-file:

  $ simple-scan --debug
  [+0,00s] DEBUG: simple-scan.vala:638: Starting simple-scan 3.36.0, PID=7992
  [+0,00s] DEBUG: unsetenv() is not thread-safe and should not be used after 
threads are created
  [+0,02s] DEBUG: _g_io_module_get_default: Found default implementation dconf 
(DConfSettingsBackend) for ‘gsettings-backend’
  [+0,06s] DEBUG: app-window.vala:1908: Loading state from 
/home/barbara/.cache/simple-scan/state
  [+0,06s] DEBUG: app-window.vala:1887: Restoring window to 600x400 pixels
  [+0,33s] DEBUG: app-window.vala:1983: Saving state to 
/home/barbara/.cache/simple-scan/state
  [+6,00s] DEBUG: scanner.vala:1541: sane_init () -> SANE_STATUS_GOOD
  [+6,00s] DEBUG: scanner.vala:1547: SANE version 1.0.29
  [+6,00s] DEBUG: scanner.vala:1608: Requesting redetection of scan devices
  [+6,00s] DEBUG: scanner.vala:828: Processing request
  [+6,15s] DEBUG: app-window.vala:1983: Saving state to 
/home/barbara/.cache/simple-scan/state
  [+14,91s] DEBUG: scanner.vala:341: sane_get_devices () -> SANE_STATUS_GOOD
  [+14,91s] DEBUG: scanner.vala:353: Device: name="brother4:bus2;dev2" 
vendor="Brother" model="MFC-J5910DW" type="USB scanner"
  [+15,02s] DEBUG: app-window.vala:1983: Saving state to 
/home/barbara/.cache/simple-scan/state
  [+41,02s] DEBUG: simple-scan.vala:455: Requesting scan at 150 dpi from device 
'brother4:bus2;dev2'
  [+41,02s] DEBUG: scanner.vala:1676: Scanner.scan ("brother4:bus2;dev2", 
dpi=150, scan_mode=ScanMode.GRAY, depth=2, type=single, paper_width=0, 
paper_height=0, brightness=0, contrast=0, delay=3000ms)
  [+41,02s] DEBUG: scanner.vala:828: Processing request
  [+41,02s] DEBUG: scanner.vala:889: sane_open ("brother4:bus2;dev2") -> 
SANE_STATUS_IO_ERROR
  [+41,02s] WARNING: scanner.vala:893: Unable to open device: Error during 
device I/O
  [+41,43s] DEBUG: app-window.vala:1983: Saving state to 
/home/barbara/.cache/simple-scan/state
  [+56,27s] DEBUG: app-window.vala:1983: Saving state to 
/home/barbara/.cache/simple-scan/state
  [+100,09s] DEBUG: autosave-manager.vala:201: Deleting autosave records
  [+100,09s] DEBUG: scanner.vala:1704: Stopping scan thread
  [+100,09s] DEBUG: scanner.vala:828: Processing request
  [+100,09s] DEBUG: scanner.vala:1715: sane_exit ()

  I have no idea why sane cannot open the I/O device.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: simple-scan 3.36.0-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
  Uname: Linux 5.4.0-29-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Sat May 16 07:54:46 2020
  InstallationDate: Installed on 2020-04-24 (21 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  MachineType: Dell Inc. Latitude E5450
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-29-generic 
root=UUID=2bb62112-1254-42cd-ba84-e3f2edc0d4b2 ro quiet splash vt.handoff=7
  SimpleScanLog:
   
  SourcePackage: simple-scan
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/30/2015
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0DCPV1
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell I