Comment 13 for bug 335116

Revision history for this message
dwelch91 (dwelch91) wrote : Re: [Bug 335116] Re: FFE Request: HPLIP 3.9.2 released one day after FF

What device was used to get this error? We have not seen this in our
testing, AFAIK.

On Mon, Mar 9, 2009 at 10:28 AM, Till Kamppeter <email address hidden>wrote:

> Don, I have another problem which should get fixed in Ubuntu Jaunty:
> Whenever I do an operation involving status (starting hp-toolbox,
> starting hp-systray, using hp-levels, ...) I get a traceback like
>
> Traceback (most recent call last):
> File "/usr/bin/hp-systray", line 141, in <module>
> hpdio.run(r2, w3)
> File "/usr/share/hplip/hpdio.py", line 140, in run
> dev.queryDevice()
> File "/usr/share/hplip/base/device.py", line 1673, in queryDevice
> status_block = status.parseStatus(self.deviceID)
> File "/usr/share/hplip/base/status.py", line 321, in parseStatus
> return parseSStatus(DeviceID['S'], DeviceID.get('Z', ''))
> File "/usr/share/hplip/base/status.py", line 172, in parseSStatus
> info = long(s[c : c + pen_data_size], 16)
> ValueError: invalid literal for long() with base 16: ''
>
> This is perhaps the cause of the hp-toolbox not showing ink levels any
> more for most devices and also not showing status for many devices.
>
> Ubuntu has switched from Python 2.5 to 2.6 in the last days. Perhaps
> there is an incompatible change which leads to this
>
> ValueError: invalid literal for long() with base 16: ''
>
> Can you provide a patch to fix this? Thanks.
>
> --
> FFE Request: HPLIP 3.9.2 released one day after FF
> https://bugs.launchpad.net/bugs/335116
> You received this bug notification because you are a direct subscriber
> of the bug.
>