hplip should depend on python-qt4 and python-qt4-dbus

Bug #402959 reported by Jorge Juan
This bug report is a duplicate of:  Bug #430539: hp-toolbox is missing PyQt. Edit Remove
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
hplip (Ubuntu)
Confirmed
Medium
Unassigned
Nominated for Karmic by soc

Bug Description

Binary package hint: hplip

hp-setup, hp-systray, etc. will not work out of the box because of lack of Qt4 support. It happens in Jaunty and is also reported for Karmic, as it was for older Ubuntu releases. Is there any reason not to make hplip depend on these? If so, a better solution should be found instead of leaving broken executables.

Nice job.

ProblemType: Bug
Architecture: amd64
CupsErrorLog:
 E [22/Jul/2009:10:34:54 +0200] Pause-Printer: Unauthorized
 E [22/Jul/2009:11:13:15 +0200] Resume-Printer: Unauthorized
DistroRelease: Ubuntu 9.04
Lpstat: dispositivo para HP-LaserJet-M1522nf-MFP: hp:/usb/HP_LaserJet_M1522nf_MFP?serial=00CNDT89TGHD
MachineType:

NonfreeKernelModules: nvidia
Package: hplip 3.9.2-3ubuntu4
Papersize: a4
PpdFiles: HP-LaserJet-M1522nf-MFP: HP LaserJet M1522nf MFP Foomatic/pxlmono (recommended)
ProcCmdLine: root=/dev/md1 ro quiet splash locale=es_ES
ProcEnviron:
 PATH=(custom, user)
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.28-13.45-generic
SourcePackage: hplip

Revision history for this message
Jorge Juan (jjchico) wrote :
Revision history for this message
Noam Yorav-Raphael (noamraph) wrote :

I confirm on Jaunty. I installed the printer, and it worked fine. I tried to print a fax from the computer, and the job stayed in the queue indefinitely, giving me no clue as to what the problem might be.

Afterwards, I run hp-fax from a terminal. At some point it got stuck, and printed the following exception to the terminal:

Traceback (most recent call last):
  File "/usr/bin/hp-toolbox", line 246, in <module>
    from ui4.devmgr5 import DevMgr5
  File "/usr/share/hplip/ui4/devmgr5.py", line 45, in <module>
    from dbus.mainloop.qt import DBusQtMainLoop
ImportError: No module named qt

I installed python-qt4-dbus, and now everything works fine.

tags: added: packaging
Revision history for this message
Ronald (ronald-rcpaul) wrote :

I also confirm this for Jaunty. I was not able to add a new (IPP) printer. Ubuntu kept looking for drivers for a long time and the solution was to install python-qt4. I did not need to install python-qt4-dbus.

Revision history for this message
soc (simon-ochsenreither) wrote :

Confirmed on Karmic.

Is this package installed by default from the CD?
That will get us into big trouble, required Libs are roughly 7MB big.

It needs python-qt4 (and hp-tools additionally python-qt4-dbus afair).

Revision history for this message
soc (simon-ochsenreither) wrote :

Ouch!
I just checked the Manifest file, hplip is on the Live CD!

Can someone bump the importance?

Changed in hplip (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

All HPLIP utilities which need Qt are now moved into the hplip-gui package. See bug 430539.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.