Description of problem:
When hp-check is run, output says 'CUPS incompatible or not running', even if CUPS is running. This is caused by using 'cups-config --version' command in check.py script. This cups-config command is in cups-devel package, which isn't installed with main package.
This hp-check message is misleading and it should be corrected.
Version-Release number of selected component (if applicable):
Always, when cups-devel isn't installed
Steps to Reproduce:
1. install hplip-gui
2. $ hp-check
Message about 'CUPS incompatible or not running'
If CUPS is installed, it should show version and OK
Created attachment 1283383 [details]
Created attachment 1364337 [details]
Proposed patch with lpstat -r
Same problem exists on Fedora 28/29. In addition hp-check also reports:
error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python3-notify2 needs to be installed
This package doesn't seem to exist.
HP Linux Imaging and Printing System (ver. 3.18.12)
Dependency/Version Check Utility ver. 15.1
| External Dependencies |
error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
| INSTALLED CUPS PRINTER QUEUES |
Device URI: hp:/net/HP_LaserJet_Pro_M148f-M149f?ip=10.10.11.155
PPD Description: HP LaserJet Pro M148f-M149f Postscript (recommended)
Printer status: printer HP_LaserJet_Pro_M148f-M149f is idle. enabled since Thu 04 Apr 2019 11:32:08 AM EDT
error: Unable to communicate with device (code=12): hp:/net/HP_LaserJet_Pro_M148f-M149f?ip=10.10.11.155
error: unable to open channel
error: Communication status: Failed
Of course, cups is enabled and is running.
● cups.service - CUPS Scheduler
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2019-04-11 12:40:10 EDT; 18min ago
Main PID: 19030 (cupsd)
Status: "Scheduler is running..."
Tasks: 1 (limit: 4915)
└─19030 /usr/sbin/cupsd -l
Thank you for taking the time to report this issue to us. We appreciate the feedback and use reports such as this one to guide our efforts at improving our products. That being said, this bug tracking system is not a mechanism for requesting support, and we are not able to guarantee the timeliness or suitability of a resolution.
If this issue is critical or in any way time sensitive, please raise a ticket through the regular Red Hat support channels to ensure it receives the proper attention and prioritization to assure a timely resolution.
For information on how to contact the Red Hat production support team, please visit:
The issue is not critical to hplip functionality - those dependency checks are mostly for build dependencies (even if --runtime option is used).