|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #41260] pkg should issue a clearer error message when the requested package is not found |
Date: | Fri, 17 Jan 2014 14:18:48 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36 |
Update of bug #41260 (project octave): Item Group: Other => Incorrect Result Status: None => Need Info _______________________________________________________ Follow-up Comment #1: This actually looks like a regression in the urlread function. If you agree with my diagnosis I'd rather retitle this bug to reflect that. The pkg function is using urlread and expecting it to return two return values. Observe in octave 3.6.4 octave-3.6.4:1> [a, b] = urlread ("http://octave.sourceforge.net/stats/index.html") a = b = 0 while in 3.8.0 octave-cli-3.8.0:1> [a, b] = urlread ("http://octave.sourceforge.net/stats/index.html") error: element number 1 undefined in return list If this is fixed, then you'll get this error message from pkg, which I do get in 3.6.4: error: get_forge_pkg: package not found: "stats". Maybe you meant "communications?" _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?41260> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |