[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#487529: hplip: hp-toolbox gets traceback when checking supplies



Package: hplip
Version: 2.8.5-1
Severity: normal


When checking "supplies" in hp-toolbox I received the following 
traceback:

$ hp-toolbox -g

HP Linux Imaging and Printing System (ver. 2.8.5)
HP Device Manager ver. 14.0

Copyright (c) 2001-8 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.

hp-toolbox(init)[16256]: debug: Locking file: 
/home/amarsh04/.hplip/hp-toolbox.lock
hp-toolbox(init)[16256]: debug: Locking: 
/home/amarsh04/.hplip/hp-toolbox.lock
hp-toolbox(init)[16256]: debug: Parent PID=16256
hp-toolbox(dbus)[16275]: debug: Entering main loop...
hp-toolbox(UI)[16256]: debug: Using system locale: en_AU.UTF-8
hp-toolbox(UI)[16256]: debug: Trying to load .qm file for en_AU.utf8 
locale.
hp-toolbox(UI)[16256]: debug: Name of .qm file: hplip_en_AU.qm
hp-toolbox(UI)[16256]: debug: Using default 'C' locale
hp-toolbox(UI)[16256]: debug: Initializing toolbox UI...
hp-toolbox(UI)[16256]: debug: HPLIP Version: 2.8.5
hp-toolbox(UI)[16256]: debug: Connecting to com.hplip.StatusService (try 
#1)...
hp-toolbox(UI)[16256]: debug: dbus enabled
hp-toolbox(UI)[16256]: debug: Setting up read_pipe
hp-toolbox(UI)[16256]: debug: Loading pixmap 'prog.png' from 
/usr/share/hplip/data/images/48x48
hp-toolbox(UI)[16256]: debug: Loading user settings...
hp-toolbox(UI)[16256]: debug: Print command: hp-print -p%PRINTER%
hp-toolbox(UI)[16256]: debug: PCard command: hp-unload -d %DEVICE_URI%
hp-toolbox(UI)[16256]: debug: Fax command: hp-sendfax -d %FAX_URI%
hp-toolbox(UI)[16256]: debug: FAB command: hp-fab
hp-toolbox(UI)[16256]: debug: Copy command: hp-makecopies -d 
%DEVICE_URI%
hp-toolbox(UI)[16256]: debug: Scan command:
hp-toolbox(UI)[16256]: debug: Auto refresh: False
hp-toolbox(UI)[16256]: debug: Auto refresh rate: 30
hp-toolbox(UI)[16256]: debug: Auto refresh type: 0
hp-toolbox(UI)[16256]: debug: FAB command: hp-fab
hp-toolbox(UI)[16256]: debug: Loading pixmap 'warning.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'error.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'ok.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'inkdrop.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'toner.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'busy.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'paper.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'refresh.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'refresh1.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'fax2.png' from 
/usr/share/hplip/data/images/other
hp-toolbox(UI)[16256]: debug: Loading pixmap 'idle.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'scan.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'print.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'fax.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'pcard.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'makecopies.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'help.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'list_add.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'list_remove.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'settings.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'battery.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'cancel.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Loading pixmap 'info.png' from 
/usr/share/hplip/data/images/16x16
hp-toolbox(UI)[16256]: debug: Starting GUI loop...
hp-toolbox(UI)[16256]: debug: Rescanning device list...
hp-toolbox(UI)[16256]: debug: Device URI %s is invalid/unknown
hp-toolbox(UI)[16256]: debug: Exception: 4 (Unknown/invalid device-uri 
field)
hp-toolbox(UI)[16256]: debug: Device URI %s is invalid/unknown
hp-toolbox(UI)[16256]: debug: Exception: 4 (Unknown/invalid device-uri 
field)
hp-toolbox(UI)[16256]: debug: adding: 
hp:/usb/Officejet_Pro_K5300?serial=MY742380S7
hp-toolbox(UI)[16256]: debug: Device URI: 
hp:/usb/Officejet_Pro_K5300?serial=MY742380S7
hp-toolbox(UI)[16256]: debug: Printer: None
hp-toolbox(UI)[16256]: debug: URI: backend=hp, is_hp=True, bus=usb, 
model=Officejet_Pro_K5300, serial=MY742380S7, dev=, host=, port=1
hp-toolbox(UI)[16256]: debug: Model/UI model: Officejet_Pro_K5300/HP 
Officejet Pro k5300
hp-toolbox(UI)[16256]: debug: Cache miss: officejet_pro_k5300
hp-toolbox(UI)[16256]: debug: Reading file: 
/usr/share/hplip/data/models/models.dat
hp-toolbox(UI)[16256]: debug: Searching for section 
[officejet_pro_k5300] in file /usr/share/hplip/data/models/models.dat
hp-toolbox(UI)[16256]: debug: Found section [officejet_pro_k5300] in 
file /usr/share/hplip/data/models/models.dat
hp-toolbox(UI)[16256]: debug: Attempting to load plugin: 
plugins.Officejet_Pro_K5300
hp-toolbox(UI)[16256]: debug: No plugin found.
hp-toolbox(UI)[16256]: debug: Loading pixmap 'officejet_k550.png' from 
/usr/share/hplip/data/images/devices
hp-toolbox(UI)[16256]: debug: 
UpdateDevice(hp:/usb/Officejet_Pro_K5300?serial=MY742380S7)
hp-toolbox(UI)[16256]: debug: Loading pixmap 'panel_lcd.png' from 
/usr/share/hplip/data/images/other
hp-toolbox(UI)[16256]: debug: Loading pixmap 'panel_lcd.png' from 
/usr/share/hplip/data/images/other
hp-toolbox(UI)[16256]: debug: Loading pixmap 'panel_lcd.png' from 
/usr/share/hplip/data/images/other
hp-toolbox(UI)[16256]: debug: 
UpdateDevice(hp:/usb/Officejet_Pro_K5300?serial=MY742380S7)
hp-toolbox(UI)[16256]: debug: Update thread start: 
hp:/usb/Officejet_Pro_K5300?serial=MY742380S7
hp-toolbox(UI)[16256]: debug: Update: ******************** 
hp:/usb/Officejet_Pro_K5300?serial=MY742380S7 ********************
hp-toolbox(UI)[16256]: debug: Opening device: 
hp:/usb/Officejet_Pro_K5300?serial=MY742380S7 (not for printing)
hp-toolbox(UI)[16256]: debug: I/O mode=3
hp-toolbox(UI)[16256]: debug: device-id=1
hp-toolbox(UI)[16256]: debug: Opened device: hp 
(backend=hp:/usb/Officejet_Pro_K5300?serial=MY742380S7, is_hp=True, 
bus=usb, model=Officejet_Pro_K5300, dev=, serial=MY742380S7, host=, 
port=1)
hp-toolbox(UI)[16256]: debug: Type 1/2 (S: or VSTATUS:) status
hp-toolbox(UI)[16256]: debug: Num pens=6
hp-toolbox(UI)[16256]: debug: {'photo-tray': 0L, 'in-tray2': True, 
'top-door': 1L, 'in-tray1': True, 'agents': [{'index': 0, 'kind': 1L, 
'level': 0, 'ack': True, 'hp-ink': False, 'dvc': 0L, 'level-trigger': 0, 
'virgin': True, 'health': 0, 'known': False, 'type': 14, 'id': 23}, 
{'index': 1, 'kind': 1L, 'level': 0, 'ack': True, 'hp-ink': False, 
'dvc': 0L, 'level-trigger': 0, 'virgin': True, 'health': 0, 'known': 
False, 'type': 15, 'id': 23}, {'index': 2, 'kind': 2L, 'level': 68, 
'ack': True, 'hp-ink': False, 'dvc': 10700L, 'level-trigger': 0, 
'virgin': False, 'health': 0, 'known': False, 'type': 1, 'id': 25}, 
{'index': 3, 'kind': 2L, 'level': 74, 'ack': True, 'hp-ink': False, 
'dvc': 6150L, 'level-trigger': 0, 'virgin': False, 'health': 0, 'known': 
False, 'type': 4, 'id': 25}, {'index': 4, 'kind': 2L, 'level': 76, 
'ack': True, 'hp-ink': False, 'dvc': 6500L, 'level-trigger': 0, 
'virgin': False, 'health': 0, 'known': False, 'type': 5, 'id': 25}, 
{'index': 5, 'kind': 2L, 'level': 70, 'ack': True, 'hp-ink': False, 
'dvc': 9500L, 'level-trigger': 0, 'virgin': False, 'health': 0, 'known': 
False, 'type': 6, 'id': 25}], 'duplexer': 0L, 'supply-door': 0L, 
'revision': 3, 'media-path': 3L, 'status-code': 1000}
hp-toolbox(dbus)[16275]: debug: Received event notifier: 9003
hp-toolbox(dbus)[16275]: debug: Sending event to toolbox UI...
hp-toolbox(UI)[16256]: debug: Panel check...
hp-toolbox(UI)[16256]: debug: Opening HP-MESSAGE channel...
hp-toolbox(UI)[16256]: debug: Status event: 
hp:/usb/Officejet_Pro_K5300?serial=MY742380S7 (9003)
hp-toolbox(UI)[16256]: debug: History update: 
hp:/usb/Officejet_Pro_K5300?serial=MY742380S7
hp-toolbox(UI)[16256]: debug: 
UpdateDevice(hp:/usb/Officejet_Pro_K5300?serial=MY742380S7)
hp-toolbox(UI)[16256]: debug: Loading pixmap 'panel_lcd.png' from 
/usr/share/hplip/data/images/other
hp-toolbox(UI)[16256]: debug: channel-id=1
hp-toolbox(UI)[16256]: debug: PML/SNMP GET 1.1.2.20.2.1.1 failed (result 
code = 0x83)
hp-toolbox(UI)[16256]: debug: PML/SNMP GET 2.16.5.1.2.1.1 failed (result 
code = 0x83)
hp-toolbox(UI)[16256]: debug: Closing HP-MESSAGE channel...
hp-toolbox(UI)[16256]: debug: Looking for kind=1, type=14...
hp-toolbox(UI)[16256]: debug: found: r0-kind1-type14
hp-toolbox(UI)[16256]: debug: health=0, level=0, level_trigger=0, 
status_code=1000
hp-toolbox(UI)[16256]: debug: Looking for kind=1, type=15...
hp-toolbox(UI)[16256]: debug: found: r0-kind1-type15
hp-toolbox(UI)[16256]: debug: health=0, level=0, level_trigger=0, 
status_code=1000
hp-toolbox(UI)[16256]: debug: Looking for kind=2, type=1...
hp-toolbox(UI)[16256]: debug: found: r0-kind2-type1
hp-toolbox(UI)[16256]: debug: health=0, level=68, level_trigger=0, 
status_code=1000
hp-toolbox(UI)[16256]: debug: Looking for kind=2, type=6...
hp-toolbox(UI)[16256]: debug: found: r0-kind2-type6
hp-toolbox(UI)[16256]: debug: health=0, level=70, level_trigger=0, 
status_code=1000
hp-toolbox(UI)[16256]: debug: Looking for kind=2, type=5...
hp-toolbox(UI)[16256]: debug: found: r0-kind2-type5
hp-toolbox(UI)[16256]: debug: health=0, level=76, level_trigger=0, 
status_code=1000
hp-toolbox(UI)[16256]: debug: Looking for kind=2, type=4...
hp-toolbox(UI)[16256]: debug: found: r0-kind2-type4
hp-toolbox(UI)[16256]: debug: health=0, level=74, level_trigger=0, 
status_code=1000
hp-toolbox(UI)[16256]: debug: {'agent5-known': False, 'agent5-hp-ink': 
False, 'agent1-hp-ink': False, 'agent3-hp-ink': False, 'agent2-hp-ink': 
False, 'is-hp': True, 'top-door': 1L, 'agent4-kind': 2L, 'agent6-level': 
74, 'agent3-sku': '88 (C9396 ) / 88L (C9385)', 'agent6-type': 4, 
'agent5-dvc': 0, 'device-uri': 
'hp:/usb/Officejet_Pro_K5300?serial=MY742380S7', 'photo-tray': 0L, 
'panel-line1': '', 'panel-line2': '', 'agent5-id': 0, 'agent2-sku': '88 
(C9382)', 'agent4-id': 0, 'agent4-health': 0, 'agent2-desc': 'Cyan and 
magenta print head', 'agent2-dvc': 0, 'agent1-health': 0, 'agent3-type': 
1, 'agent6-known': False, 'panel': 0, 'agent5-sku': '88 (C9387) / 88L 
(C9392)', 'agent3-desc': 'Black ink cartridge', 'dev-file': '', 
'status-desc': 'Idle.', 'agent3-id': 0, 'agent5-health-desc': 'Good/OK', 
'agent6-desc': 'Cyan ink cartridge', 'agent5-health': 0, 'agent3-known': 
False, 'agent6-dvc': 0, 'agent2-id': 0, 'agent2-kind': 1L, 
'agent4-known': False, 'agent2-type': 15, 'agent2-level': 0, 
'agent5-level': 76, 'agent3-kind': 2L, 'in-tray2': True, 
'agent1-virgin': False, 'agent1-level-trigger': 0, 'agent5-desc': 
'Magenta ink cartridge', 'agent6-kind': 2L, 'agent5-level-trigger': 0, 
'agent6-health': 0, 'agent1-type': 14, 'in-tray1': True, 
'agent4-virgin': False, 'agent1-health-desc': 'Good/OK', 'cups-uri': 
'hp:/usb/Officejet_Pro_K5300?serial=MY742380S7', 'duplexer': 0L, 
'agent3-ack': False, 'agent2-ack': False, 'media-path': 3L, 
'agent6-level-trigger': 0, 'agent1-kind': 1L, 'deviceid': 
'MFG:HP;MDL:Officejet Pro 
K5300;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;1284.4DL:4d,4e,1;CLS:PRINTER;DES:C8194A;SN:MY742380S7;S:038000ec840010210068eb800008fb8000041c8004444c8004a45c8004c46c80046;Z:0102,05000009000009029cc10180610196410251c1,0600,07000000000000000000000000,0B000000000000000097b097f5000097b097f5000097b297f5000097b297f5,0C0;', 
'agent5-kind': 2L, 'agent4-type': 6, 'agent1-sku': '88 (C9381)', 
'agent1-level': 0, 'agent4-ack': False, 'agent6-ack': False, 'serial': 
'MY742380S7', 'back-end': 'hp', 'agent5-ack': False, 'agent4-level': 70, 
'agent2-health-desc': 'Good/OK', 'agent1-dvc': 0, 'rr': '000000', 'rs': 
'000000000', 'port': 1, 'rg': '000', 'revision': 3, 'device-state': 1, 
'agent3-level-trigger': 0, 'agent6-sku': '88 (C9386) / 88L (C9391)', 
'agent6-health-desc': 'Good/OK', 'agent6-hp-ink': False, 
'agent6-virgin': False, 'agent2-virgin': False, 'agent3-level': 68, 
'agent4-health-desc': 'Good/OK', 'agent3-dvc': 0, 'agent4-sku': '88 
(C9388) / 88L (C9393)', 'agent2-known': False, 'agent1-id': 0, 
'cups-printer': 'HP-K5300', 'r': 0, 'agent3-health': 0, 'error-state': 
0, 'agent1-known': False, 'status-code': 1000, 'agent3-virgin': False, 
'agent1-ack': False, 'agent2-health': 0, 'agent4-level-trigger': 0, 
'agent4-dvc': 0, 'host': '', 'agent2-level-trigger': 0, 'agent6-id': 0, 
'agent5-type': 5, 'agent4-desc': 'Yellow ink cartridge', 
'agent5-virgin': False, 'supply-door': 0L, 'agent3-health-desc': 
'Good/OK', 'agent4-hp-ink': False, 'agent1-desc': 'Black and yellow 
print head'}
hp-toolbox(UI)[16256]: debug: Closing device...
hp-toolbox(UI)[16256]: debug: Result-code = 0
hp-toolbox(UI)[16256]: debug: Device state = 1
hp-toolbox(UI)[16256]: debug: Status code = 1000
hp-toolbox(UI)[16256]: debug: Error state = 0
hp-toolbox(UI)[16256]: debug: Update thread end: 
hp:/usb/Officejet_Pro_K5300?serial=MY742380S7
hp-toolbox(UI)[16256]: debug: 
UpdateDevice(hp:/usb/Officejet_Pro_K5300?serial=MY742380S7)
hp-toolbox(UI)[16256]: debug: Loading pixmap 'panel_lcd.png' from 
/usr/share/hplip/data/images/other
Traceback (most recent call last):
  File "/usr/share/hplip/ui/devmgr4.py", line 738, in 
Tabs_currentChanged
    self.TabIndex[tab]()
  File "/usr/share/hplip/ui/devmgr4.py", line 2064, in UpdateSuppliesTab
    agent_sku, level_pixmap, agent_health_desc)
  File "/usr/share/hplip/ui/devmgr4.py", line 137, in __init__
    self.setPixmap(3, level_pixmap)
TypeError: argument 2 of QListViewItem.setPixmap() has an invalid type


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-rc6 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hplip depends on:
ii  adduser                   3.108          add and remove users and groups
ii  coreutils                 6.10-6         The GNU core utilities
ii  cups [cupsys]             1.3.7-7        Common UNIX Printing System(tm) - 
ii  cupsys                    1.3.7-7        Common UNIX Printing System (trans
ii  hplip-data                2.8.5-1        HP Linux Printing and Imaging - da
ii  libc6                     2.7-12         GNU C Library: Shared libraries
ii  libcups2 [libcupsys2]     1.3.7-7        Common UNIX Printing System(tm) - 
ii  libcupsys2                1.3.7-7        Common UNIX Printing System (trans
ii  libdbus-1-3               1.2.1-2        simple interprocess messaging syst
ii  libjpeg62                 6b-14          The Independent JPEG Group's JPEG 
ii  libsane                   1.0.19-11      API library for scanners
ii  libsnmp15                 5.4.1~dfsg-8.1 SNMP (Simple Network Management Pr
ii  libssl0.9.8               0.9.8g-10.1    SSL shared libraries
ii  libusb-0.1-4              2:0.1.12-12    userspace USB programming library
ii  lsb-base                  3.2-12         Linux Standard Base 3.2 init scrip
ii  python                    2.5.2-1        An interactive high-level object-o
ii  python-dbus               0.82.4-2       simple interprocess messaging syst
ii  python-imaging            1.1.6-2        Python Imaging Library
ii  python-support            0.8.1          automated rebuilding support for P

Versions of packages hplip recommends:
ii  cups-client [cupsys-client 1.3.7-7       Common UNIX Printing System(tm) - 
ii  cupsys-client              1.3.7-7       Common UNIX Printing System (trans
ii  hpijs                      2.8.5+2.8.5-1 HP Linux Printing and Imaging - gs
ii  hpijs-ppds                 2.8.5+2.8.5-1 HP Linux Printing and Imaging - HP
ii  hplip-gui                  2.8.5-1       HP Linux Printing and Imaging - GU
ii  openprinting-ppds          20080211-2    OpenPrinting printer support - Pos

-- debconf-show failed




Reply to: