Bug 233747

Summary: starting hp-toolbox gives a traceback
Product: [Fedora] Fedora Reporter: Bernard Johnson <bjohnson>
Component: hplipAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-29 18:52:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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):
hplip-1.6.12-1.fc6

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

Steps to Reproduce:
1. run hp-toolbox from shell
2.
3.
  
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/devmgr4.py", line 700, in InitialUpdate
    self.RescanDevices()
  File "/usr/share/hplip/ui/devmgr4.py", line 732, in RescanDevices
    self.DeviceListRefresh()
  File "/usr/share/hplip/ui/devmgr4.py", line 1066, in DeviceListRefresh
    self.UpdateDevice()
  File "/usr/share/hplip/ui/devmgr4.py", line 827, in UpdateDevice
    self.UpdateHistory()
  File "/usr/share/hplip/ui/devmgr4.py", line 1207, in UpdateHistory
    self.cur_device.hist = self.cur_device.queryHistory()
  File "/usr/share/hplip/base/device.py", 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.