You are not logged in.

#1 2008-02-06 22:06:51

mudra
Member
Registered: 2008-01-05
Posts: 13

re: hp-toolbox and PyQt

I have tried to use hp-toolbox with my Photosmart and it told me that I should install pyqt. I, therefore, did the following:

pacman -S pyqt and everything seems to be OK

I have checked that everything is installed.

[root@archie james]# pacman -Qs pyqt
local/pyqt 4.3.3-1
    PyQt is a set of Python bindings for the Qt toolkit.
[root@archie james]# pacman -Qs hplip
local/hplip 2.7.12-1
    Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some
    LaserJet.

pacman -Qs Qt
local/dbus-qt3 0.62-3
    QT3 bindings for DBUS
local/poppler-qt 0.6.3-1
    Poppler Qt bindings
local/poppler-qt3 0.6.3-1
    Poppler Qt3 bindings
local/pyqt 4.3.3-1
    PyQt is a set of Python bindings for the Qt toolkit.
local/qca 2.0.0.svn744387-1.1
    Qt Cryptographic Architecture
local/qca-qt3 1.0-1
    QT Cryptography Architecture
local/qca-tls 1.0-5
    plugin to provide SSL/TLS capability to programs that utilize the Qt
    Cryptographic Architecture
local/qscintilla 2.1-3
    QScintilla2 is a port to Qt4 of Neil Hodgson's Scintilla C++ editor class.
local/qscintilla-qt3 1.7.1-2
    QScintilla is a port to Qt3 of Neil Hodgson's Scintilla C++ editor class.
local/qt 4.3.3-4
    The QT gui toolkit.
local/qt3 3.3.8-6.1
    The QT gui toolkit.

When I try and run hp-toolbox I get the following:

[root@archie james]# hp-toolbox

HP Linux Imaging and Printing System (ver. 2.7.12)
HP Device Manager ver. 11.0

Copyright (c) 2001-7 Hewlett-Packard 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.

error: PyQt not installed. GUI not available. Exiting.
warning: Qt/PyQt initialization failed.
error: hp-toolbox requires GUI support. Exiting.

I have tried removing and re-installing and this does not seem to help.

Is this a bug ? Am I doing something silly.

TIA,

Mudra

Offline

#2 2008-02-06 22:19:59

azleifel
Member
From: St Evenage, UK
Registered: 2007-10-28
Posts: 475

Re: re: hp-toolbox and PyQt

I went through this.  The pyqt package is now for qt4 but hp-toolbox 2.7.12 needs the version for qt3.  Install pyqt3 and all should be well again.

Offline

#3 2008-02-07 16:57:21

mudra
Member
Registered: 2008-01-05
Posts: 13

Re: re: hp-toolbox and PyQt

Thankyou so much. I will try this when I get home from work.

big_smile

Offline

#4 2008-02-08 01:45:54

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: re: hp-toolbox and PyQt

You can also manage printers from the CUPS web interface.
Point your browser to localhost:631. Printers can be added and removed from there.

Offline

#5 2008-02-08 11:11:03

weaner
Member
Registered: 2006-04-03
Posts: 7

Re: re: hp-toolbox and PyQt

azleifel wrote:

I went through this.  The pyqt package is now for qt4 but hp-toolbox 2.7.12 needs the version for qt3.  Install pyqt3 and all should be well again.

Thanks, I was struggling with this too.

Offline

#6 2008-02-09 19:25:07

ravster
Member
From: Queen's U, Kingston, Canada
Registered: 2004-05-02
Posts: 285
Website

Re: re: hp-toolbox and PyQt

Installing pyqt3 works perfectly for me too.
Thanks azleifel.

Offline

#7 2008-02-10 22:08:04

jolinfire
Member
From: France
Registered: 2007-12-21
Posts: 176

Re: re: hp-toolbox and PyQt

Yes, indeed pytq3. And HPlip had been upgraded to 2.8.2-1 in testing.

Always with qt3 toolkit support.

Offline

#8 2008-06-03 00:33:28

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,167
Website

Re: re: hp-toolbox and PyQt

Weird. I am having this same issue now.

misfit ~  $  hp-toolbox

HP Linux Imaging and Printing System (ver. 2.8.2)
HP Device Manager ver. 11.0

Copyright (c) 2001-7 Hewlett-Packard 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.

error: PyQt not installed. GUI not available. Exiting.
warning: Qt/PyQt initialization failed.
error: hp-toolbox requires GUI support. Exiting.
misfit ~  $  pacman -Q pyqt3
pyqt3 3.17.4-1

I tried reinstalling hplip, pyqt3 and pyqt...no dice.

Offline

#9 2008-06-13 03:17:45

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,167
Website

Re: re: hp-toolbox and PyQt

Ok, fixed it. I think I broke it by merging /etc/ld.so.conf.pacnew
/opt/qt/lib was missing from it, so I just added it back.
Typical PEBKAC...

Offline

Board footer

Powered by FluxBB