hp-toolbox version check broken

Bug #1068867 reported by Henk Jan on 2012-10-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sanjay Kumar

Bug Description

Running the hp-toolbox of hplib 3.12.9 result in the following Fatal error.

\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 1927, in Is_HPLIP_older_version
    if(int(installed_array[cnt]) < int(available_array[cnt])):
ValueError: invalid literal for int() with base 10: "10a Public Release</a><br />')"

It seems that the version check can not handle the 'a' in the latest release.

Sanjay Kumar (sanjay-kumar14) wrote :


Thanks for reporting the issue in HPLIP. The fix for this issue is provided in the latest release of HPLIP. Please Download and install the latest HPLIP release from:
http://hplipopensource.com/hplip-web/install/install/index.html (automatic) or
http://hplipopensource.com/hplip-web/install/manual/index.html (manual, if automatic does not work)

=> run "hp-check --fix" command in the terminal if manual installation is done

=> Reconfigure print queue with the commands in the terminal mentioned below.
       => system-config-printer (remove all print queues)
      => su -c "hp-plugin" (This will download right plugin)
       => hp-setup (It should not be run in a root mode. This command is adding print queue, make sure you select ppd name having "-ps" or "hpcups" substring)
=>Try printing now.

Changed in hplip:
status: New → Fix Released
assignee: nobody → Sanjay Kumar (sanjay-kumar14)
goutam kodu (goutam-hplip) wrote :

Hi Henk,

Please download the latest hplip-3.12.10a.run file from http://hplipopensource.com/hplip-web/gethplip.html and install it by running command "sh hplip-3.12.10a.run" in the terminal.

This issue has been resolved in hplip 3.12.10a version


Henk Jan (hjpriester) wrote :

I have rebuild the slackware package from the hplip-3.12.10a sources, installed the package
 and it works again.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers