Bug 1361968 - cups complains of missing hp plugin although plugin is installed
Summary: cups complains of missing hp plugin although plugin is installed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-01 06:02 UTC by udayb
Modified: 2016-08-29 08:06 UTC (History)
4 users (show)

Fixed In Version: hplip-3.16.7-4.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-29 08:06:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1612132 0 None None None 2016-08-11 08:49:32 UTC

Description udayb 2016-08-01 06:02:07 UTC
Description of problem:

Trying to print gives the error message that the HP proprietary plug-in is missing; however, running hp-plugin indicates that the plug-in is already installed (reinstalling doesn't solve the problem either).

Set job-printer-state-message to "Start rendering...", current level=INFO
Aug 01 11:22:23 ukr.csa.iisc.ernet.in cupsd[823]: Processing page 1...
Aug 01 11:22:23 ukr.csa.iisc.ernet.in cupsd[823]: Set job-printer-state-message to "Processing page 1...", current level=INFO
Aug 01 11:22:23 ukr.csa.iisc.ernet.in cupsd[823]: Error: This module is designed to work with HP Printers only
Aug 01 11:22:23 ukr.csa.iisc.ernet.in hpcups[4722]: prnt/hpcups/HPCupsFilter.cpp 487: m_Job initialization failed with error = 48
Aug 01 11:22:23 ukr.csa.iisc.ernet.in cupsd[823]: STATE: +hplip.plugin-error
Aug 01 11:22:23 ukr.csa.iisc.ernet.in cupsd[823]: prnt/hpcups/HPCupsFilter.cpp 487: m_Job initialization failed with error = 48
Aug 01 11:22:23 ukr.csa.iisc.ernet.in cupsd[823]: PID 4722 (/usr/lib/cups/filter/hpcups) stopped with status 1.
Aug 01 11:22:23 ukr.csa.iisc.ernet.in cupsd[823]: Hint: Try setting the LogLevel to "debug" to find out more.

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

hplip-3.16.7-1.fc24.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Print
2.
3.

Actual results:

Set job-printer-state-message to "Start rendering...", current level=INFO
Aug 01 11:22:23 cupsd[823]: Processing page 1...
Aug 01 11:22:23  cupsd[823]: Set job-printer-state-message to "Processing page 1...", current level=INFO
Aug 01 11:22:23  cupsd[823]: Error: This module is designed to work with HP Printers only
Aug 01 11:22:23  hpcups[4722]: prnt/hpcups/HPCupsFilter.cpp 487: m_Job initialization failed with error = 48
Aug 01 11:22:23 cupsd[823]: STATE: +hplip.plugin-error
Aug 01 11:22:23 cupsd[823]: prnt/hpcups/HPCupsFilter.cpp 487: m_Job initialization failed with error = 48
Aug 01 11:22:23  cupsd[823]: PID 4722 (/usr/lib/cups/filter/hpcups) stopped with status 1.
Aug 01 11:22:23  cupsd[823]: Hint: Try setting the LogLevel to "debug" to find out more.

Job stopped due to filter errors; please consult the error_log file for details. Aug 01 11:22:27 cupsd[823]: Connecting to printer.
Aug 01 11:22:27  cupsd[823]: STATE: -connecting-to-device
Aug 01 11:22:27  cupsd[823]: Connected to printer.
Aug 01 11:22:27  cupsd[823]: Connected to 10.192.36.80:9100...
Aug 01 11:22:27  cupsd[823]: backendRunLoop(print_fd=0, device_fd=8, snmp_fd=7, addr=0x55a0f12230c8, use_bc=1, side_cb=0x55a0f09860f0)
Aug 01 11:22:27  cupsd[823]: STATE: +cups-waiting-for-job-completed
Aug 01 11:22:27  cupsd[823]: Waiting for printer to finish.
Aug 01 11:22:29  cupsd[823]: PID 4723 (/usr/lib/cups/backend/socket) exited with no errors.
Aug 01 11:22:29  cupsd[823]: Job stopped due to filter errors; please consult the error_log file for details.
Aug 01 11:22:30  systemd[1]: Started CUPS Scheduler.
Aug 01 11:22:30  cupsd[823]: Unloading...
Aug 01 11:22:30  systemd[1]: Started CUPS Scheduler.



Expected results:


Additional info:

Also, I'm not sure what 'error_log' means there since cups is by default configured to log errors to syslog and the above *is* from syslog.

Comment 1 udayb 2016-08-01 06:17:45 UTC
Here are the detailed errors that I was able to obtain after changing the error log settting to /var/log/cups/error_log:

E [01/Aug/2016:11:43:08 +0530] [Job 847] Job stopped due to filter errors; please consult the error_log file for details.
D [01/Aug/2016:11:43:08 +0530] [Job 847] The following messages were recorded from 11:43:02 AM to 11:43:08 AM
D [01/Aug/2016:11:43:08 +0530] [Job 847] Adding start banner page "none".
D [01/Aug/2016:11:43:08 +0530] [Job 847] Adding end banner page "none".
D [01/Aug/2016:11:43:08 +0530] [Job 847] File of type application/vnd.cups-pdf-banner queued by "uday".
D [01/Aug/2016:11:43:08 +0530] [Job 847] hold_until=0
D [01/Aug/2016:11:43:08 +0530] [Job 847] Queued on "HP-LaserJet-Professional-p1606dn" by "uday".
D [01/Aug/2016:11:43:08 +0530] [Job 847] time-at-processing=1470031982
D [01/Aug/2016:11:43:08 +0530] [Job 847] 4 filters for job:
D [01/Aug/2016:11:43:08 +0530] [Job 847] bannertopdf (application/vnd.cups-pdf-banner to application/pdf, cost 32)
D [01/Aug/2016:11:43:08 +0530] [Job 847] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [01/Aug/2016:11:43:08 +0530] [Job 847] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [01/Aug/2016:11:43:08 +0530] [Job 847] hpcups (application/vnd.cups-raster to printer/HP-LaserJet-Professional-p1606dn, cost 0)
D [01/Aug/2016:11:43:08 +0530] [Job 847] job-sheets=none,none
D [01/Aug/2016:11:43:08 +0530] [Job 847] argv[0]="HP-LaserJet-Professional-p1606dn"
D [01/Aug/2016:11:43:08 +0530] [Job 847] argv[1]="847"
D [01/Aug/2016:11:43:08 +0530] [Job 847] argv[2]="uday"
D [01/Aug/2016:11:43:08 +0530] [Job 847] argv[3]="Test Page"
D [01/Aug/2016:11:43:08 +0530] [Job 847] argv[4]="1"
D [01/Aug/2016:11:43:08 +0530] [Job 847] argv[5]="job-uuid=urn:uuid:7133b9da-4adb-32c4-4a89-b889ac62f8ec job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1470031982 time-at-processing=1470031982"
D [01/Aug/2016:11:43:08 +0530] [Job 847] argv[6]="/var/spool/cups/d00847-001"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[2]="CUPS_DOCROOT=/usr/share/cups/www"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[8]="HOME=/var/spool/cups/tmp"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[9]="PATH=/usr/lib/cups/filter:/usr/lib64/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[10]="SERVER_ADMIN=root.iisc.ernet.in"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[11]="SOFTWARE=CUPS/2.1.4"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[13]="USER=root"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[14]="CUPS_MAX_MESSAGE=2047"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[17]="IPP_PORT=631"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[18]="CHARSET=utf-8"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[19]="LANG=en_US.UTF-8"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[20]="PPD=/etc/cups/ppd/HP-LaserJet-Professional-p1606dn.ppd"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[21]="RIP_MAX_CACHE=128m"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf-banner"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[23]="DEVICE_URI=socket://10.192.36.80:9100"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[24]="PRINTER_INFO=HP LaserJet Professional p1606dn on network"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[25]="PRINTER_LOCATION=10.192.36.80"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[26]="PRINTER=HP-LaserJet-Professional-p1606dn"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[27]="PRINTER_STATE_REASONS=hplip.plugin-error"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[28]="CUPS_FILETYPE=document"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[30]="AUTH_I****"
D [01/Aug/2016:11:43:08 +0530] [Job 847] Started filter /usr/lib/cups/filter/bannertopdf (PID 6108)
D [01/Aug/2016:11:43:08 +0530] [Job 847] Started filter /usr/lib/cups/filter/pdftopdf (PID 6109)
D [01/Aug/2016:11:43:08 +0530] [Job 847] Started filter /usr/lib/cups/filter/gstoraster (PID 6110)
D [01/Aug/2016:11:43:08 +0530] [Job 847] Started filter /usr/lib/cups/filter/hpcups (PID 6111)
D [01/Aug/2016:11:43:08 +0530] [Job 847] Started backend /usr/lib/cups/backend/socket (PID 6112)
D [01/Aug/2016:11:43:08 +0530] [Job 847] STATE: +connecting-to-device
D [01/Aug/2016:11:43:08 +0530] [Job 847] Looking up \"10.192.36.80\"...
D [01/Aug/2016:11:43:08 +0530] [Job 847] pdftopdf: Last filter determined by the PPD: hpcups; FINAL_CONTENT_TYPE: application/vnd.cups-raster => pdftopdf will not log pages in page_log.
D [01/Aug/2016:11:43:08 +0530] [Job 847] STATE: -marker-supply-low-warning
D [01/Aug/2016:11:43:08 +0530] [Job 847] PDF template file doesn\'t have form. It\'s okay.
D [01/Aug/2016:11:43:08 +0530] [Job 847] PID 6108 (/usr/lib/cups/filter/bannertopdf) exited with no errors.
D [01/Aug/2016:11:43:08 +0530] [Job 847] PID 6109 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [01/Aug/2016:11:43:08 +0530] [Job 847] Color Manager: Calibration Mode/Off
D [01/Aug/2016:11:43:08 +0530] [Job 847] Calling FindDeviceById(cups-HP-LaserJet-Professional-p1606dn)
D [01/Aug/2016:11:43:08 +0530] [Job 847] Found device /org/freedesktop/ColorManager/devices/cups_HP_LaserJet_Professional_p1606dn
D [01/Aug/2016:11:43:08 +0530] [Job 847] Calling org.freedesktop.ColorManager.Device.Get(ProfilingInhibitors)
D [01/Aug/2016:11:43:08 +0530] [Job 847] Calling FindDeviceById(cups-HP-LaserJet-Professional-p1606dn)
D [01/Aug/2016:11:43:08 +0530] [Job 847] Found device /org/freedesktop/ColorManager/devices/cups_HP_LaserJet_Professional_p1606dn
D [01/Aug/2016:11:43:08 +0530] [Job 847] Calling GetProfileForQualifiers(Gray.Plain....)
D [01/Aug/2016:11:43:08 +0530] [Job 847] Found profile /org/freedesktop/ColorManager/profiles/HP_LaserJet_Professional_p1606dn_Gray__
D [01/Aug/2016:11:43:08 +0530] [Job 847] Calling org.freedesktop.ColorManager.Profile.Get(Filename)
D [01/Aug/2016:11:43:08 +0530] [Job 847] Use profile filename: \'\'
D [01/Aug/2016:11:43:08 +0530] [Job 847] Color Manager: ICC Profile: 
D [01/Aug/2016:11:43:08 +0530] [Job 847] Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -sMediaType=Plain -sOutputType=0 -r600x600 -dMediaPosition=7 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -dcupsRowCount=1 -dcupsRowStep=2 -dcupsInteger0=2 -scupsPageSizeName=Letter -I/usr/share/cups/fonts -c \'<</.HWMargins[12.000000 12.000000 12.000000 12.000000] /Margins[0 0]>>setpagedevice\' -f -_
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[0]=\"CUPS_CACHEDIR=/var/cache/cups\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[1]=\"CUPS_DATADIR=/usr/share/cups\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[2]=\"CUPS_DOCROOT=/usr/share/cups/www\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[3]=\"CUPS_FONTPATH=/usr/share/cups/fonts\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[4]=\"CUPS_REQUESTROOT=/var/spool/cups\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[5]=\"CUPS_SERVERBIN=/usr/lib/cups\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[6]=\"CUPS_SERVERROOT=/etc/cups\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[7]=\"CUPS_STATEDIR=/var/run/cups\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[8]=\"HOME=/var/spool/cups/tmp\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[9]=\"PATH=/usr/lib/cups/filter:/usr/lib64/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[10]=\"SERVER_ADMIN=root.iisc.ernet.in\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[11]=\"SOFTWARE=CUPS/2.1.4\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[12]=\"TMPDIR=/var/spool/cups/tmp\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[13]=\"USER=root\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[14]=\"CUPS_MAX_MESSAGE=2047\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[15]=\"CUPS_SERVER=/var/run/cups/cups.sock\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[16]=\"CUPS_ENCRYPTION=IfRequested\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[17]=\"IPP_PORT=631\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[18]=\"CHARSET=utf-8\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[19]=\"LANG=en_US.UTF-8\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[20]=\"PPD=/etc/cups/ppd/HP-LaserJet-Professional-p1606dn.ppd\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[21]=\"RIP_MAX_CACHE=128m\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[22]=\"CONTENT_TYPE=application/vnd.cups-pdf-banner\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[23]=\"DEVICE_URI=socket://10.192.36.80:9100\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[24]=\"PRINTER_INFO=HP LaserJet Professional p1606dn on network\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[25]=\"PRINTER_LOCATION=10.192.36.80\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[26]=\"PRINTER=HP-LaserJet-Professional-p1606dn\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[27]=\"PRINTER_STATE_REASONS=hplip.plugin-error\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[28]=\"CUPS_FILETYPE=document\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[29]=\"FINAL_CONTENT_TYPE=application/vnd.cups-raster\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] envp[30]=\"AUTH_INFO_REQUIRED=none\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] Start rendering...
D [01/Aug/2016:11:43:08 +0530] [Job 847] Set job-printer-state-message to "Start rendering...", current level=INFO
D [01/Aug/2016:11:43:08 +0530] [Job 847] Processing page 1...
D [01/Aug/2016:11:43:08 +0530] [Job 847] Set job-printer-state-message to "Processing page 1...", current level=INFO
D [01/Aug/2016:11:43:08 +0530] [Job 847] Error: This module is designed to work with HP Printers only
D [01/Aug/2016:11:43:08 +0530] [Job 847] STATE: +hplip.plugin-error
D [01/Aug/2016:11:43:08 +0530] [Job 847] prnt/hpcups/HPCupsFilter.cpp 487: m_Job initialization failed with error = 48
D [01/Aug/2016:11:43:08 +0530] [Job 847] PID 6111 (/usr/lib/cups/filter/hpcups) stopped with status 1.
D [01/Aug/2016:11:43:08 +0530] [Job 847] Hint: Try setting the LogLevel to "debug" to find out more.
D [01/Aug/2016:11:43:08 +0530] [Job 847] hrDeviceDesc=\"Unknown\"
D [01/Aug/2016:11:43:08 +0530] [Job 847] Processing page 2...
D [01/Aug/2016:11:43:08 +0530] [Job 847] Rendering completed
D [01/Aug/2016:11:43:08 +0530] [Job 847] PID 6110 (/usr/lib/cups/filter/gstoraster) exited with no errors.
D [01/Aug/2016:11:43:08 +0530] [Job 847] prtGeneralCurrentLocalization type is 0, expected 2!
D [01/Aug/2016:11:43:08 +0530] [Job 847] backendWaitLoop(snmp_fd=7, addr=0x55c84eb320c8, side_cb=0x55c84cba30f0)
D [01/Aug/2016:11:43:08 +0530] [Job 847] Connecting to 10.192.36.80:9100
D [01/Aug/2016:11:43:08 +0530] [Job 847] Connecting to printer.
D [01/Aug/2016:11:43:08 +0530] [Job 847] STATE: -connecting-to-device
D [01/Aug/2016:11:43:08 +0530] [Job 847] Connected to printer.
D [01/Aug/2016:11:43:08 +0530] [Job 847] Connected to 10.192.36.80:9100...
D [01/Aug/2016:11:43:08 +0530] [Job 847] backendRunLoop(print_fd=0, device_fd=8, snmp_fd=7, addr=0x55c84eb320c8, use_bc=1, side_cb=0x55c84cba30f0)
D [01/Aug/2016:11:43:08 +0530] [Job 847] STATE: +cups-waiting-for-job-completed
D [01/Aug/2016:11:43:08 +0530] [Job 847] Waiting for printer to finish.
D [01/Aug/2016:11:43:08 +0530] [Job 847] PID 6112 (/usr/lib/cups/backend/socket) exited with no errors.
D [01/Aug/2016:11:43:08 +0530] [Job 847] End of messages
D [01/Aug/2016:11:43:08 +0530] [Job 847] printer-state=3(idle)
D [01/Aug/2016:11:43:08 +0530] [Job 847] printer-state-message="Waiting for printer to finish."
D [01/Aug/2016:11:43:08 +0530] [Job 847] printer-state-reasons=hplip.plugin-error

Comment 2 udayb 2016-08-01 06:19:36 UTC
The log finally points to this:

D [01/Aug/2016:11:43:08 +0530] [Job 847] Set job-printer-state-message to "Processing page 1...", current level=INFO
D [01/Aug/2016:11:43:08 +0530] [Job 847] Error: This module is designed to work with HP Printers only
D [01/Aug/2016:11:43:08 +0530] [Job 847] STATE: +hplip.plugin-error
D [01/Aug/2016:11:43:08 +0530] [Job 847] prnt/hpcups/HPCupsFilter.cpp 487: m_Job initialization failed with error = 48
D [01/Aug/2016:11:43:08 +0530] [Job 847] PID 6111 (/usr/lib/cups/filter/hpcups) stopped with status 1.


The printer I'm trying to print to *is* a HP printer (P1606dn) - not sure why it complains.

Comment 3 Zdenek Dohnal 2016-08-01 13:12:37 UTC
It seems similar like bug https://bugzilla.redhat.com/show_bug.cgi?id=1160527 , looks like problem with proprietary plugin.

Comment 4 Zdenek Dohnal 2016-08-03 10:10:49 UTC
Nineth reinstalled hplip, plugin problem is now gone. Closing as NOTABUG

Comment 5 udayb 2016-08-03 11:28:56 UTC
I didn't reinstall from the repos - but after downloading from the hplipopensource website. I believe the issue with the one from Fedora repos should persist?

Comment 6 Jiri Popelka 2016-08-03 11:55:31 UTC
(In reply to Nineth from comment #2)
> D [01/Aug/2016:11:43:08 +0530] [Job 847] STATE: +hplip.plugin-error
> D [01/Aug/2016:11:43:08 +0530] [Job 847] prnt/hpcups/HPCupsFilter.cpp 487:
> m_Job initialization failed with error = 48

From code:
PLUGIN_LIBRARY_MISSING = 0x30, //!< a required plugin (dynamic) library is missing

You might try to reinstall the plugin with 'hp-plugin'. There's not much else we can do - there have always been some mysterious problems with the proprietary plugin.

> D [01/Aug/2016:11:43:08 +0530] [Job 847] Error: This module is designed to
> work with HP Printers only
>
> The printer I'm trying to print to *is* a HP printer (P1606dn) - not sure
> why it complains.

Yes, it's always been complaining like that.

Comment 7 Zdenek Dohnal 2016-08-08 15:41:49 UTC
Can you please try reinstall from repos and run commands:

$ hp-setup -r (remove all print queues)
$ su -c "hp-plugin"
$ hp-setup

Comment 8 udayb 2016-08-10 10:38:55 UTC
Re-installed from the repos. Running hp-setup -r gives me:

HP Linux Imaging and Printing System (ver. 3.16.7)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 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.

Traceback (most recent call last):
  File "/usr/bin/hp-setup", line 313, in <module>
    ui = import_module(ui_package + ".setupdialog")
  File "/usr/lib64/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 944, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 956, in _find_and_load_unlocked
ImportError: No module named 'ui5'

Comment 9 udayb 2016-08-10 10:41:43 UTC
dnf provides reveals that ui5 is part of hplip-gui. Why wasn't it installed as a dependency?

Comment 10 udayb 2016-08-10 10:59:40 UTC
After installing hp-lip, and setting up the printer again (as indicated in comment 7), everything works fine (I'm able to print and no plug-in error).

Comment 11 Zdenek Dohnal 2016-08-10 11:58:45 UTC
To comment 9: 
GUI of hplip isn't required for minimal working hplip package, only when using GUI. So it isn't installed with hplip, and you have to install it yourself.

To comment 10:
I am glad hplip works for you now. Would you mind if I closed this bug?

Comment 12 Jiri Popelka 2016-08-10 12:33:56 UTC
(In reply to Nineth from comment #8)
> Traceback (most recent call last):
>   File "/usr/bin/hp-setup", line 313, in <module>
>     ui = import_module(ui_package + ".setupdialog")
>   File "/usr/lib64/python3.5/importlib/__init__.py", line 126, in
> import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> ImportError: No module named 'ui5'

I see only
error: No module named 'PyQt5'
when I run hp-setup without having hplip-gui installed.

There's also "hp-setup -i" which runs it in text mode, but I think we could improve the error message to advice to install hplip-gui.

Comment 13 udayb 2016-08-10 14:06:40 UTC
Sure, please close this bug; thanks. I'm not sure what had gone wrong with the upgrade process that landed me into this issue.

I do think the right error message should be provided when hplip-gui isn't installed given that it by default goes for the GUI mode.

Comment 14 Zdenek Dohnal 2016-08-10 14:42:23 UTC
Older versions of hplip did that, I am creating patch for that.

Comment 15 Fedora Update System 2016-08-10 16:58:19 UTC
hplip-3.16.7-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-08450494f5

Comment 16 Fedora Update System 2016-08-10 18:54:22 UTC
hplip-3.16.7-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-08450494f5

Comment 17 Jiri Popelka 2016-08-11 09:00:42 UTC
I'm still seeing only the
error: No module named 'PyQt5'

The patch in
https://bugs.launchpad.net/hplip/+bug/1612132
works for me.
You can change the "Is it installed?" to something like "Is hplip-gui installed?"

Comment 18 Fedora Update System 2016-08-12 09:47:54 UTC
hplip-3.16.7-4.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-df61d38543

Comment 19 Jiri Popelka 2016-08-12 10:40:59 UTC
hplip-3.16.7-4 works OK, I'm seeing:

error: No module named 'PyQt5'
error: Unable to load Qt support. Is hplip-gui package installed?

thanks

Comment 20 Fedora Update System 2016-08-12 14:26:55 UTC
hplip-3.16.7-4.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-df61d38543

Comment 21 Fedora Update System 2016-08-29 08:06:02 UTC
hplip-3.16.7-4.fc25 has been pushed to the Fedora 25 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.