Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33350 - etcat: broken pipe
Summary: etcat: broken pipe
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-12 17:33 UTC by crusaderky
Modified: 2004-01-08 17:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crusaderky 2003-11-12 17:33:00 UTC
I've got portage-2.0.49-r15.

Type this as any user in the portage group (kdesdk-3.1.4 is installed):
$ etcat -f kdesdk | grep
Uso: grep [OPZIONE]... MODELLO [FILE]...
Usare `grep --help' per ulteriori informazioni.
Traceback (most recent call last):
  File "/usr/bin/etcat", line 1105, in ?
    main()
  File "/usr/bin/etcat", line 1101, in main
    function(query)
  File "/usr/bin/etcat", line 1031, in files
    print turquoise(words[1])
IOError: [Errno 32] Broken pipe

Alternatively, type "etcat -f kdesdk | less", then press "q" inside less at any point (but not at the end) to obtain the same error.
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-11-13 00:18:23 UTC
What do you suggest happen?  You're giving the program a broken pipe, that is what is expected to do, throw an error.
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-01-08 17:12:37 UTC
it is supposed to throw an exception on PipeErrors .. unless there's a patch coming in for this, it isn't work fixing ..