You are not logged in.

#1 2009-05-13 23:58:34

uid0
Member
Registered: 2009-05-13
Posts: 3

Question about hplip and qt4 support

Hello all,

So I'm having some troubles with several hplip utilities, more precisely with hp-setup and hp-toolbox

With hp-setup I'm getting errors saying that it doesn't found qt4:

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

But qt and pyqt  are both installed:

pacman -S qt pyqt
warning: qt-4.5.1-2 is up to date -- reinstalling
warning: pyqt-4.4.4-3 is up to date -- reinstalling

With hp-toolbox the error seems to indicate that there's something missing somewhere, don't really know if its python related or qt related or what, anyway, the error is:

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 34, in <module>
    from base import device, utils, pml, maint, models, pkit
  File "/usr/share/hplip/base/pkit.py", line 42, in <module>
    import gobject
ImportError: No module named gobject

hplip version I'm using is 3.9.4b so my question is there is a problem with the package (installed trough pacman)  or something.

I like to point out that hp-setup works, I can use it in interactive mode and my printer will be recognized and so on, but what I'm unable to use is the GUI

I've searched the forums but most reports where related to cpusext or the AUR package, so, if anyone knows something or had experienced the same error let me know wink


Regards

Offline

#2 2009-07-18 09:34:02

emg81
Member
From: Russia
Registered: 2009-07-18
Posts: 6

Re: Question about hplip and qt4 support

Hi.
I had same problem 2 hours ago and it's solved now.
Sorry, my english is not very good but I will try to explain.

I did some simple things:
--->1. print in terminal hp-check
hp-check will warn if there are errors or warnings.
so if system needs something you will have to install it
Install all components you need (I installed xsane, cupsddk, pil and maybe something else)

--->2. install pygobject. I think this is a necessary dependency.
after that - pacman -Syu to synchronize database and update system. Maybe you don't have to do this but I did

--->3. reboot the system

hp-setup works fine, my printer HP1005MFP works
hope it would be useful and you'll find solution smile

Last edited by emg81 (2009-07-18 09:41:22)

Offline

Board footer

Powered by FluxBB