Bug 229369 - gtk print dialogue spews warnings if cups not running
gtk print dialogue spews warnings if cups not running
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: gtk2 (Show other bugs)
6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Matthias Clasen
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-20 12:31 EST by Ian Collier
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-23 13:20:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ian Collier 2007-02-20 12:31:48 EST
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
attempts

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):
gtk2-2.10.8-1.fc6
openoffice.org-writer-2.0.4-5.5.10

How reproducible:
Always

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 12:09:40 EDT
I will investigate the warnings. As for using lpr, you can do that by adding the
line

gtk-print-backends="lpr,file" 

to /etc/gtk-2.0/gtkrc
Comment 2 Matthias Clasen 2007-04-23 13:20:30 EDT
I've removed the warnings in the upstream code. I'll do an fc6 update when the
next stable GTK+ release is available.

Note You need to log in before you can comment on or make changes to this bug.