Comment 4 for bug 315756

Revision history for this message
Alban Browaeys (prahal) wrote :

What happens if you start hp-toolbox from the command line with debug enabled ?
hp-toolbox -ldebug

I also don't have the color boxes though reading part of the code it seems we are supposed to be asked for the color to print, only this part of the code fails .
Then next step I have the calibrate button on which I cannot click. In the console I have :
hp-toolbox(UI)[20489]: debug: color-cal-type=4
hp-toolbox(UI)[20489]: debug: Device URI: hp:/net/Photosmart_C8100_series?ip=192.168.0.20
hp-toolbox(UI)[20489]: debug: Printer: None
hp-toolbox(UI)[20489]: debug: Connecting to com.hplip.StatusService (try #1)...
hp-toolbox(UI)[20489]: debug: URI: backend=hp, is_hp=True, bus=net, model=Photosmart_C8100_series, serial=, dev=, host=192.168.0.20, port=1
hp-toolbox(UI)[20489]: debug: Model/UI model: Photosmart_C8100_series/HP Photosmart c8100 Series
hp-toolbox(UI)[20489]: debug: showLoadPaperPage()
hp-toolbox(UI)[20489]: debug: endLoadPaperPage()
hp-toolbox(UI)[20489]: debug: colorCalType4Phase1(<base.device.Device object at 0x85f794c>)
hp-toolbox(UI)[20489]: debug: Opening device: hp:/net/Photosmart_C8100_series?ip=192.168.0.20 (not for printing)
hp-toolbox(UI)[20489]: debug: I/O mode=3
hp-toolbox(UI)[20489]: debug: device-id=1
hp-toolbox(UI)[20489]: debug: Opened device: hp (backend=hp:/net/Photosmart_C8100_series?ip=192.168.0.20, is_hp=True, bus=net, model=Photosmart_C8100_series, dev=, serial=, host=192.168.0.20, port=1)
hp-toolbox(UI)[20489]: debug: Opening HP-MESSAGE channel...
hp-toolbox(UI)[20489]: debug: channel-id=1
hp-toolbox(UI)[20489]: debug: PML/SNMP SET 1.1.5.2 (result code = 0x0) to: '\x04N'
hp-toolbox(UI)[20489]: debug: Closing HP-MESSAGE channel...
hp-toolbox(UI)[20489]: debug: setColorCalButton(0)
hp-toolbox(UI)[20489]: debug: showConneryPage()
hp-toolbox(UI)[20489]: debug: endConneryPage()
hp-toolbox(UI)[20489]: debug: colorCalType4Phase2(<base.device.Device object at 0x85f794c>,[0, 1, 15, 1])

Traceback (most recent call last):
  File "/usr/share/hplip/ui4/colorcaldialog.py", line 216, in NextButton_clicked
    self.nextSequence()
  File "/usr/share/hplip/ui4/colorcaldialog.py", line 246, in nextSequence
    seq(*t)
  File "/usr/share/hplip/base/maint.py", line 1366, in colorCalType4Phase2
    tmp2 = colorcal.TYPE_4_LC_TABLE[sel3][sel4]
IndexError: tuple index out of range

Adding debug info to shows sel3 is 15:
hp-toolbox(UI)[20489]: debug: sel1=0 sel2=1 sel3=15 self4=1
which is out of bound for the array it reads. Seems to be a bug due to the fact the letter for the color was not given and a wrong number ensue.