"hp-setup -i" should be more user-friendly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Confirmed
|
Undecided
|
Unassigned | ||
hplip (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Simple version: hp-setup(1) emits error messages relating to Qt4. Synaptic shows I have no Qt4 packages installed. Shouldn't the "hplip" package bring it in if it needs it?
Details:
Starting a fresh install of Xubuntu 13.04 64-bit, and configuring my printer.
https:/
531 gksudo hp-setup
532 gksudo --qt3 hp-setup
533 gksudo -i hp-setup
534 gksudo hp-setup --qt3
535 man gksudo
536 gksudo 'hp-setup --qt3'
But the error message from the last of these suggested a way to do the setup directly:
537 hp-setup -i 10.0.0.104
This worked sort of -- at least my printer seems to work now. The above are annoyances, but I'm not sure how to file bugs against them.
The bug is related to the messages that came during the successful run:
warning: Qt/PyQt 4 initialization failed.
error: hp-testpage -u/--gui requires Qt4 GUI support. Entering interactive mode.
and
warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: hplip 3.13.3-1ubuntu0.1
ProcVersionSign
Uname: Linux 3.8.0-31-generic x86_64
NonfreeKernelMo
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
CupsErrorLog:
E [14/Oct/
W [14/Oct/
W [14/Oct/
Date: Mon Oct 14 11:18:57 2013
InstallationDate: Installed on 2013-10-09 (5 days ago)
InstallationMedia: Xubuntu 13.04 "Raring Ringtail" - Release amd64 (20130423.1)
Lpstat: device for HP_CP2025dn: hp:/net/
MachineType: MSI MS-7693
MarkForUpload: True
Papersize: letter
PpdFiles: HP_CP2025dn: HP Color LaserJet CP2020 Series with Duplexer Postscript (recommended)
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: hplip
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/28/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V10.3
dmi.board.
dmi.board.name: 970A-G43 (MS-7693)
dmi.board.vendor: MSI
dmi.board.version: 3.0
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: MS-7693
dmi.product.
dmi.sys.vendor: MSI
summary: |
- hp-setup components need Qt4, but don't pull it in + "hp-setup -i" not working |
summary: |
- "hp-setup -i" not working + "hp-setup -i" needs better documentation |
hp-setup should automatically switch into text mode ("interactive mode") when Qt4 is not installed. The same is valid for most of the other utilities of hplip. The utilities which require Qt4, like hp-toolbox, are in the hplip-gui package and this package actually pulls in Qt4.
Please tell if hp-setup works for you when using it in text mode. If not, please tell what is going wrong so that we can inform the upstream maintainers and/or move hp-setup into hplip-gui.