Bug 1169333

Summary: RuntimeError: ppdOpenFile failed
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: bugs.michael, jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-01 12:33:15 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
debug output.txt none

Description Michael Schwendt 2014-12-01 11:01:25 UTC
Tried to add a local printer running on a Windows server. Did it the same way I've done it with Fedora 20 and older:

# system-config-printer 
No ID match for device smb://192.168.0.190/SamsungM:
MFG:Generic;MDL:Printer;DES:Generic Printer;
Using lsb/usr/cupsfilters/textonly.ppd (status: 3)
Caught non-fatal exception.  Traceback:
File "/usr/share/system-config-printer/newprinter.py", line 3853, in getNPPPD
    ppd = cups.PPD(f)
RuntimeError: ppdOpenFile failed
Continuing anyway..

Dialog tells:
CUPS server error
There was an error during the CUPS operation: 'server-error-internal-error'.



$ rpm -q system-config-printer
system-config-printer-1.5.4-1.fc21.x86_64

Comment 1 Tim Waugh 2014-12-01 11:26:15 UTC
I can't really tell much from your description. In particular, I don't know at what point you saw the 'CUPS server error' message, or whether it is related to the (non-fatal) cups.PPD exception.

Please run 'system-config-printer --debug &>output.txt'.

Please detail each step you follow for adding the printer: i.e. each thing you click on or type.

Finally, please attach output.txt.

Comment 2 Michael Schwendt 2014-12-01 11:42:11 UTC
Created attachment 963242 [details]
debug output.txt

1. click "Add"
2. select "Windows Printer via SAMBA"
3. fill in "smb://ntb1/SamsungM"
4. select printer from database:
   Samsung ML-1610 which is closest/compatible to ML-1640
5. click "Apply"
6. error dialog appears

Comment 3 Tim Waugh 2014-12-01 12:33:15 UTC
Thanks. This looks like it has the same root cause as bug #1163731.

*** This bug has been marked as a duplicate of bug 1163731 ***