hplip toolbox issues

Hi,

since one of the last updates, I can’t open my hp-toolbox.
If I reinstall hplip it works one times and then (without a reboot)

~ hp-toolbox

HP Linux Imaging and Printing System (ver. 3.12.4)
HP Device Manager ver. 15.0

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

Traceback (most recent call last):
File “/usr/bin/hp-toolbox”, line 257, in <module>
toolbox = DevMgr5(version, device_uri, None)
File “/usr/share/hplip/ui4/devmgr5.py”, line 204, in init
if not utils.Is_HPLIP_older_version( installed_version, self.user_settings.latest_available_version):
File “/usr/share/hplip/base/utils.py”, line 1795, in Is_HPLIP_older_version
if(int(installed_array[cnt]) < int(available_array[cnt])):
ValueError: invalid literal for int() with base 10: “10 Public Release</a><br />’)”
~

OS is

Linux home 3.4.6-2.10-desktop #1 SMP PREEMPT Thu Jul 26 09:36:26 UTC 2012 (641c197) x86_64 x86_64 x86_64 GNU/Linux

This may or may not work for you but did for me. Make it so that you can see hidden files like .kde4 .mozilla or its ilk. In your case what you’re looking for is the .hplip folder. It’s a hidden folder, just rename it old.hplip close dolphin or nautilus whichever you use. Then try out your hp-toolbox.

It’s enough to open ~/.hplip/hplip.conf and delete upgrade section.

Thanks it solved my issue “~/.hplip/hplip.conf and delete upgrade section.” my upgrade section is now:

[upgrade]
latest_available_version=3.12.10
notify_upgrade=false
last_upgraded_time=1349888027.2359
pending_upgrade_time=0

I had the same problem. :stuck_out_tongue:
Worked like a charm …
Thank you … :slight_smile:

same thing happened to me.
I guess there are problems with the HPLIP in the Opensuse update repo.

I switched to the printing repo and HPLIP 3.12.10a and all is working well again.

Until I read this message thread on Saturday (10-13-12), I did not know I had this problem. I found I could not open the HP-TOOLBOX from the System Tray and I was unable to edit the config file as suggested. The edit would result in no changes and just removing it would allow the app to open once, but fail again after hplip had recreated the config file again. By adding in the repository (as suggested by farcusnz) “http://download.opensuse.org/repositories/Printing/openSUSE_12.2/” for openSUSE 12.2 printing, excluding the quotes (goto YaST / Software / Software Repository / Add / URL) and then starting up YaST / Software / Software Management search on hplip and electing to update the three applications found, now at version 3.12.10a, the problem with the HP Toolbox has been fixed. Thanks to everyone that has brought this to my attention. The problem existed on all installs of openSUSE I have, since I use the hplip application for my two networked HP printers.

Thank You,

I found a bug post on the issue here: Access Denied you may want to add your comments.

here’s the correct url for that bug report

https://bugzilla.novell.com/show_bug.cgi?id=784173

Thank you for seeing the error. I must have had one too many windows open at the time it would seem.

Thank You,

Will hplip version 3.12.10a be added to the standard repository? :\

This would be (and was in the bug report) my suggestion, but since it is seen as an upstream problem, I can’t say. Since the fixed version already exists with hplip 3.12.10a in our very own repositories, the fix should be easy. But really, I can not claim to understand how such an issue is fixed in out setup.

Thank You,

Hey I just checked my own HP Toolbox & it didn’t work. Then I used the repo now it works! Thanks for this info.
Now for those that need it the repo to go to is here:
Index of /repositories/Printing/openSUSE_12.2
follow James’s instructions in Post 7.

Another thanks for the tip.

Thanks for the tips. Changing the hplip.conf file to the suggestion above in post #4 worked for me:

[upgrade]
latest_available_version=3.12.10
notify_upgrade=false
last_upgraded_time=1349888027.2359
pending_upgrade_time=0

I also updated the repo but is seems like the change in the conf file fixed it immediately.

-r

Adding the suggested repository and updating HPLIP also solved a networked HP Laserjet printer problem. It worked in openSUSE 11.2 but only a local printer would work after a 12.2 upgrade. Updating HPLIP and rerunning the add-printer wizard fixed the networked printer as well as the HP Toolbox.

Thank you VERY much.

Thanks from me too. Changing the hplip.conf worked great.
Ciao!

Angelo