Bug 73440

Summary: Princonf backend errors when restarting lpd. Cannot configure printers
Product: [Retired] Red Hat Public Beta Reporter: Need Real Name <kolly.mars>
Component: redhat-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: null   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-09-04 19:18:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2002-09-04 19:02:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020809

Description of problem:
When attempting to start lpd I get the following error:
[root@et1 root]# service lpd restart
Stopping lpd:                                              [FAILED]
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  ]

Version-Release number of selected component (if applicable):
0.4.21-1

How reproducible:
Always

Steps to Reproduce:
1.use printconf-gui to configure Jetdirect print queues
2.apply changes and attempt test page.
3.use 'service lpd restart' as root in terminal and error print out.
	

Actual Results:  [root@et1 root]# service lpd restart
Stopping lpd:                                              [FAILED]
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 should have restarted and my printers should have been
configured and queues created

Additional info:

Comment 1 Peter Lemieux 2002-09-04 19:18:36 UTC
I tried uninstalling redhat-config-printer and downgrading to
printconf-0.3.77-1.i386.rpm and LPRng-3.7.4-23, but I couldn't find a
combination from earlier releases that worked either.

Either I get the "gettext not defined" error, or a "no printers configured"
error depending on the combination I try.

Comment 2 Tim Waugh 2002-09-04 21:02:22 UTC
This is fixed in redhat-config-printer-0.4.22-1 and later. 

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