Please try to scan with hpaio Sane backend. It should help. 
The escl Sane backend, which you are currently using, is buggy and most of 
issue was resolved with next Sane version.

** Changed in: simple-scan (Ubuntu)
       Status: New => Incomplete

-- 
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/1912952

Title:
  simple-scan SANE_STATUS_NO_MEM

Status in simple-scan package in Ubuntu:
  Incomplete

Bug description:
  Ubuntu 21.04: Start simple-scan, click on 'scan' I have a message 'Failed to 
scan - Unable to connect scanner'
  debug log says 'SANE_STATUS_NO_MEM'
  Same scanner works fine on Ubuntu 20.10

  corrado@corrado-x6-hh-0122:~$ simple-scan --debug
  [+0,00s] DEBUG: simple-scan.vala:2012: Starting simple-scan 3.38.1, PID=3523
  [+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,03s] DEBUG: app-window.vala:1990: Loading state from 
/home/corrado/.cache/simple-scan/state
  [+0,03s] DEBUG: app-window.vala:1969: Restoring window to 600x400 pixels
  [+0,07s] DEBUG: scanner.vala:1548: sane_init () -> SANE_STATUS_GOOD
  [+0,07s] DEBUG: scanner.vala:1554: SANE version 1.0.31
  [+0,07s] DEBUG: scanner.vala:1615: Requesting redetection of scan devices
  [+0,07s] DEBUG: scanner.vala:828: Processing request
  [+0,44s] DEBUG: app-window.vala:2065: Saving state to 
/home/corrado/.cache/simple-scan/state
  [+7,68s] DEBUG: scanner.vala:341: sane_get_devices () -> SANE_STATUS_GOOD
  [+7,68s] DEBUG: scanner.vala:353: Device: name="escl:http://127.0.0.1:60000"; 
vendor="HP" model="DeskJet 2600 series [665032] (USB)" type="flatbed scanner"
  [+7,68s] DEBUG: scanner.vala:353: Device: 
name="hpaio:/usb/DeskJet_2600_series?serial=CN0569B27006PS" 
vendor="Hewlett-Packard" model="DeskJet_2600_series" type="all-in-one"
  [+8,00s] DEBUG: app-window.vala:2065: Saving state to 
/home/corrado/.cache/simple-scan/state
  [+14,99s] DEBUG: simple-scan.vala:1817: Requesting scan at 75 dpi from device 
'escl:http://127.0.0.1:60000'
  [+14,99s] DEBUG: scanner.vala:1683: Scanner.scan 
("escl:http://127.0.0.1:60000";, dpi=75, scan_mode=ScanMode.COLOR, depth=8, 
type=single, paper_width=0, paper_height=0, brightness=0, contrast=0, 
delay=3000ms)
  [+14,99s] DEBUG: scanner.vala:828: Processing request
  [+14,99s] DEBUG: scanner.vala:889: sane_open ("escl:http://127.0.0.1:60000";) 
-> SANE_STATUS_NO_MEM
  [+14,99s] WARNING: scanner.vala:893: Unable to open device: Out of memory
  [+15,30s] DEBUG: app-window.vala:2065: Saving state to 
/home/corrado/.cache/simple-scan/state
  [+15,86s] DEBUG: app-window.vala:2065: Saving state to 
/home/corrado/.cache/simple-scan/state
  [+473,36s] DEBUG: app-window.vala:2065: Saving state to 
/home/corrado/.cache/simple-scan/state
  [+474,87s] DEBUG: autosave-manager.vala:201: Deleting autosave records
  [+474,87s] DEBUG: scanner.vala:1711: Stopping scan thread
  [+474,87s] DEBUG: scanner.vala:828: Processing request
  [+474,88s] DEBUG: scanner.vala:1722: sane_exit ()
  corrado@corrado-x6-hh-0122:~$ 
  corrado@corrado-x6-hh-0122:~$ inxi -SCMIx
  System:    Host: corrado-x6-hh-0122 Kernel: 5.8.0-36-generic x86_64 bits: 64 
compiler: gcc v: 10.2.1 Desktop: GNOME 3.38.2 
             Distro: Ubuntu 21.04 (Hirsute Hippo) 
  Machine:   Type: Desktop Mobo: ASRock model: H110M-G/M.2 serial: <superuser 
required> UEFI: American Megatrends v: P1.10 
             date: 05/11/2017 
  CPU:       Info: Dual Core model: Intel Core i3-7100 bits: 64 type: MT MCP 
arch: Kaby Lake rev: 9 L2 cache: 3 MiB 
             flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
bogomips: 31199 
             Speed: 800 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 800 2: 
800 3: 800 4: 800 
  Info:      Processes: 219 Uptime: 31m Memory: 7.48 GiB used: 1.73 GiB (23.1%) 
Init: systemd runlevel: 5 Compilers: gcc: N/A 
             Packages: 1827 Shell: Bash v: 5.1.0 inxi: 3.2.02 
  corrado@corrado-x6-hh-0122:~$

  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  Package: simple-scan 3.38.1-1
  ProcVersionSignature: Ubuntu 5.8.0-36.40+21.04.1-generic 5.8.18
  Uname: Linux 5.8.0-36-generic x86_64
  ApportVersion: 2.20.11-0ubuntu55
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Jan 24 19:05:51 2021
  InstallationDate: Installed on 2021-01-22 (2 days ago)
  InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Alpha amd64 (20210122)
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-36-generic 
root=UUID=20c90aa4-17f1-4012-931a-04287724baba ro quiet splash vt.handoff=7
  SimpleScanLog:
   
  SourcePackage: simple-scan
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/11/2017
  dmi.bios.release: 5.12
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P1.10
  dmi.board.name: H110M-G/M.2
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrP1.10:bd05/11/2017:br5.12:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnH110M-G/M.2:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.family: To Be Filled By O.E.M.
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.sku: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/simple-scan/+bug/1912952/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to