Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 233747 - starting hp-toolbox gives a traceback
Summary: starting hp-toolbox gives a traceback
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 6
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-03-24 16:24 UTC by Bernard Johnson
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-03-29 18:52:15 UTC

Attachments (Terms of Use)

Description Bernard Johnson 2007-03-24 16:24:05 UTC
Description of problem:
starting hp-toolbox gives a traceback

Version-Release number of selected component (if applicable):

How reproducible:
Always (but suspect it's related to my low toner condition)

Steps to Reproduce:
1. run hp-toolbox from shell
Actual results:
$ hp-toolbox

HP Linux Imaging and Printing System (ver. 1.6.12)
HP Device Manager ver. 6.3

Copyright (c) 2003-6 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/share/hplip/ui/", line 700, in InitialUpdate
  File "/usr/share/hplip/ui/", line 732, in RescanDevices
  File "/usr/share/hplip/ui/", line 1066, in DeviceListRefresh
  File "/usr/share/hplip/ui/", line 827, in UpdateDevice
  File "/usr/share/hplip/ui/", line 1207, in UpdateHistory
    self.cur_device.hist = self.cur_device.queryHistory()
  File "/usr/share/hplip/base/", line 1962, in queryHistory
    yr, mt, dy, hr, mi, sec, wd, yd, dst, job, user, ec = x.strip().split(',', 14)
ValueError: too many values to unpack

printing x before the traceback gives:
"2007,3,24,9,57,49,5,83,1,0,bjohnson,1804,Low toner.,"

I'll post this to the hplip-devel mailing list since it appears to be an
upstream issue.

Comment 1 Bernard Johnson 2007-03-29 18:52:15 UTC
HPLIP developers described this as a "possible file conflict" and suggested that
I uninstall and reinstall the hplip rpms.

That worked, and the error no longer happens.

How can that happen with a RPM?  I dunno.  Unfortunately, I can't debug it
further, so I'm going to close it as NOTABUG unless I see it again.

Comment 2 Bernard Johnson 2007-04-17 04:02:25 UTC
Thinking back on this, I'm pretty sure it was caused by bug #236445.

Note You need to log in before you can comment on or make changes to this bug.