Crash reported when starting Ubuntu

Asked by Norman Lambert

When Ubuntu 12.10 starts I get the following message:

Traceback (most recent call last):
File "/usr/bin/hp-config_usb_printer", line 276,
in <module>send_message(device_uri, printer_name,
EVENT_DIAGNOSE_PRINTQUEUE, username, 0,")
nameError: name 'username' is not defined

If I cancel the message I don't seem to have any further problems. But I would prefer not to have the "crash" reported if possible. Have you any suggestions, please?

Ubuntu 12.10, HP Photosmart 2575, HPLIP Version <I'm not sure - think its 3.12.6>

Many thanks

Norman Lambert

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Amarnath Chitumalla
Solved:
Last query:
Last reply:
Revision history for this message
Norman Lambert (nklambert) said :
#1

PS Just discovered - Version is 3.12.11

NL

Revision history for this message
Best Amarnath Chitumalla (amarnath-chitumalla) said :
#2

Hi Norman,

Thank you for reporting the problem. We will fix this in next HPLIP release.
Meanwhile just make following changes.
1) open /usr/share/hplip/config_usb_printer.py in sudo or root mode.
go to line no:276

change from:
            send_message( device_uri, printer_name, EVENT_DIAGNOSE_PRINTQUEUE, username, 0,'')
change to:
            send_message( device_uri, printer_name, EVENT_DIAGNOSE_PRINTQUEUE, "", 0,'')

Thanks & Regards,
Amarnath

Revision history for this message
Norman Lambert (nklambert) said :
#3

Thanks Amarnath Chitumalla, that solved my question.