Opened 7 years ago

Last modified 7 years ago

#147 new defect

HPLIP-GUI won't run

Reported by: David McKenna Owned by:
Priority: minor Milestone:
Component: cups Version:
Severity: low Keywords:
Cc:

Description

New version of HPLIP allows HPLIP-GUI to be installed, but trying to run it produces errors. According to the HP website you just need to type 'hp-toolbox' at a command prompt. Of course that is Linux, so from an OS/2 prompt I did this:

[C:\]sh
# hp-toolbox
warning: python-dbus not installed.
warning: hp-toolbox should not be run as root/superuser.

HP Linux Imaging and Printing System (ver. 3.16.11)
HP Device Manager ver. 15.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.

warning: No display found.
error: hp-toolbox requires GUI support. Exiting.
#

for some reason, it does not find a 'display'. Among other things, I also tried:

[C:\]sh
# hp-firmware
warning: python-dbus not installed.
warning: No display found.
error: hp-firmware -u/--gui requires Qt4/Qt5 GUI support. Entering interactive mode.
Traceback (most recent call last):

File "C:/usr/share/hplip/firmware.py", line 102, in <module>

mode = INTERACTIVE_MODE4

NameError?: name 'INTERACTIVE_MODE4' is not defined
#

It looks like it doesn't recognize that QT4 is installed. It also acts like python-dbus should be installed.

Change History (2)

comment:1 Changed 7 years ago by Silvan Scherrer

Component: *nonecups
Priority: majorminor
Severity: mediumlow

the dbus warning can be worked around by adding a -x switch. Why it doesn't find PyQt? I have no idea atm. I need to test this once locally. But as it's not needed for cups at all, it might take some time until I have time to try.

comment:2 Changed 7 years ago by Silvan Scherrer

this workaround only worked for Qt3. for Qt4 it needs dbus. and as we don't have that yet, the gui stays nonfunctional. I will not workaround it, as I feel it's not worth.
Patches are welcome of course.

Note: See TracTickets for help on using tickets.