Bug 74333 - lpd on restarts says NameError: name 'gettext' is not defined
Summary: lpd on restarts says NameError: name 'gettext' is not defined
Keywords:
Status: CLOSED DUPLICATE of bug 72177
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: redhat-config-printer
Version: null
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-09-20 18:11 UTC by Mate Wierdl
Modified: 2007-04-18 16:46 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-09-20 18:37:23 UTC
Embargoed:


Attachments (Terms of Use)

Description Mate Wierdl 2002-09-20 18:11:25 UTC
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):


How reproducible:
Always

Steps to Reproduce:
1.
Configure a new printer (I selected PostScript)


2.
Type 

service lpd start

	

Actual Results:   service lpd start
Starting lpd: Traceback (most recent call last):
  File "/usr/sbin/printconf-backend", line 7, in ?
    import printconf_backend
  File "/usr/share/printconf/util/printconf_backend.py", line 30, in ?
    _=gettext.gettext
NameError: name 'gettext' is not defined
No Printers Defined                                        [  OK  ]



Expected Results:  lpd starts

Additional info:

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
printconf_backend.py only.

Comment 1 Mate Wierdl 2002-09-20 18:37:16 UTC
Commenting out the line

_=gettext.gettext

in /usr/share/printconf/util/printconf_backend.py seems to fix the problem
completely.

Comment 2 Tim Waugh 2002-09-20 22:04:45 UTC
This has been fixed since redhat-config-printer-0.4.22-1, in rawhide. 

*** This bug has been marked as a duplicate of 72177 ***


Note You need to log in before you can comment on or make changes to this bug.