Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 229369

Summary: gtk print dialogue spews warnings if cups not running
Product: [Fedora] Fedora Reporter: Ian Collier <imc>
Component: gtk2Assignee: Matthias Clasen <mclasen>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: dominik
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-23 17:20:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ian Collier 2007-02-20 17:31:48 UTC
Description of problem:

I guess I'm inviting the response NOTABUG, but:
For many reasons which need not concern us here, cups annoys me and I don't want
it running.  Even if it were running, there wouldn't be any printers configured
in it.  I have an adequate "lpr" client which connects to a networked Solaris
LPD print server.

However, as soon as I open up the "print" dialogue on OpenOffice Writer, I get:

** (swriter.bin:19986): WARNING **: Error result: Too many failed attempts

** (swriter.bin:19986): WARNING **: Error getting printer list: Too many failed

echoed every couple of seconds for ever more until I quit Writer.  Moreover, it
seems impossible to persuade the dialogue to use "lpr", so I have to save to a
file and then print the file.  I'm not too bothered about that (though it would
be nice), but the warnings are rather over-the-top: if there are too many failed
attempts then surely it should stop trying...

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

How reproducible:

Steps to Reproduce:
1. Stop cups
2. Start oowriter
3. Attempt to print a file
Actual results:
Screenfuls of error messages

Expected results:
At most a couple of error messages

Comment 1 Matthias Clasen 2007-04-23 16:09:40 UTC
I will investigate the warnings. As for using lpr, you can do that by adding the


to /etc/gtk-2.0/gtkrc

Comment 2 Matthias Clasen 2007-04-23 17:20:30 UTC
I've removed the warnings in the upstream code. I'll do an fc6 update when the
next stable GTK+ release is available.