bugGNU Wget - Bugs: bug #22772, misleading error message when...

 
 

bug #22772: misleading error message when using -O -

Submitter:  Noël Köthe <nok>
Submitted:  Fri 28 Mar 2008 09:47:20 PM UTC
   
 
Category:  User Interface Severity:  2 - Minor
Priority:  1 - Later Status:  Fixed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  1.11 Operating System:  GNU/Linux
Reproducibility:  Every Time Fixed Release:  None
Planned Release:  1.15 Regression:  None
Work Required:  0 - Hours Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 06 Jul 2009 07:33:47 PM UTC, comment #2: 

"Saved" messages adjusted in 672d48697991 and 63ba1b289aa0.

Steven Schubiger <schubiger>
Group Member
Sat 29 Mar 2008 04:55:30 AM UTC, comment #1: 

I think the broken pipe message is reasonable, since that's the error that will occur when you write to a pipe that has no read end.

I think the "saved" message for - may be a little more legitimate (but obviously, low-pri).

Micah Cowan <micahcowan>
Fri 28 Mar 2008 09:47:20 PM UTC, original submission:  

Hello,

a really minor bug report when using "wget -O - ...":
http://bugs.debian.org/250670

--8<--
$ LANG=C wget -O- localhost|:
--14:33:38--  http://localhost/
           => `-'
Resolving localhost... 127.0.0.1
Connecting to localhost[127.0.0.1]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5,170 [text/html]
                                                                                                                            
 0% [                                                                                  ] 0             --.--K/s
                                                                                                                            
                                                                                                                            
Cannot write to `index.html' (Broken pipe).
$
--8<--

With 1.11.1 the output is:

Cannot write to `-' (Broken pipe).

But nothing is and should be written.

I don't know if its worth to add:

$ LANG=C wget -O- ix.de
...
2008-03-28 22:45:36 (200 KB/s) - `-' saved [32534]

but nothing is saved only printed to the screen.

thx.

Noël Köthe <nok>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by schubiger (Posted a comment)
  • -email is unavailable- added by micahcowan (Posted a comment)
  • -email is unavailable- added by nok (Submitted the item)
  •  

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-07-06 schubiger StatusNone Fixed
        Open/ClosedOpen Closed
    2008-03-29 micahcowan Severity3 - Normal 2 - Minor
        Priority5 - Normal 1 - Later
        Planned ReleaseNone 1.15
        Work RequiredNone 0 - Hours

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code