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

 
 

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

Submitted by:  Noël Köthe <nok>
Submitted on:  Fri 28 Mar 2008 09:47:20 PM UTC  
 
Category: User InterfaceSeverity: 2 - Minor
Priority: 1 - LaterStatus: Fixed
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed
Release: 1.11Operating System: GNU/Linux
Reproducibility: Every TimeFixed Release: None
Planned Release: 1.15Regression: None
Work Required: 0 - HoursPatch Included: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

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

Steven Schubiger <schubiger>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 06 Jul 2009 07:33:47 PM UTCschubigerStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 29 Mar 2008 04:55:30 AM UTCmicahcowanSeverity3 - Normal=>2 - Minor
      Priority5 - Normal=>1 - Later
      Planned ReleaseNone=>1.15
      Work RequiredNone=>0 - Hours

    Back to the top


    Powered by Savane 3.1-cleanup1