Color calibration does not work on HP Photosmart D7260

Bug #315756 reported by Daniel Ellis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Triaged
Undecided
Unassigned

Bug Description

When using the HP device manager to perform color calibration the page prints the letters of the squares but no blocks of color are printed. A photo of the printout is attached.

The color calibration fails for this printer with hplip 2.8.7-0ubuntu6 (Ubuntu 8.10) and also 2.8.12-1ubuntu1 that is currently in the jaunty repository. As 2.8.12 is the latest version on http://hplipopensource.com, I expect this will need to be raised upstream.

Revision history for this message
Daniel Ellis (danellisuk) wrote :
Revision history for this message
Daniel Ellis (danellisuk) wrote :

hp-check.log attached.

Changed in hplip:
assignee: nobody → kalosaurusrex
status: New → Triaged
Revision history for this message
Daniel Ellis (danellisuk) wrote :

I have tested on Jaunty Beta 1 which uses HPLIP 3.9.2 and the issue is still the same. I looked at raising the issue at hplipopensource.com but the bug reporting link brings me back here to launchpad.

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.

Revision history for this message
Daniel Ellis (danellisuk) wrote :

Yes, I do get the index out of range error:

hp-toolbox(UI)[6243]: debug: colorCalType4Phase2(<base.device.Device object at 0x9cb7cec>,[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 1365, in colorCalType4Phase2
    tmp2 = colorcal.TYPE_4_LC_TABLE[sel3][sel4]
IndexError: tuple index out of range

Revision history for this message
Stan Dolson (stan-dolson) wrote :

This should be fixed in 3.9.4.

Revision history for this message
Daniel Ellis (danellisuk) wrote :
Download full text (3.3 KiB)

I have tried this with 3.9.8 which is the version currently included with Karmin Alpha 5. The color calibration still fails to print any blocks of color. However the error that was previously observed no longer appears in the console:

*** Selecting Color calibration ***

hp-toolbox(UI)[3166]: debug: Loading user settings...
hp-toolbox(UI)[3166]: debug: FAB command: /usr/bin/hp-fab
hp-toolbox(UI)[3166]: debug: Scan command: /usr/bin/xsane -V %SANE_URI%
hp-toolbox(UI)[3166]: debug: Auto refresh: False
hp-toolbox(UI)[3166]: debug: Auto refresh rate: 30
hp-toolbox(UI)[3166]: debug: Auto refresh type: 1
hp-toolbox(UI)[3166]: debug: Systray visible: 0
hp-toolbox(UI)[3166]: debug: Systray messages: 0
hp-toolbox(UI)[3166]: debug: Last used device URI: hp:/net/Photosmart_D7200_series?zc=HP5BF26B
hp-toolbox(UI)[3166]: debug: Last used printer:
hp-toolbox(UI)[3166]: debug: Working directory: .
hp-toolbox(UI)[3166]: debug: Sending event 9021 to com.hplip.StatusService (via dbus)...
hp-toolbox(UI)[3166]: debug: showStartPage()
hp-toolbox(UI)[3166]: debug: hp:/net/Photosmart_D7200_series?zc=HP5BF26B: back_end:hp is_hp:True bus:net model:Photosmart_D7200_series serial: dev_file: host:HP5BF26B zc:HP5BF26B port:1
hp-toolbox(UI)[3166]: debug: endStartPage()
hp-toolbox(UI)[3166]: debug: hp:/net/Photosmart_D7200_series?zc=HP5BF26B: back_end:hp is_hp:True bus:net model:Photosmart_D7200_series serial: dev_file: host:HP5BF26B zc:HP5BF26B port:1
hp-toolbox(UI)[3166]: debug: color-cal-type=4
hp-toolbox(UI)[3166]: debug: Device URI: hp:/net/Photosmart_D7200_series?zc=HP5BF26B
hp-toolbox(UI)[3166]: debug: Printer: None
hp-toolbox(UI)[3166]: debug: Connecting to com.hplip.StatusService (try #1)...
hp-toolbox(UI)[3166]: debug: hp:/net/Photosmart_D7200_series?zc=HP5BF26B: back_end:hp is_hp:True bus:net model:Photosmart_D7200_series serial: dev_file: host:HP5BF26B zc:HP5BF26B port:1
hp-toolbox(UI)[3166]: debug: URI: backend=hp, is_hp=True, bus=net, model=Photosmart_D7200_series, serial=, dev=, host=HP5BF26B, port=1
hp-toolbox(UI)[3166]: debug: Model/UI model: Photosmart_D7200_series/HP Photosmart d7200 Series
hp-toolbox(UI)[3166]: debug: hp:/net/Photosmart_D7200_series?zc=HP5BF26B: back_end:hp is_hp:True bus:net model:Photosmart_D7200_series serial: dev_file: host:HP5BF26B zc:HP5BF26B port:1
hp-toolbox(UI)[3166]: debug: Re-reading CUPS printer queue information.
hp-toolbox(UI)[3166]: debug: showLoadPaperPage()

*** Selecting Next when it asks you to load paper ***

hp-toolbox(UI)[3175]: debug: endLoadPaperPage()
hp-toolbox(UI)[3175]: debug: colorCalType4Phase1(<base.device.Device object at 0x27e2d10>)
hp-toolbox(UI)[3175]: debug: Opening device: hp:/net/Photosmart_D7200_series?zc=HP5BF26B (not for printing)
hp-toolbox(UI)[3175]: debug: I/O mode=3
hp-toolbox(UI)[3175]: debug: device-id=1
hp-toolbox(UI)[3175]: debug: Opened device: hp (backend=hp:/net/Photosmart_D7200_series?zc=HP5BF26B, is_hp=True, bus=net, model=Photosmart_D7200_series, dev=, serial=, host=HP5BF26B, port=1)
hp-toolbox(UI)[3175]: debug: Opening HP-MESSAGE channel...
hp-toolbox(UI)[3175]: debug: channel-id=1
hp-toolbox(UI)[3175]: debug: PML/SNMP SET 1.1.5.2 (result code = 0x0) to: '\x04N'
hp-toolbox(UI...

Read more...

Revision history for this message
Daniel Ellis (danellisuk) wrote :

Still the same issue on Ubuntu 11.04 which uses HPLIP 3.11.1

Revision history for this message
Michael Luthardt (michalu) wrote :

Still the same issue on Ubuntu 12.10 which uses HPLIP 3.13.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.