Bug 159591

Summary: lpadmin client-error-not-possible EPIPE (Broken pipe )
Product: [Fedora] Fedora Reporter: W Agtail <crash70>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-03 10:00:32 UTC Type: ---
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
lpadmin strace file
none
rpm file (cups ppd file etc) none

Description W Agtail 2005-06-05 13:09:58 UTC
Description of problem:
Unable to add a printer queue


Version-Release number of selected component (if applicable):
cups-1.1.23-15
Kernel: 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:56:33 EDT 2005 x86_64 x86_64 x86_64
GNU/Linux


How reproducible:
Always

Steps to Reproduce:
1.rpm -ivh pips-spr300_310-cups-2.6.2-2.i386.rpm
from: http://www.avasys.jp/english/index_e.html
2.lpadmin -p a4 -v ekplp:/var/ekpd/ekplp0 -m ekspr300_310.ppd
3.
  
Actual results:
lpadmin errors with:
lpadmin: add-printer (set device) failed: client-error-not-possible

Expected results:
a working printer queue

Additional info:
I've attached strace output and above mentioned pips rpm.

I have a USB attached printer, all above commands work on another computer
running FC1. This command works OK without error, although I do not have a
parallel printer:
lpadmin -p a4 -v parallel:/dev/lp0 -m ekspr300_310.ppd

Comment 1 W Agtail 2005-06-05 13:09:58 UTC
Created attachment 115149 [details]
lpadmin strace file

Comment 2 W Agtail 2005-06-05 13:18:13 UTC
Created attachment 115150 [details]
rpm file (cups ppd file etc)

rpm file (cups ppd file etc)

Comment 3 W Agtail 2005-06-26 18:48:28 UTC
also fails with FC4

Comment 4 Tim Waugh 2005-06-28 09:32:45 UTC
What's in /var/log/cups/error_log at that point?

Comment 5 W Agtail 2005-07-03 09:54:59 UTC
> date
Sun Jul  3 10:52:39 IST 2005
l> lpadmin -p a4draft -v ekplp:/var/ekpd/ekplp0 -m ekspr300_310.ppd
lpadmin: add-printer (set device) failed: client-error-not-possible


tail -f /var/log/cups/error_log
E [03/Jul/2005:10:53:11 +0100] add_printer: bad device-uri attribute
'ekplp:/var/ekpd/ekplp0'!


Comment 6 Tim Waugh 2005-07-03 10:00:32 UTC
Did you restart CUPS after installing the ekplp backend?  If not, you need to do
that; if you already did that, it sounds like that backend does not comply with
the CUP API.  Perhaps it gives no output when run with no arguments?  Anyway,
you  need to ask the vendor you got that backend from to investigate that. (It's
not something we ship.)