FS#39554 - [hplip] missing python2-sip dependency

Attached to Project: Arch Linux
Opened by James (thx1138) - Thursday, 20 March 2014, 04:15 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 20 April 2014, 16:52 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Tom Gundersen (tomegun)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Package: hplip
Version: 3.14.3-1

With the default install of hplip, running "sudo hp-setup", which effectively is the default "hp-setup --gui", will result in the message:

"error: Unable to load Qt4 support. Is it installed?"

where instead, a window should have popped-up, titled "HP Device Manager - Setup".

This is a "show-stopper" bug when you don't know to instead run "sudo hp-setup --interactive".

The actual error message is uselessly misleading, again, when you don't already know what the problem is. That error message is just irresponsible on the part of HP - but that's another issue. Also, the "net" device discovery algorithm is pretty lame, and the device will have to be searched explicitly, with "hp-setup -i <device IP addr>", as shown in "hp-setup -h" - but that is another issue too.

"strace hp-setup" shows hp-setup is looking for some version of "sip.so" or "sip.py" or such, and, most often, finding nothing. One package that provides "sip.so", as "/usr/lib/python2.7/site-packages/sip.so", is python2-sip.

I suggest that "python2-sip" is a "missing" dependency for the Arch "hplip" package, and should be added as a required dependency.

On a tangent, for anyone playing with the Trinity release candidate, the package "tde-sip4-tqt R14preRC1-3" has a header file conflict at "/usr/include/python2.7/sip.h" with the newer header file in the "python2-sip" package. For now, if anyone else runs into this, I suggest simply removing the tde header file and then installing python2-sip normally.

Thanks

James
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 20 April 2014, 16:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in trunk. modified the optional dependency comment.
Comment by Doug Newgard (Scimmia) - Thursday, 20 March 2014, 04:21 GMT
python2-pyqt4 is already an optional dep "for running hp-toolbox". Maybe that description needs expanded?

Loading...