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
This already fixed in redhat-config-printer-0.4.22-1. *** This bug has been marked as a duplicate of 72177 ***