X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=2.0 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_RW,TW_WX
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
X-Received: by 10.68.31.130 with SMTP id a2mr8804797pbi.213.1361636384531; Sat, 23 Feb 2013 08:19:44 -0800 (PST)
Date: Sat, 23 Feb 2013 16:19:44 +0000
Message-ID: <CAA65SOo6uyBvxX13pg_pB7-d7nupr13ycxG5-dAy30kw=v_9dg@mail.gmail.com>
Subject: Octave 3.6.4 and 3.6.2 - urlread failing to load file
From: Partha Lal <partha.lal@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hi,

Under cygwin, trying to use the urlread function in octave causes the
following error:

octave:7> url = 'http://www.google.com';
octave:8> [s,success,message] = urlread(url)
error: /usr/lib/octave/3.6.4/oct/i686-pc-cygwin/urlwrite.oct: failed
to load: No such file or directory

I've checked that the file exists:

$ ls -l /usr/lib/octave/3.6.4/oct/i686-pc-cygwin/urlwrite.oct
-rwxr-xr-x 1 ???????? None 106510 Feb 23 08:38
/usr/lib/octave/3.6.4/oct/i686-pc-cygwin/urlwrite.oct

It could be that urlwrite.oct is itself trying to load a file or
directory that doesn't exist, I suppose.
According to http://savannah.gnu.org/bugs/?37207 the problem doesn't
appear in Octave 3.6.1, but 3.6.2 is the oldest package I can find, so
I can't confirm this.  Environment: I'm using Cygwin 1.7.17, Windows 7
SP1, more info available if needed.  I've reproduced this with both
the 3.6.2 and 3.6.4 octave packages.

Are there any changes I can make to get this working?  Or even just
find the 3.6.1 package?

Thanks for any help,

Partha

--
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

