Bug 2129849 - hp-plugin unable to load plugin.conf
Summary: hp-plugin unable to load plugin.conf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 35
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2130681 2132085 2132086 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-26 12:55 UTC by Otto J. Makela
Modified: 2023-09-19 04:27 UTC (History)
6 users (show)

Fixed In Version: hplip-3.22.6-4.fc36 hplip-3.22.6-4.fc35 hplip-3.22.6-4.fc37
Clone Of:
Environment:
Last Closed: 2022-10-19 06:39:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad.net hplip/+bug/1989508 0 None None None 2022-09-26 12:55:15 UTC

Description Otto J. Makela 2022-09-26 12:55:15 UTC
Description of problem:

hp-plugin fails because unable to load plugin.conf

Version-Release number of selected component (if applicable):

3.22.6-1

How reproducible:

Always

Steps to Reproduce:

1. Install hplip
2. Attempt to run hp-plugin to detect and load appropriate driver

Actual results:

Installation fails with (slightly confusing error messages) 
error: Plugin download failed with error code = 8
error: file does not match its checksum. File may have been corrupted or altered

When running "hp-plugin -l debug" the reason turns out to be that the file http://hplip.sourceforge.net/plugin.conf does not exist.

Expected results:

http://hplip.sourceforge.net/plugin.conf gets loaded and driver installation proceeds normally.

Comment 1 Zdenek Dohnal 2022-10-03 13:09:20 UTC
*** Bug 2130681 has been marked as a duplicate of this bug. ***

Comment 2 Zdenek Dohnal 2022-10-05 06:59:07 UTC
*** Bug 2132085 has been marked as a duplicate of this bug. ***

Comment 3 Zdenek Dohnal 2022-10-05 06:59:43 UTC
*** Bug 2132086 has been marked as a duplicate of this bug. ***

Comment 4 Zdenek Dohnal 2022-10-05 14:39:02 UTC
Hi all,

thank you for reporting the issue!

Unfortunately the file is missing on the remote server, where we don't have control - the issue is reported upstream several times (the first here - https://bugs.launchpad.net/bugs/1989508 ), but without any solution or response upstream.

In the meantime people can download the respective plugin from https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/ and install it by:

$ sh <plugin_file>

I'll create a bash script which will be run under 'hp-plugin' command and it will do the same thing.

Comment 5 Brian J. Murrell 2022-10-05 20:27:17 UTC
Indeed, I don't think anyone thinks you can fix the remote server issue.  There are alternative solutions that you, RH, as the packager can apply though.  Your proposed solution:

> I'll create a bash script which will be run under 'hp-plugin' command and it will do the same thing.

is one solution.  Including the plugin from https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/ in hplip (or an hp-plugin subpackage) is another.  And yet another is to host the http://hplip.sourceforge.net/plugin.conf on a RH controlled server and update the path during the package build.

In any case, whichever solution you choose I am sure everyone will be grateful for your efforts!

Comment 6 Zdenek Dohnal 2022-10-06 05:36:15 UTC
(In reply to Brian J. Murrell from comment #5)
> Indeed, I don't think anyone thinks you can fix the remote server issue. 
> There are alternative solutions that you, RH, as the packager can apply
> though.  Your proposed solution:
> 
> > I'll create a bash script which will be run under 'hp-plugin' command and it will do the same thing.
> 
> is one solution.  Including the plugin from
> https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/ in
> hplip (or an hp-plugin subpackage) is another. 

Unfortunately the plugin has a license incompatible with open source licenses which can be in the official repos in Fedora, so I cannot ship it in a subpackage (that was the reason why hp-plugin script existed).

IIRC Rathann (one hplip user from community) somehow packaged the plugin, but I'm not sure whether he shares it via RPMFusion or uses it locally... 

> And yet another is to host
> the http://hplip.sourceforge.net/plugin.conf on a RH controlled server and
> update the path during the package build.

When I look into the previous contents of plugin.conf - https://web.archive.org/web/20220420014143/http://hplip.sourceforge.net/plugin.conf - IMHO I cannot guess all the entries there to fully replace this file :( 

> 
> In any case, whichever solution you choose I am sure everyone will be
> grateful for your efforts!

Either way, it would be great if everyone who hit this issue found out whether they really need a plugin for their printing/scanning operations - the plugin is needed only if your device is quite old (about more than 10 years old in case of network printing, about more than 7 years old in case of USB printing, about more than 5-7 years old in terms of scanning) and does not support a driverless methods or if driverless solutions don't match your criteria or don't work due some bugs.

For example, I have HP LaserJet M1536dnf (purchased in 2011, made in 2010) at home, which is capable of driverless printing via network (wifi and ethernet), prints with classic driver via USB and plugin is needed only for scanning.

More info about this you can find here ( for printing https://docs.fedoraproject.org/en-US/quick-docs/cups-useful-tricks/#_how_to_find_out_whether_my_printer_is_capable_of_driverless_printing , for scanning https://docs.fedoraproject.org/en-US/quick-docs/cups-useful-tricks/#_how_to_find_out_my_multifunction_device_or_standalone_scanner_is_capable_of_driverless_scanning ) and in the following paragraphs. In case you encounter some problems/errors when setting the driverless scanning/printing up (if you find out the device should support it), it would be great if you filed a bugzilla to a respective component (in case you have problems with printing from a specific application - file a bug on it, in case the problem is generic - file a bug on CUPS).


Regarding the fix, I'll be back in the office next week, so I will be working on the official solution since next week. In the meantime, manual download of plugin from the link https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/ and 'sh <plugin-file>' should work as a workaround.

Comment 7 Zdenek Dohnal 2022-10-12 16:02:16 UTC
Hi all,

there are scratch builds with new hp-plugin scripts:

F37 https://koji.fedoraproject.org/koji/taskinfo?taskID=92952568
F36 https://koji.fedoraproject.org/koji/taskinfo?taskID=92952571
F35 https://koji.fedoraproject.org/koji/taskinfo?taskID=92952573

It would be great if you tried the scratch builds and did tell me how it works for you.

Thank you in advance!

Comment 8 Otto J. Makela 2022-10-13 09:26:32 UTC
I've now installed the following packages on my f35 machines

hplip-3.22.6-1.fc35.test1.x86_64.rpm
hplip-common-3.22.6-1.fc35.test1.x86_64.rpm
hplip-gui-3.22.6-1.fc35.test1.x86_64.rpm
hplip-libs-3.22.6-1.fc35.test1.x86_64.rpm
libsane-hpaio-3.22.6-1.fc35.test1.x86_64.rpm

and they seem to get the job done, I've installed the driver for my HP scanner and it worked.

Comment 9 Zdenek Dohnal 2022-10-13 13:02:11 UTC
https://hplip.sourceforge.net/plugin.conf is back online, so the fix is not urgent right now - but I will add the new script as 'hp-plugin-download' in case the original hp-plugin won't work due some reasons.

Comment 10 Fedora Update System 2022-10-13 14:11:57 UTC
FEDORA-2022-a5cc963233 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a5cc963233

Comment 11 Fedora Update System 2022-10-13 14:12:01 UTC
FEDORA-2022-d54ebef99d has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-d54ebef99d

Comment 12 Fedora Update System 2022-10-13 14:40:08 UTC
FEDORA-2022-027effed0e has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-027effed0e

Comment 13 Fedora Update System 2022-10-14 10:30:47 UTC
FEDORA-2022-a5cc963233 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-a5cc963233`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-a5cc963233

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2022-10-14 14:37:52 UTC
FEDORA-2022-027effed0e has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-027effed0e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-027effed0e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2022-10-14 14:37:54 UTC
FEDORA-2022-d54ebef99d has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-d54ebef99d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-d54ebef99d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2022-10-19 06:39:14 UTC
FEDORA-2022-d54ebef99d has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2022-10-22 14:34:42 UTC
FEDORA-2022-027effed0e has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2022-11-10 22:16:47 UTC
FEDORA-2022-a5cc963233 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Red Hat Bugzilla 2023-09-19 04:27:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.