Bug 72600

Summary: No printer definition
Product: [Retired] Red Hat Public Beta Reporter: Daniel Hammer <h0m6r3>
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-08-25 23:05:15 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 Daniel Hammer 2002-08-25 23:05:10 UTC
Description of problem:
Printer definition with redhat-config-printer not possible

Version-Release number of selected component (if applicable):
redhat-config-printer-0.4.21-1
redhat-config-printer-gui-0.4.21-1

How reproducible:
Always

Steps to Reproduce:
1. define printer with /usr/sbin/printconf-gui
    There will be probably some error messages/warnings (as in my case):
    GLib-GObject-WARNING **: invalid cast from (NULL) pointer to `GObject'
    GLib-GObject-CRITICAL **: file gobject.c: line 972 (g_object_get): assertion
`G_IS_OBJECT (object)' failed
    GLib-GObject-WARNING **: invalid cast from (NULL) pointer to `GObject'
    GLib-GObject-CRITICAL **: file gobject.c: line 972 (g_object_get): assertion
`G_IS_OBJECT (object)' failed

2. restart lpd with /etc/init.d/lpd restart
	

Actual Results:  This produces the following error message:
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

Tried to print a short test file test.txt and tried to print it
via:
[root@tunix hombre]# cat test.txt | lpr
Status Information:
 sending job 'root@tunix+398' to missingprinter@localhost
 connecting to 'localhost', attempt 1
 cannot open connection to localhost 
Make sure the remote host supports the LPD protocol

Comment 1 Tim Waugh 2002-08-25 23:09:01 UTC
This already fixed in redhat-config-printer-0.4.22-1. 

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