Red Hat Bugzilla – Bug 74333
lpd on restarts says NameError: name 'gettext' is not defined
Last modified: 2007-04-18 12:46:49 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020809
Description of problem:
After updating my system, and trying to start lpd, I get a message about an
error in /usr/share/printconf/util/printconf_backend.py.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Configure a new printer (I selected PostScript)
service lpd start
Actual Results: service lpd start
Starting lpd: Traceback (most recent call last):
File "/usr/sbin/printconf-backend", line 7, in ?
File "/usr/share/printconf/util/printconf_backend.py", line 30, in ?
NameError: name 'gettext' is not defined
No Printers Defined [ OK ]
Expected Results: lpd starts
I can start lpd manually with
# . /etc/rc.d/init.d/functions
# daemon /usr/sbin/lpd
and seems to be working fine. So perhaps the error is in the
Commenting out the line
in /usr/share/printconf/util/printconf_backend.py seems to fix the problem
This has been fixed since redhat-config-printer-0.4.22-1, in rawhide.
*** This bug has been marked as a duplicate of 72177 ***