Bug#983349: hplip: while scanning , error 9 : impossible to scan

2021-08-28 Thread Jörg Frings-Fürst
tags 983349 + moreinfo
--


Hello,

please can you check if the bug in 

 - sane-backends 1.0.32-4 (currently in testing)

still exists?

Thanks in advance

CU
Jörg
-- 
New:
GPG Fingerprint: 63E0 075F C8D4 3ABB 35AB  30EE 09F8 9F3C 8CA1 D25D
GPG key (long) : 09F89F3C8CA1D25D
GPG Key: 8CA1D25D
CAcert Key S/N : 0E:D4:56

Old pgp Key: BE581B6E (revoked since 2014-12-31).

Jörg Frings-Fürst
D-54470 Lieser


git:  https://jff.email/cgit/

Threema: SYR8SJXB
Wire: @joergfringsfuerst
Skype: joergpenguin
Ring: jff
Telegram: @joergfringsfuerst


My wish list: 
 - Please send me a picture from the nature at your home.



signature.asc
Description: This is a digitally signed message part


Bug#983349: hplip: while scanning , error 9 : impossible to scan

2021-02-24 Thread Jens Müller

Hi,

Sorry for jumping into this, I'm also unable to do remote scanning 
(printing is fine) with Debian Bullseye in contrast to Ubuntu 20.04. 
Neither of the two Uris work for me on Bullseye:


escl:https://192.168.20.28:443
hpaio:/net/HP_ColorLaserJet_MFP_M282-M285?ip=192.168.20.28

Installed package versions:

ii  gir1.2-libinsane-1.0:amd641.0.9-2   
  amd64Library to access scanner - GObject 
bindings
ii  hplip 3.20.11+dfsg0-2   
  amd64HP Linux Printing and Imaging System 
(HPLIP)
ii  hplip-data3.20.11+dfsg0-2   
  all  HP Linux Printing and Imaging - data 
files
ii  libhpmud0:amd64   3.20.11+dfsg0-2   
  amd64HP Multi-Point Transport Driver (hpmud) 
run-time libraries
ii  libinsane1:amd64  1.0.9-2   
  amd64Library to access scanner
ii  libsane-common1.0.31-4  
  all  API library for scanners -- 
documentation and support files
ii  libsane-hpaio:amd64   3.20.11+dfsg0-2   
  amd64HP SANE backend for multi-function 
peripherals
ii  libsane1:amd641.0.31-4  
  amd64API library for scanners
ii  printer-driver-hpcups 3.20.11+dfsg0-2   
  amd64HP Linux Printing and Imaging - CUPS 
Raster driver (hpcups)
ii  printer-driver-postscript-hp  3.20.11+dfsg0-2   
  amd64HP Printers PostScript Descriptions
ii  sane-utils1.0.31-4  
  amd64API library for scanners -- utilities


I am ready to provide additional logs upon request.

Regards, Jens



Bug#983349: hplip: while scanning , error 9 : impossible to scan

2021-02-23 Thread Till Kamppeter

On 23/02/2021 13:17, Brian Potkin wrote:

escl is capable of working with ipp-usb but does not. This seems to
be a bug in SANE's libsane-escl, so I am reassigning your report to
libsane1.


Note that the "escl" backend got improved a lot in sane-backends 1.0.32 
which got released recently. I have already packaged it for Ubuntu 
Hirsute (21.04).


I think I had this backend already used with IPP-over-USB. If it does 
not actively block IPP-over-USB in newer versions it can still be that 
sane-airscan simply has more quirk exceptions to make IPP-over-USB work 
on more scanner models.


   Till



Bug#983349: hplip: while scanning , error 9 : impossible to scan

2021-02-23 Thread Brian Potkin
reassign 983349 libsane1
thanks



On Tue 23 Feb 2021 at 12:14:09 +0100, alain wrote:

> Package: hplip
> Version: 3.21.2+dfsg1-1
> Followup-For: Bug #983349
> X-Debbugs-Cc: compte.perso.de-al...@bbox.fr
> 
> thank you a lot Brian .
> 
> your command seems to work very well .
> 
> i managed to scan a blank page  and then a  full page .
> 
> all seems to be ok .

Good.

> so where was the problem ? how to fix it ?
> 
> sane BTS told me that hplip was heavily buggy . is that true ?

'scanimage -L' offers you three backends for scanning: escl, hpaio
and airscan.

hpaio can never work while the ipp-usb service is active. This is a
feature of IPP-over-USB. It is not an hpaio bug.

escl is capable of working with ipp-usb but does not. This seems to
be a bug in SANE's libsane-escl, so I am reassigning your report to
libsane1.

airscan is an alternative to escl and, fortunately, does work.
 
> thanks a lot for your help .

Thanks for your engagement,

Regards,

Brian.



Bug#983349: hplip: while scanning , error 9 : impossible to scan

2021-02-23 Thread alain
Package: hplip
Version: 3.21.2+dfsg1-1
Followup-For: Bug #983349
X-Debbugs-Cc: compte.perso.de-al...@bbox.fr

thank you a lot Brian .

your command seems to work very well .

i managed to scan a blank page  and then a  full page .

all seems to be ok .

so where was the problem ? how to fix it ?

sane BTS told me that hplip was heavily buggy . is that true ?

thanks a lot for your help .

great thanks .



-- Package-specific info:

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (100, 'testing'), (100, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-3-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages hplip depends on:
ii  adduser3.118
ii  cups   2.3.3op2-3
ii  hplip-data 3.21.2+dfsg1-1
ii  libc6  2.31-9
ii  libcups2   2.3.3op2-3
ii  libdbus-1-31.12.20-2
ii  libhpmud0  3.21.2+dfsg1-1
ii  libpython3.9   3.9.1-4
ii  libsane-hpaio  3.21.2+dfsg1-1
ii  libsane1   1.0.31-4
ii  lsb-base   11.1.0
ii  printer-driver-hpcups  3.21.2+dfsg1-1
ii  python33.9.1-1
ii  python3-dbus   1.2.16-5
ii  python3-gi 3.38.0-2
ii  python3-pexpect4.8.0-1
ii  python3-pil8.1.0-1
ii  python3-reportlab  3.5.59-1
ii  wget   1.21-1+b1
ii  xz-utils   5.2.5-1.0

Versions of packages hplip recommends:
ii  avahi-daemon  0.8-5
ii  policykit-1   0.105-30
ii  printer-driver-postscript-hp  3.21.2+dfsg1-1
ii  sane-utils1.0.31-4

Versions of packages hplip suggests:
pn  hplip-doc  
ii  hplip-gui  3.21.2+dfsg1-1
ii  python3-notify20.3-4
ii  system-config-printer  1.5.14-1

-- no debconf information



Bug#983349: hplip: while scanning , error 9 : impossible to scan

2021-02-23 Thread Brian Potkin
On Tue 23 Feb 2021 at 09:17:03 +0100, alain wrote:

[...]

> alain@sid:~$ scanimage -L
> device `escl:http://127.0.0.1:6' is a HP ENVY 5530 series [FE04D6] (USB)
> flatbed scanner
> device `airscan:e0:HP ENVY 5530 series [FE04D6] (USB)' is a eSCL HP ENVY 5530
> series [FE04D6] (USB) ip=127.0.0.1
> device `hpaio:/usb/ENVY_5530_series?serial=CN595530XD06BX' is a 
> Hewlett-Packard
> ENVY_5530_series all-in-one
> 
> still understood nothing .
> 
> is that what you wanted ?

Yes.

Can you scan with

  simple-scan "airscan:e0:HP ENVY 5530 series [FE04D6] (USB)" ?

> do i have to open a "sane" bug ?

We will deal with that later.


Cheers,

Brian.



Bug#983349: hplip: while scanning , error 9 : impossible to scan

2021-02-23 Thread alain
Package: hplip
Version: 3.21.2+dfsg1-1
Followup-For: Bug #983349
X-Debbugs-Cc: compte.perso.de-al...@bbox.fr

alain@sid:~$ sudo apt install --reinstall sane-airscan
[sudo] Mot de passe de alain :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 9 non mis
à jour.
Il est nécessaire de prendre 117 ko dans les archives.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Réception de :1 http://deb.debian.org/debian testing/main amd64 sane-airscan
amd64 0.99.24-1 [117 kB]
117 ko réceptionnés en 0s (1 268 ko/s)
(Lecture de la base de données... 283524 fichiers et répertoires déjà
installés.)
Préparation du dépaquetage de .../sane-airscan_0.99.24-1_amd64.deb ...
Dépaquetage de sane-airscan (0.99.24-1) sur (0.99.24-1) ...
Paramétrage de sane-airscan (0.99.24-1) ...
Traitement des actions différées (« triggers ») pour man-db (2.9.4-2) ...

alain@sid:~$ scanimage -L
device `escl:http://127.0.0.1:6' is a HP ENVY 5530 series [FE04D6] (USB)
flatbed scanner
device `airscan:e0:HP ENVY 5530 series [FE04D6] (USB)' is a eSCL HP ENVY 5530
series [FE04D6] (USB) ip=127.0.0.1
device `hpaio:/usb/ENVY_5530_series?serial=CN595530XD06BX' is a Hewlett-Packard
ENVY_5530_series all-in-one

still understood nothing .

is that what you wanted ?

do i have to open a "sane" bug ?



-- Package-specific info:

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (100, 'testing'), (100, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-3-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages hplip depends on:
ii  adduser3.118
ii  cups   2.3.3op2-3
ii  hplip-data 3.21.2+dfsg1-1
ii  libc6  2.31-9
ii  libcups2   2.3.3op2-3
ii  libdbus-1-31.12.20-2
ii  libhpmud0  3.21.2+dfsg1-1
ii  libpython3.9   3.9.1-4
ii  libsane-hpaio  3.21.2+dfsg1-1
ii  libsane1   1.0.31-4
ii  lsb-base   11.1.0
ii  printer-driver-hpcups  3.21.2+dfsg1-1
ii  python33.9.1-1
ii  python3-dbus   1.2.16-5
ii  python3-gi 3.38.0-2
ii  python3-pexpect4.8.0-1
ii  python3-pil8.1.0-1
ii  python3-reportlab  3.5.59-1
ii  wget   1.21-1+b1
ii  xz-utils   5.2.5-1.0

Versions of packages hplip recommends:
ii  avahi-daemon  0.8-5
ii  policykit-1   0.105-30
ii  printer-driver-postscript-hp  3.21.2+dfsg1-1
ii  sane-utils1.0.31-4

Versions of packages hplip suggests:
pn  hplip-doc  
ii  hplip-gui  3.21.2+dfsg1-1
ii  python3-notify20.3-4
ii  system-config-printer  1.5.14-1

-- no debconf information


Bug#983349: hplip: while scanning , error 9 : impossible to scan

2021-02-22 Thread Brian Potkin
On Mon 22 Feb 2021 at 22:17:52 +0100, alain wrote:

> Package: hplip
> Version: 3.21.2+dfsg1-1
> Followup-For: Bug #983349
> X-Debbugs-Cc: compte.perso.de-al...@bbox.fr
> 
> your command :  simple-scan escl:http://127.0.0.1:6  was nearly ok .
> 
> simple-scan started to connect and , quickly , closed itself : "cannot 
> connect"

That is a possible upstream  bug in SANE for this device.

> i've read your texts .
> 
> the only thing i understood is that usb connections has become now like 
> network
> connections
> 
> alain@sid:~$ lsusb -v | grep -A 3 bInterfaceClass.*7
> Couldn't open device, some information will be missing
> Couldn't open device, some information will be missing
> Couldn't open device, some information will be missing
>   bInterfaceClass 7 Printer
>   bInterfaceSubClass  1 Printer
>   bInterfaceProtocol  4
>   iInterface  0
> --
>   bInterfaceClass 7 Printer
>   bInterfaceSubClass  1 Printer
>   bInterfaceProtocol  2 Bidirectional
>   iInterface  0
> --
>   bInterfaceClass 7 Printer
>   bInterfaceSubClass  1 Printer
>   bInterfaceProtocol  4
>   iInterface  0
> can't get debug descriptor: Resource temporarily unavailable
> Couldn't open device, some information will be missing
> --
>   bInterfaceClass 7 Printer
>   bInterfaceSubClass  1 Printer
>   bInterfaceProtocol  4
>   iInterface  0
> Couldn't open device, some information will be missing
> Couldn't open device, some information will be missing
> Couldn't open device, some information will be missing
> Couldn't open device, some information will be missing
> Couldn't open device, some information will be missing
> Couldn't open device, some information will be missing
> 
> new ipp-over-usb seems to be not compatible with libsane-hpaio (my driver)

ipp-usb has taken control of the USB endpoints detailed above and
libsane-hpaio is unable to access them. This is a consquence of how 
IPP-over-USB interworks with USB. It is not a bug in either ipp-usb
or libsane-hpaio.

> so i have a big problem .
> 
> don't know the solution .

Please install sane-airscan and give

  scanimage -L

Cheers,

Brian.



Bug#983349: hplip: while scanning , error 9 : impossible to scan

2021-02-22 Thread alain
Package: hplip
Version: 3.21.2+dfsg1-1
Followup-For: Bug #983349
X-Debbugs-Cc: compte.perso.de-al...@bbox.fr

your command :  simple-scan escl:http://127.0.0.1:6  was nearly ok .

simple-scan started to connect and , quickly , closed itself : "cannot connect"

i've read your texts .

the only thing i understood is that usb connections has become now like network
connections

alain@sid:~$ lsusb -v | grep -A 3 bInterfaceClass.*7
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
  bInterfaceClass 7 Printer
  bInterfaceSubClass  1 Printer
  bInterfaceProtocol  4
  iInterface  0
--
  bInterfaceClass 7 Printer
  bInterfaceSubClass  1 Printer
  bInterfaceProtocol  2 Bidirectional
  iInterface  0
--
  bInterfaceClass 7 Printer
  bInterfaceSubClass  1 Printer
  bInterfaceProtocol  4
  iInterface  0
can't get debug descriptor: Resource temporarily unavailable
Couldn't open device, some information will be missing
--
  bInterfaceClass 7 Printer
  bInterfaceSubClass  1 Printer
  bInterfaceProtocol  4
  iInterface  0
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing

new ipp-over-usb seems to be not compatible with libsane-hpaio (my driver)

so i have a big problem .

don't know the solution .


-- Package-specific info:

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (100, 'testing'), (100, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-3-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages hplip depends on:
ii  adduser3.118
ii  cups   2.3.3op2-3
ii  hplip-data 3.21.2+dfsg1-1
ii  libc6  2.31-9
ii  libcups2   2.3.3op2-3
ii  libdbus-1-31.12.20-2
ii  libhpmud0  3.21.2+dfsg1-1
ii  libpython3.9   3.9.1-4
ii  libsane-hpaio  3.21.2+dfsg1-1
ii  libsane1   1.0.31-4
ii  lsb-base   11.1.0
ii  printer-driver-hpcups  3.21.2+dfsg1-1
ii  python33.9.1-1
ii  python3-dbus   1.2.16-5
ii  python3-gi 3.38.0-2
ii  python3-pexpect4.8.0-1
ii  python3-pil8.1.0-1
ii  python3-reportlab  3.5.59-1
ii  wget   1.21-1+b1
ii  xz-utils   5.2.5-1.0

Versions of packages hplip recommends:
ii  avahi-daemon  0.8-5
ii  policykit-1   0.105-30
ii  printer-driver-postscript-hp  3.21.2+dfsg1-1
ii  sane-utils1.0.31-4

Versions of packages hplip suggests:
pn  hplip-doc  
ii  hplip-gui  3.21.2+dfsg1-1
ii  python3-notify20.3-4
ii  system-config-printer  1.5.14-1

-- no debconf information



Bug#983349: hplip: while scanning , error 9 : impossible to scan

2021-02-22 Thread Brian Potkin
On Mon 22 Feb 2021 at 21:16:17 +0100, alain wrote:

> Package: hplip
> Version: 3.21.2+dfsg1-1
> Followup-For: Bug #983349
> X-Debbugs-Cc: compte.perso.de-al...@bbox.fr
> 
> thanks Brian .
> 
> here are what you asked me :
> 
> alain@sid:~$ systemctl list-units "ipp-usb*" | grep service
>   ipp-usb.service loaded active running Daemon for IPP over USB printer 
> support

ipp-usb is active, as designed. I suggest you read sections 13, 14 and
15 at

  https://wiki.debian.org/CUPSDriverlessPrinting
 
> alain@sid:~$ scanimage -L
> device `escl:http://127.0.0.1:6' is a HP ENVY 5530 series [FE04D6] (USB)
> flatbed scanner
> device `hpaio:/usb/ENVY_5530_series?serial=CN595530XD06BX' is a 
> Hewlett-Packard
> ENVY_5530_series all-in-one
> 
> is that what you wanted ?

Yes, thanks.

Can you scan with

  simple-scan escl:http://127.0.0.1:6 ?  

> tried vuescan : no works no more .

Not one of ours, but an interesting data point.

Cheers,

Brian.



Bug#983349: hplip: while scanning , error 9 : impossible to scan

2021-02-22 Thread alain
Package: hplip
Version: 3.21.2+dfsg1-1
Followup-For: Bug #983349
X-Debbugs-Cc: compte.perso.de-al...@bbox.fr

thanks Brian .

here are what you asked me :

alain@sid:~$ systemctl list-units "ipp-usb*" | grep service
  ipp-usb.service loaded active running Daemon for IPP over USB printer support


alain@sid:~$ scanimage -L
device `escl:http://127.0.0.1:6' is a HP ENVY 5530 series [FE04D6] (USB)
flatbed scanner
device `hpaio:/usb/ENVY_5530_series?serial=CN595530XD06BX' is a Hewlett-Packard
ENVY_5530_series all-in-one

is that what you wanted ?

tried vuescan : no works no more .



-- Package-specific info:
Saving output in log file: /home/alain/hp-check.log

HP Linux Imaging and Printing System (ver. 3.21.2)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling 
the HPLIP supplied tarball (.tar.gz or .run) to
determine if the proper dependencies are installed to successfully compile 
HPLIP.   
2. Run-time check mode (-r or --run): Use this mode to determine if a distro 
supplied package (.deb, .rpm, etc) or an already built 
HPLIP supplied tarball has the proper dependencies installed to successfully 
run.   
3. Both compile- and run-time check mode (-b or --both) (Default): This mode 
will check both of the above cases (both compile- and  
run-time dependencies). 


Check types:

a. EXTERNALDEP - External Dependencies  

b. GENERALDEP - General Dependencies (required both at compile and run time)

c. COMPILEDEP - Compile time Dependencies   

d. [All are run-time checks]

PYEXT SCANCONF QUEUES PERMISSION


Status Types:
OK
MISSING   - Missing Dependency or Permission or Plug-in
INCOMPAT  - Incompatible dependency-version or Plugin-version

Gtk-Message: 21:13:29.004: Failed to load module "canberra-gtk-module"
warning: debian-unstable version is not supported. Using debian-10.7 versions 
dependencies to verify and install...

---
| SYSTEM INFO |
---

 Kernel: 5.10.0-3-amd64 #1 SMP Debian 5.10.13-1 (2021-02-06) GNU/Linux
 Host: sid
 Proc: 5.10.0-3-amd64 #1 SMP Debian 5.10.13-1 (2021-02-06) GNU/Linux
 Distribution: debian unstable
 Bitness: 64 bit


---
| HPLIP CONFIGURATION |
---

HPLIP-Version: HPLIP 3.21.2
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian 
distro  unstable version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.21.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.21.2
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[fax]
email_address = 
voice_phone = 

[last_used]
device_uri = hpaio:/usb/ENVY_5530_series?serial=CN595530XD06BX
printer_name = HP_ENVY_5530_series
working_dir = .

[polling]
device_list = 
enable = false
interval = 5

[refresh]
enable = false
rate = 30
type = 1

[settings]

Bug#983349: hplip: while scanning , error 9 : impossible to scan

2021-02-22 Thread Brian Potkin
severity 983349 important
tags 983349 - upstream
thanks



On Mon 22 Feb 2021 at 19:18:06 +0100, alain wrote:

> Package: hplip
> Version: 3.21.2+dfsg1-1
> Severity: grave
> Tags: upstream
> Justification: renders package unusable
> X-Debbugs-Cc: compte.perso.de-al...@bbox.fr
> 
> last  weekend , while scanning a document , hp-scan went wrong .
> 
> no more xsane , simple-scan or hp-scan work 

Thank you for your report, alain.

Please provide

  systemctl list-units "ipp-usb*" | grep service

and

  scanimage -L

Regards,

Brian..



Bug#983349: hplip: while scanning , error 9 : impossible to scan

2021-02-22 Thread alain
Package: hplip
Version: 3.21.2+dfsg1-1
Followup-For: Bug #983349
X-Debbugs-Cc: compte.perso.de-al...@bbox.fr

sorry , i have just seen : not unstable compatible .

so , if you think there's a solution , it will be good .

also , i am looking for a canon lide 25 scanner in order to solve the problem .

was searching a canonscan lide 300 but lide 25 was cheapiest .

shipped in germany .



-- Package-specific info:
Saving output in log file: /home/alain/hp-check.log

HP Linux Imaging and Printing System (ver. 3.21.2)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball   
has the proper dependencies installed to successfully run.  
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).   

Check types:
a. EXTERNALDEP - External Dependencies  
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies   
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION

Status Types:
OK
MISSING   - Missing Dependency or Permission or Plug-in
INCOMPAT  - Incompatible dependency-version or Plugin-version

Gtk-Message: 19:31:40.843: Failed to load module "canberra-gtk-module"
warning: debian-unstable version is not supported. Using debian-10.7 versions 
dependencies to verify and install...

---
| SYSTEM INFO |
---

 Kernel: 5.10.0-3-amd64 #1 SMP Debian 5.10.13-1 (2021-02-06) GNU/Linux
 Host: sid
 Proc: 5.10.0-3-amd64 #1 SMP Debian 5.10.13-1 (2021-02-06) GNU/Linux
 Distribution: debian unstable
 Bitness: 64 bit


---
| HPLIP CONFIGURATION |
---

HPLIP-Version: HPLIP 3.21.2
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian 
distro  unstable version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.21.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.21.2
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[fax]
email_address = 
voice_phone = 

[last_used]
device_uri = escl:http://127.0.0.1:6
printer_name = HP_ENVY_5530_series
working_dir = .

[polling]
device_list = 
enable = false
interval = 5

[refresh]
enable = false
rate = 30
type = 1

[settings]
systray_messages = 0
systray_visible = 0

[upgrade]
last_upgraded_time = 1613842662
notify_upgrade = true
pending_upgrade_time = 0

[installation]
date_time = 02/22/21 19:31:41
version = 3.21.2


 


-
| External Dependencies |
-

 error: cups  CUPS - Common Unix Printing System
   REQUIRED1.1 -   INCOMPAT   'CUPS may not be 
installed or not running'
 gs   GhostScript - PostScript and PDF language interpreter and 
previewer REQUIRED7.059.53.3  OK -
Gtk-Message: 19:31:42.385: Failed to load module 

Bug#983349: hplip: while scanning , error 9 : impossible to scan

2021-02-22 Thread alain
Package: hplip
Version: 3.21.2+dfsg1-1
Severity: grave
Tags: upstream
Justification: renders package unusable
X-Debbugs-Cc: compte.perso.de-al...@bbox.fr

last  weekend , while scanning a document , hp-scan went wrong .

no more xsane , simple-scan or hp-scan work .

here are my logs :


alain@sid:~$ hp-scan

HP Linux Imaging and Printing System (ver. 3.21.2)
Scan Utility ver. 2.2

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


-
| SELECT DEVICE |
-

  Num   Scan device URI
    -
  0 escl:http://127.0.0.1:6
  1*hpaio:/usb/ENVY_5530_series?serial=CN595530XD06BX

Enter number 0...1 for device (q=quit, =default: 1*) ?
warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/usb/ENVY_5530_series?serial=CN595530XD06BX
Opening connection to device...
error: SANE: Error during device I/O (code=9)
alain@sid:~$ hp-scan

HP Linux Imaging and Printing System (ver. 3.21.2)
Scan Utility ver. 2.2

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


-
| SELECT DEVICE |
-

  Num   Scan device URI
    -
  0 escl:http://127.0.0.1:6
  1*hpaio:/usb/ENVY_5530_series?serial=CN595530XD06BX

Enter number 0...1 for device (q=quit, =default: 1*) ?0
warning: No destinations specified. Adding 'file' destination by default.
Using device escl:http://127.0.0.1:6
Opening connection to device...
error: SANE: Out of memory (code=10)


printing works good  but  scanning not at  all .

i wonder if hplip ahsn't gone down .


-- Package-specific info:
Saving output in log file: /home/alain/hp-check.log

HP Linux Imaging and Printing System (ver. 3.21.2)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling 
the 
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper 
dependencies 
are installed to successfully compile HPLIP.
 
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
 
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball 
has
the proper dependencies installed to successfully run.  
 
3. Both compile- and run-time check mode (-b or --both) (Default): This mode 
will
check both of the above cases (both compile- and run-time dependencies).
 

Check types:
 
a. EXTERNALDEP - External Dependencies  
 
b. GENERALDEP - General Dependencies (required both at compile and run time)
 
c. COMPILEDEP - Compile time Dependencies   
 
d. [All are run-time checks]
 
PYEXT SCANCONF QUEUES PERMISSION
 

Status Types:
OK
MISSING   - Missing Dependency or Permission or Plug-in
INCOMPAT  - Incompatible dependency-version or Plugin-version

Gtk-Message: 19:14:36.397: Failed to load module "canberra-gtk-module"
warning: debian-unstable version is not supported. Using debian-10.7 versions 
dependencies to verify and install...

---
| SYSTEM INFO |
---

 Kernel: 5.10.0-3-amd64 #1 SMP Debian 5.10.13-1 (2021-02-06) GNU/Linux
 Host: sid
 Proc: 5.10.0-3-amd64 #1 SMP Debian 5.10.13-1 (2021-02-06) GNU/Linux
 Distribution: debian unstable
 Bitness: 64 bit


---
| HPLIP CONFIGURATION |
---

HPLIP-Version: HPLIP 3.21.2
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian 
distro  unstable version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.21.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no