Bug 1188963

Summary: Printer activation in yast for HP printers/scanners requiring plugins is not working
Product: [openSUSE] openSUSE Distribution Reporter: Foolish Ewe <foolishewe>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: jsmeix, kanderssen, martin.wilck
Version: Leap 15.3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://bugzilla.opensuse.org/show_bug.cgi?id=1187232
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Foolish Ewe 2021-08-02 03:04:37 UTC
Tl;dr Could you please update the hplip version, I propose to 3.21.4.  It seems like the Leap 15.3 hplip version 3.20.11 has an hp-setup used picks a bad hp-plugin version, also 3.20.11, which does not have the correct checksum for the plugin I need. I had downgraded to OpenSuse 15.2 and did Zypper up and installed the driver. I then reinstalled 15.3, did a zypper up and then added the repository https://download.opensuse.org/repositories/home:/Sauerland:/sane/openSUSE_Leap_15.3/ which had had a hplip version 3.21.4, and was able to get my scanner operational.

The Yast2 interface has been invaluable in the past, and I've had issues with setting up my HP ColorJet MFP 477fnw, hp-setup runs as expected and the printer works, but the hp-plugins program is needed to configure scanner access.  In particular
1) I go to the printer configuration manager via yast and then select Run hp-setup
2) The printer and the corresponding fax are correctly setup, click on OK and finished.
3) When I go to the scanner page I see the scanner as detected, but when I select the button to pulldown other->Test, I get a pop-up error saying:

Test with 'scanimage -d hpaio:/net/HP_Color_LaserJet_MFP_M477fnw?ip=192.168.1.254 -v' failed.
The results are:

Output format is not set, using pnm as a default.
scanimage: open of device hpaio:/net/HP_Color_LaserJet_MFP_M477fnw?ip=192.168.1.254 failed: Error during device I/O

4) But the hp-plugin was activated, but the ui window is not displayed.  On the
Driver-Plugin Installation is Required window, click on Next,
5)A Driver Plugin Installation window pops up, take the default "Download and install from an HP authorized server (Recommended), and click Next.
5) Get popup saying /home/foolishewe/.hplip/hplip-3.20.11-plugin.run file does not match its checksum. File may have been corrupted or altered, only choice is to click OK (but it really is not OK).
6) Get a popup window that says Failed to install Plug-in.
Either you have chosen to skip the Plug-in installation  or entered incorrect Password, only choice is OK again.
7) Get Error Failed to test hpaio popup.

XSane also complains and also launches hp-plugin before failing.
hp-plugin --version reports:
error: /root/.hplip/hplip-3.20.11-plugin.run file does not match its checksum. File may have been corrupted or altered
foolishewe@localhost:~/testdir> hp-plugin --version

HP Linux Imaging and Printing System (ver. 3.20.11)
Plugin Download and Install Utility ver. 2.1


foolishewe@localhost:~/testdir> hp-setup --version

HP Linux Imaging and Printing System (ver. 3.20.11)
Printer/Fax Setup Utility ver. 9.0
Comment 1 Knut Alejandro Anderssen González 2021-08-02 12:53:43 UTC
Could you take a look?
Comment 2 Johannes Meixner 2021-08-03 12:24:44 UTC
In general regarding the YaST printer module see
https://bugzilla.opensuse.org/show_bug.cgi?id=1175341#c1


Foolish Ewe
if you upgraded from Leap 15.2 to Leap 15.3
you could have been hit by an issue with HP's
proprietary HPLIP plugin as in bug #1187232
which I meanwhile described in the section
"Some HP devices require a proprietary HPLIP 'plugin'"
at
https://en.opensuse.org/SDB:How_to_set-up_a_HP_printer
therein in the sub-section
"The plugin version must match the HPLIP version".


Regarding HPLIP version 3.21.4:

We (i.e. openSUSE) provide HPLIP version 3.21.4
via our openSUSE Build Service "Printing" development project
also for openSUSE Leap 15.3.

E.g. for direct RPM packages download from
http://download.opensuse.org/repositories/Printing/openSUSE_Leap_15.3/x86_64/

See "Needed Software" in
https://en.opensuse.org/SDB:How_to_set-up_a_HP_printer

In general see "Version upgrades for printer driver packages" at
https://en.opensuse.org/SDB:Installing_a_Printer

In general regarding using RPM packages from the
openSUSE Build Service "Printing" development project see
the "Printing System Development Project" description at
https://build.opensuse.org/project/show/Printing


In general regarding HPLIP version upgrades
for released openSUSE Leap versions:

HPLIP in openSUSE Leap 15.X is what SUSE provides
in SUSE Linux Enterprise 15 Service Pack X (SLE 15 SP X).

We do not upgrade SLE packages without a severe reason
like severe security issues or critical bugfixes, see also
"Version upgrades for printer driver packages" in
https://en.opensuse.org/SDB:Installing_a_Printer


In general regarding HPLIP:

HPLIP is developed by HP.

We (i.e. openSUSE) distribute HP's HPLIP software "as is"
but we do not develop it, cf.
https://en.opensuse.org/SDB:How_to_set-up_a_HP_printer

Issues with HPLIP are usually upstream issues
that should be reported directly to HP via
https://developers.hp.com/hp-linux-imaging-and-printing/support

Accordingly issues with HPLIP are usually closed as "upstream",
cf. "Background Information" in
https://en.opensuse.org/SDB:How_to_Report_a_Printing_Issue

It is known that HPLIP upstream issues may sometimes
take a rather long time until they get fixed by HP.

In particular regarding issues with HPLIP's proprietary plugins:

Issues with HPLIP's proprietary plugins
do not belong to us (i.e. to openSUSE) because the whole
HPLIP proprietary plugins stuff belongs to non-free software
where only those who made the non-free software can provide
real help and support, cf. the sections
"Printers with non-free driver software" in
https://en.opensuse.org/SDB:Printer_buying_guide
and "Third-Party Scanner Drivers"
https://en.opensuse.org/SDB:Configuring_Scanners
so issues with their proprietary plugins belong to HPLIP, cf.
https://developers.hp.com/hp-linux-imaging-and-printing/about
how you could report issues with HPLIP's proprietary plugins.

It is known since the beginning of time when HPLIP introduced
their proprietary plugins that every now and then there could be
various kind of weird issues with HPLIP's proprietary plugins.
Comment 3 Knut Alejandro Anderssen González 2021-08-04 07:38:44 UTC
I will close the bug as wontfix according to comments.