delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/05/03/07:51:00

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=JexZMvXhe9M0gjHl
jtGevU6HbaiYE/79UWcZezrjUcYC8fpovDLbUc/MpMm8ETuwS8lOwE+U8tcDZVdV
km9tnuUUPH1ZIfK7EREzv3hwos4V2tJosc3N14Ow1DVEuj6zxDZNT5HhebaAmfe4
7VB515f/1CJ2EusumDjlDf4AylY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=TXJsABiutoLo2kvMmH34Ci
BzOcI=; b=FdeNBRw5deA1653sJ20vjCuEb+2MaJ7l66+jSxJ/UAFNr6KAw1oqlq
oFk5dFxFgn98HE3H9VEVlTlwf0xeC+VoF/f0ewTwqdbjaCYJPrM8oA6nVeQJw+UE
45MQPHguFjh07KWCMu9LLk9gQZ7+D2ZUQtJV/u+zCvVkGv3xVQC8U=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, H*MI:sk:5727DCC, H*MI:sk:5727E62
X-HELO: smtp.ht-systems.ru
Date: Tue, 3 May 2016 14:37:06 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <127908037.20160503143706@yandex.ru>
To: Jon Ronnenberg <jon DOT ronnenberg AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Fatal error in wget 1.17.1
In-Reply-To: <CAPEZGVvawbb5+A7tk=-wLmT43qsPRfZhBY4NpAKpKTKH+N_nJA@mail.gmail.com>
References: <CAPEZGVs3fVgg7-+JKUm4FMgMWBvbBQWkjgiRLPo1Hs1jU7vtYg AT mail DOT gmail DOT com> <5727DCCC DOT 20506 AT redhat DOT com> <CAPEZGVukWrzB3=1gAfagOVJCfbK7qMyxTG8K8vaY0RkoTzZwcA AT mail DOT gmail DOT com> <5727E628 DOT 9050706 AT redhat DOT com> <CAPEZGVscUFvz2knQK3T_F2ixdbGjDrF+axfbHF50XieASE5wJg AT mail DOT gmail DOT com> <CAPEZGVvawbb5+A7tk=-wLmT43qsPRfZhBY4NpAKpKTKH+N_nJA AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Jon Ronnenberg!

> It just dawned on me that I should try to run the shell script in the
> cygwin terminal. I did and it kinda work.
> Output:
> $ sh download_model.sh
> Downloading the colorization model...
> --2016-05-03 02:49:49--  http://hi.cs.waseda.ac.jp/~iizuka/data/colornet.t7%0D
> Resolving hi.cs.waseda.ac.jp (hi.cs.waseda.ac.jp)... 133.9.187.220
> Connecting to hi.cs.waseda.ac.jp
> (hi.cs.waseda.ac.jp)|133.9.187.220|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2016-05-03 02:49:50 ERROR 404: Not Found.

> I can reach the address
> http://hi.cs.waseda.ac.jp/~iizuka/data/colornet.t7 through a browser
> but wget gets a 404 but it might be unrelated.

Do note that the address
"http://hi.cs.waseda.ac.jp/~iizuka/data/colornet.t7%0D" is not the same as
"http://hi.cs.waseda.ac.jp/~iizuka/data/colornet.t7"...

Fix your script, it has CRLF EOL, or put the URL in quotes.


-- 
With best regards,
Andrey Repin
Tuesday, May 3, 2016 14:35:26

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019