error when hp-align is run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hplip (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: hplip
When running hp-align (from hplip 2.7.7 in Gutsy) at the command line, the following error is reported:
HP Linux Imaging and Printing System (ver. 2.7.7)
Printer Cartridge Alignment Utility ver. 4.0
Copyright (c) 2001-7 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.
Using device: hp:/usb/
Traceback (most recent call last):
File "/usr/share/
maint.
NameError: name 'ui' is not defined
Looking at source for /usr/share/
from base import device, status, utils, maint, tui
There is no import for 'ui'. References to this module appear in lines 252-277.
If I add a second import after the original, like this..
from base import device, status, utils, maint, tui
from base import tui as ui
... hp-align works.
Note: you see "/usr/share/ hplip/align. py.bak" in the error message above because I was running the unmodified backup of the original to generate the error.