Bug 1169333 - RuntimeError: ppdOpenFile failed
Summary: RuntimeError: ppdOpenFile failed
Keywords:
Status: CLOSED DUPLICATE of bug 1163731
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-01 11:01 UTC by Michael Schwendt
Modified: 2014-12-01 12:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-01 12:33:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
debug output.txt (152.62 KB, text/plain)
2014-12-01 11:42 UTC, Michael Schwendt
no flags Details

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 ***


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