Bug 1194186 - Some PPDs use hpps but it is in a different package
Summary: Some PPDs use hpps but it is in a different package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 20
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1195323
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-19 09:57 UTC by lejeczek
Modified: 2015-03-21 04:53 UTC (History)
3 users (show)

Fixed In Version: hplip-3.15.2-6.fc22
Clone Of:
Environment:
Last Closed: 2015-03-21 04:53:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
lpinfo (7.01 KB, text/plain)
2015-02-19 11:36 UTC, lejeczek
no flags Details
snmp (280 bytes, text/plain)
2015-02-19 11:36 UTC, lejeczek
no flags Details
ppd file (165.34 KB, text/plain)
2015-02-23 16:51 UTC, lejeczek
no flags Details

Description lejeczek 2015-02-19 09:57:46 UTC
Description of problem:

it's is impossible to install this network printer, when it's via net, I have not tried USB.

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

hpijs-3.15.2-2.fc22.x86_64
hplip-libs-3.15.2-2.fc22.x86_64
hplip-common-3.15.2-2.fc22.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 lejeczek 2015-02-19 10:04:53 UTC
apologies, found it in the long list of HP printers.
But gnome installer even though drivers are installed insist, or suggest on installing/adding hpijs.
Eventually after printer was added I get:

Idle - Error importing HPLIP modules:17353 No module named base.g

Comment 2 Tim Waugh 2015-02-19 11:06:36 UTC
So, there are three possible bugs here:

* the printer driver wasn't automatically selected

This comes down to the details of how the printer advertises its presence on the network, and how you came to add the queue. Did you try the 'Printers' panel of Settings? i.e. how did you come to be using system-config-printer to start with?

Then, when using system-config-printer, how did you point it at the device? Did it appear in the list of network devices, or did you have to find it by name/IP address? If you entered something, which did you enter?

What does 'sudo lpinfo -l -v' say, and what does 'sudo /usr/lib/cups/backend/snmp $THE_HOST' say?

* driver installation dialog even though drivers already installed

This is tracked as part of bug #1159376.

* import error

I've not seen this one before. You'd installed HPLIP only from the RPM packages, right? Or had you tried installing it from some other source?

Comment 3 lejeczek 2015-02-19 11:35:39 UTC
that is one thing, I think I made it an enhancement request in the past - system-config-printer gives out a more information when finding/detecting printers on network, Printers from gnome panel is useless when you have more than one printer of the same model on your network, even though you configure the printer to advertise itself uniquely this info is not presented in "Printer" but is in system-config-printer.

In both "Printers" and system-config-printer my printer appear on the list.
In both installer wants to add driver even though it's installed already.
HP 3010p gets driver detected/chosen automatically, M551 does not.

All the drivers are from rpms.

outputs of commands attached.

Comment 4 lejeczek 2015-02-19 11:36:21 UTC
Created attachment 993563 [details]
lpinfo

Comment 5 lejeczek 2015-02-19 11:36:46 UTC
Created attachment 993564 [details]
snmp

Comment 6 lejeczek 2015-02-19 11:37:31 UTC
# lpstat.cups -t
scheduler is running
system default destination: Hewlett-Packard-HP-LaserJet-P3010-Series
device for Hewlett-Packard-HP-LaserJet-500-color-M551: dnssd://CCNR%20HP%20500%20color%20M551%20%5BBB9AAF%5D._ipp._tcp.local/?uuid=a74d2486-afe0-429d-b013-38b143b99e86
device for Hewlett-Packard-HP-LaserJet-P3010-Series: dnssd://CCNR%20HP%20P3010%20Series%20%5BFBF45A%5D._pdl-datastream._tcp.local/
Hewlett-Packard-HP-LaserJet-500-color-M551 accepting requests since Thu 19 Feb 2015 10:00:58 GMT
Hewlett-Packard-HP-LaserJet-P3010-Series accepting requests since Thu 19 Feb 2015 10:28:17 GMT
printer Hewlett-Packard-HP-LaserJet-500-color-M551 is idle.  enabled since Thu 19 Feb 2015 10:00:58 GMT
	Error importing HPLIP modules:17353 No module named base.g
printer Hewlett-Packard-HP-LaserJet-P3010-Series is idle.  enabled since Thu 19 Feb 2015 10:28:17 GMT

Comment 7 lejeczek 2015-02-19 11:43:08 UTC
restarting cups clears the error but asa I try to print:

Error importing HPLIP modules:26213 No module named base.g

Comment 8 Tim Waugh 2015-02-23 15:27:53 UTC
So this bug is left tracking the "No module named base.g" error.

What does 'rpm -V hplip hplip-common hpijs' say?

Comment 9 lejeczek 2015-02-23 16:08:33 UTC
seems like hplip wasn't even pulled in during printer installation. Some other hplib packages were, I mentioned above.
now with the package manually installed:

# lpstat.cups -t
scheduler is running
system default destination: Hewlett-Packard-HP-LaserJet-P3010-Series
device for Hewlett-Packard-HP-LaserJet-500-color-M551: dnssd://CCNR%20HP%20500%20color%20M551%20%5BBB9AAF%5D._ipp._tcp.local/?uuid=a74d2486-afe0-429d-b013-38b143b99e86
device for Hewlett-Packard-HP-LaserJet-P3010-Series: dnssd://CCNR%20HP%20P3010%20Series%20%5BFBF45A%5D._pdl-datastream._tcp.local/
Hewlett-Packard-HP-LaserJet-500-color-M551 accepting requests since Mon 23 Feb 2015 16:04:54 GMT
Hewlett-Packard-HP-LaserJet-P3010-Series accepting requests since Thu 19 Feb 2015 10:28:17 GMT
printer Hewlett-Packard-HP-LaserJet-500-color-M551 is idle.  enabled since Mon 23 Feb 2015 16:04:54 GMT
	Filter failed
printer Hewlett-Packard-HP-LaserJet-P3010-Series is idle.  enabled since Thu 19 Feb 2015 10:28:17 GMT
Hewlett-Packard-HP-LaserJet-500-color-M551-28 pe243             1024   Mon 23 Feb 2015 16:04:50 GMT

Comment 10 Tim Waugh 2015-02-23 16:40:27 UTC
OK, so something in that queue depends on the main hplip package, and for some reason the drivers-only package, hpijs, is not sufficient.

Could you please attach the PPD for that queue, from the /etc/cups/ppd/ directory?

Comment 11 lejeczek 2015-02-23 16:51:45 UTC
Created attachment 994450 [details]
ppd file

Comment 12 lejeczek 2015-02-23 16:52:30 UTC
do you notice, in my last comment still - Filter failed.

Comment 13 Tim Waugh 2015-02-23 17:59:08 UTC
OK, this is coming from the hpps filter.

I think the answer is to move PPD files depending on that filter into the main hplip package.

Comment 14 Tim Waugh 2015-02-23 18:01:40 UTC
Changed version to 20 as it affects F-20, F-21, F-22, and F-23.

Comment 15 Fedora Update System 2015-03-03 15:07:12 UTC
hplip-3.15.2-3.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/hplip-3.15.2-3.fc22

Comment 16 Fedora Update System 2015-03-04 21:07:02 UTC
Package hplip-3.15.2-3.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hplip-3.15.2-3.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-3066/hplip-3.15.2-3.fc22
then log in and leave karma (feedback).

Comment 17 Fedora Update System 2015-03-13 17:27:11 UTC
Package hplip-3.15.2-5.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hplip-3.15.2-5.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-3066/hplip-3.15.2-4.fc22
then log in and leave karma (feedback).

Comment 18 Fedora Update System 2015-03-18 10:23:07 UTC
Package hplip-3.15.2-6.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hplip-3.15.2-6.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-3066/hplip-3.15.2-6.fc22
then log in and leave karma (feedback).

Comment 19 Fedora Update System 2015-03-21 04:53:02 UTC
hplip-3.15.2-6.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


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