pml.py:177:ConvertFromPMLDataFormat:error: unpack requires a string argument of length 4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned |
Bug Description
hplip-gui-3.12.2 @ Fedora 16
backtrace:
pml.py:
Traceback (most recent call last):
File "/usr/bin/
hpdio.run(r2, w3)
File "/usr/share/
dev.
File "/usr/share/
status_block = status.
File "/usr/share/
result_code, colorant_index = dev.getPML( oid )
File "/usr/share/
converted_data = pml.ConvertFrom
desired_int_size)
File "/usr/share/
return struct.unpack(">i", data)[0]
error: unpack requires a string argument of length 4
Local variables in innermost frame:
data: '\x01\x15CNCJ29
desired_int_size: 4
data_type: 8
See also the original bug report https:/
Hi,
Can you uninstall/ remove the package related with hplip from fedora repository or using yum package manager.
yum remove hplip
yum remove hplip-gui
etc...
And please check this by installing the hplip-3.12.2 from "hplip-3.12.2.run" file . Download the file from http:// hplipopensource .com/hplip- web/gethplip. html. And install this by running command "sh hplip-3.12.2.run" in terminal.
Check if you are able to reproduce the same.
Thanks & Regards,
Goutam Kodu