GNOME Bugzilla – Bug 311030
ppd files cannot be loaded
Last modified: 2009-08-11 20:25:11 UTC
Distribution/Version: debian amd64 bring up the print dialog. On the terminal the following error meassages are being displayed: GnomePrintCupsPlugin-Message: The ppd file for the CUPS printer fac could not be loaded. GnomePrintCupsPlugin-Message: The ppd file for the CUPS printer fac_duplex could not be loaded. GnomePrintCupsPlugin-Message: The ppd file for the CUPS printer lab could not be loaded. GnomePrintCupsPlugin-Message: The ppd file for the CUPS printer lab_direct could not be loaded. This has to do with the fact that, to avoid any user visible time out issues, we of course run local cups daemons. libgnomecups apparently cannot handle this unless one changes the code: Index: libgnomecups/gnome-cups-printer.c =================================================================== RCS file: /cvs/gnome/libgnomecups/libgnomecups/gnome-cups-printer.c,v retrieving revision 1.31 diff -u -r1.31 gnome-cups-printer.c --- libgnomecups/gnome-cups-printer.c 28 Mar 2005 15:48:35 -0000 1.31 +++ libgnomecups/gnome-cups-printer.c 20 Jul 2005 16:21:30 -0000 @@ -282,7 +282,7 @@ * that will produce an infinite loop when presented with an invalid * hostname. This will also produce a hang if the remote printer is * unavailable and we do a syncronous lookup. */ -static gboolean go_directly_to_printer_when_possible = FALSE; +static gboolean go_directly_to_printer_when_possible = TRUE; static void update_attributes (GnomeCupsPrinter *printer)
I think the hostname lookup bug has been fixed in cups so maybe it's safe to remove the comment and add this patch now?
The potential for an infinite loop in the server is a severe. If it is fixed upstream we need to add a version check rather than an unconditional flag.
Hi, I am also seeing this error when trying to print from ubuntu-dapper/gnome/gedit. As it has been some time since the orignal posting, I thought I'd query if this is still the best fix for this or if anyone knows of any patch. Thanks in advance.
Which exact GNOME version and distribution is this about? Is this still an issue in GNOME 2.24/2.26? Note that gnome-print has been deprecated and superseded by GTK+ printing functionality since GNOME 2.16. This means that gnome-print is NOT actively maintained anymore. If your reported issue is still valid for GTK+ printing, please feel free to file a bug report against gtk+/printing. If it is OBSOLETE nowadays, feel free to close this report.