hp-info reports a warning for the PSC-2175

Bug #1684987 reported by Francois Gouget
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
Unassigned

Bug Description

Distribution: Debian
Package: hplip
Version: 3.16.11+repack0-2

hp-info reports the following on the terminal it is started from:

$ hp-info

HP Linux Imaging and Printing System (ver. 3.16.11)
Device Information Utility ver. 5.2

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

warning: value_int() Failed to convert data[1430133225.13882]:invalid literal for int() with base 10: '1430133225.13882'

That last line suggests it's failing to parse some information.

Revision history for this message
Francois Gouget (fgouget) wrote :
Revision history for this message
kritika arora (kritika-arora1) wrote :

Hi,

You are requested to Download the latest HPLIP-3.17.4.run and execute the same, as there are some missing dependencies they will be automatically installed.

Follow the below mentioned steps:

1. Download hplip-3.17.4.run file from http://hplipopensource.com/hplip-web/install/install/
2. On terminal:run command " chmod 755 hplip-3.17.4.run "
3. ./hplip-3.17.4.run

Write back if the issue continues.

Thanks.

Changed in hplip:
status: New → In Progress
Revision history for this message
Francois Gouget (fgouget) wrote :

I retested this with hplip-3.17.4.run but I am getting the same result. Here is the debug output of hp-levels:

$ hp-levels -g

HP Linux Imaging and Printing System (ver. 3.17.4)
Supply Levels Utility ver. 2.0

Copyright (c) 2001-15 HP 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-levels[41123]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-levels[41123]: debug: Mode=0
hp-levels[41123]: debug: Cache miss: psc_2170_series
hp-levels[41123]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-levels[41123]: debug: Searching for section [psc_2170_series] in file /usr/share/hplip/data/models/models.dat
hp-levels[41123]: debug: Found section [psc_2170_series] in file /usr/share/hplip/data/models/models.dat
hp-levels[41123]: debug: {'hp:/usb/PSC_2170_Series?serial=MY359C91BQ73': ['PSC-2170-Series', 'PSC_2170']}
Using device : hp:/usb/PSC_2170_Series?serial=MY359C91BQ73

hp-levels[41123]: debug: num_pens = 2
hp-levels[41123]: debug: pen 0 {'index': 0, 'kind': 3L, 'level': 0, 'level-trigger': 5, 'health': 0, 'type': 1, 'id': 9}
hp-levels[41123]: debug: pen 1 {'index': 1, 'kind': 0L, 'level': 7, 'level-trigger': 2, 'health': 1, 'type': 0, 'id': 24}

hp-levels[41123]: debug: 1: agent_type 1 agent_kind 3 agent_sku '56 (C6656A) / 27 (C8727A)'
Black cartridge
Part No.: 56 (C6656A) / 27 (C8727A)
Health: Low

----------------------------------------------------------------
| | (approx. 0%)
----------------------------------------------------------------

Done.

What is interesting is that status.py clearly sees two entries which corresponds to num_pens=2 and is correct. However the second entry gets a type of AGENT_TYPE_NONE and a kind of AGENT_KIND_NONE so it does not seem to be recognized.

I have attached the new hp-check -r report (this time in a Debian 8 VM).

Revision history for this message
Francois Gouget (fgouget) wrote :

Please ignore the previous message: I sent it against the wrong bug report, it concerns bug 1684986 instead.

Since I have re-run hp-info anyway, here's an update: I have not seen this warning again, even with hplip 3.16.11+repack0-2. I don't know why the issue seemingly disappeared.

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.