Bug 1003706

Summary: can't add a printer
Product: [Fedora] Fedora Reporter: Jim Haynes <jhhaynes>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 19CC: hobbes1069, jhhaynes, jkoncick, jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-18 14:39:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
output from the system-config-printer command as myself, administrator
none
/var/log/cups/error_log none

Description Jim Haynes 2013-09-02 23:12:16 UTC
Description of problem:
Can't add a printer with system-config-printer

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

system-config-printer-1.4.2-1.fc19.i686
How reproducible:
very

Steps to Reproduce:
1.Attempt to add a printer running system-config-printer
2.Gets to the panel where the printer name is chosen
3.punch "apply"

Actual results:
nothing happens, apply button stays active

Expected results:
Progress to add the printer and finish it up

Additional info:
System is F19 installed from Xfce spin and has firewalld disabled and
iptables installed

Running system-config-printer as administrative user, it never asks for
authentication.  Trying to run it as root gives 
(system-config-printer.py:4571): Gtk-WARNING **: cannot open display: :0.0
and returns to # prompt.

Comment 1 Jaromír Končický 2013-09-03 10:12:14 UTC
Please provide more information.
- Enable logging debug messages by editing /etc/cups/cupsd.conf, changing 'LogLevel' to 'debug'. 
- Run 'system-config-printer --debug' and try to add the printer again. Post the output.
- Post /var/log/cups/error_log
You can also try looking at https://fedoraproject.org/wiki/How_to_debug_printing_problems
Thanks.

Comment 2 Jim Haynes 2013-09-03 15:53:53 UTC
By not having firefox running I was able to run system-config-printer as root

Comment 3 Jim Haynes 2013-09-03 15:57:59 UTC
Created attachment 793254 [details]
output from the system-config-printer command as myself, administrator

Comment 4 Jim Haynes 2013-09-03 16:00:14 UTC
Created attachment 793255 [details]
/var/log/cups/error_log

Comment 5 Richard Shaw 2013-09-18 20:34:02 UTC
I'm having a similar problem. I didn't capture it but the only appearently helpful output from s-c-p --debug was "Printer disappeared" after I finished configuring. For me the add printer dialog didn't hang, it closed but no printer was actually added. It's worth mentioning though that I was using s-c-p from one computer and connecting to cups on another...

Comment 6 Tim Waugh 2013-11-18 13:15:05 UTC
Jim: it looks like, rather than adding a printer, you tried deleting a printer. However, cupsd didn't get a request to actually carry out the delete-printer operation.

Did it ask you for your password?

What does this command say?:
pkcheck -a org.opensuse.cupspkhelper.mechanism.printeraddremove -p $$

Comment 7 Jim Haynes 2014-06-18 14:39:02 UTC
Close it - not running that version anymore.