SOLVED - Problem with hplip

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
jbs1136
Posts: 75
Joined: 5. Apr 2010, 16:21
Location: Washington

SOLVED - Problem with hplip

Post by jbs1136 »

The printer that I have (HP f4440 all-in-one) requires a minimum of hplip-3.9.12 for the printer and scanner to work. Before installing Salix I was using Slackware. I took the hplip.SlackBuild troyane who had redone the original SlackBuild with help from AlienBob. I used it to build the newer version, installed the package and everything worked. I tried the same package with Salix and although the printer worked fine the scanner does not, nor do I get the HP Device Manager. I uninstalled and rebuilt the package, again using the SlackBuild from troyane. Still the same problem, no scanner or Device manager. I have tried scanimage -L as both user and root and no scanners were identified. When I go to /usr/bin and run hp-scan or hp-setup I get the same error:

Code: Select all

root|/usr/bin # hp-setup
Traceback (most recent call last):
  File "/usr/bin/hp-setup", line 45, in <module>
    from base import device, utils, tui, models, module
  File "/usr/share/hplip/base/device.py", line 37, in <module>
    import status
  File "/usr/share/hplip/base/status.py", line 40, in <module>
    import hpmudext
ImportError: No module named hpmudext
root|/usr/bin # hp-scan
Traceback (most recent call last):
  File "/usr/bin/hp-scan", line 42, in <module>
    from base import tui, device, module, utils
  File "/usr/share/hplip/base/device.py", line 37, in <module>
    import status
  File "/usr/share/hplip/base/status.py", line 40, in <module>
    import hpmudext
ImportError: No module named hpmudext
I get the same results as user or root. Any suggestions as to what might be wrong? Again, the printer installs through CUPS without a problem.

john
Last edited by jbs1136 on 9. Apr 2010, 15:10, edited 1 time in total.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Problem with hplip

Post by thenktor »

No idea, but as far as I remember building hplip needs Qt and PyQt installed. Do you have them?
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Problem with hplip

Post by gapan »

Yes, something probably went wrong during compiling. You can try JRD's packages for version 3.9.12: http://salix.enialis.net/~jrd/salix/hplip/
Image
Image
jbs1136
Posts: 75
Joined: 5. Apr 2010, 16:21
Location: Washington

Re: Problem with hplip

Post by jbs1136 »

Have both of those installed, thanks.

Downloaded jrd's package and his .dep and will give it a try later today when I get back home.

Thanks to you both,

john
User avatar
Duncan_Idaho
Posts: 216
Joined: 19. Sep 2009, 01:43
Location: Sietch Tabr, Planet Arrakis

Re: Problem with hplip

Post by Duncan_Idaho »

I also have an all-in-one printer and I have to tell you that the scanner works for the root user :?
in order to make it work for your normal user you have to add the lp group to your user
and yes, the toolkit thingie needs pyqt and qt to work :P
jbs1136
Posts: 75
Joined: 5. Apr 2010, 16:21
Location: Washington

Re: Problem with hplip

Post by jbs1136 »

Yes, when I first installed it on slackware that was my problem, I had forgotten to add myself to lp. :) Now that was one of the first things I checked.

And, it seems I spoke to soon. I had qt installed but not qt3 which is needed for the gui.

I will now mark this solved, thanks to all of you for your help.

john
Post Reply