[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in Pkg Update
From: |
Thomas D. Dean |
Subject: |
Re: Error in Pkg Update |
Date: |
Mon, 30 Jan 2017 12:32:06 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
Looking at get_forge_pkg.m, line 72, it appears that setdiff(name,n) is
called and n is not defined.
The 'else' clause at lines 70 thru 74 is meant to handle the situation
where name is not known to forge. This should provide a hint for cases like
pkg -forge install symbolicz
and should ask if you meant symbolic.
I do not have a complete fix, but, the regexp at line 66 should read
t=regexp (html, "<h3 class=""package_name"" id=""(\\w+)"">", "tokens");
due to changes in http://packages.octave.org/packages.php. Trying to
pick apart a web page to provide a hint is not reliable since the
maintainer of the web page can not know where is may be parsed.
Since n is not defined at line 72, I don't know what was intended.
Any ideas?
Re: Error in Pkg Update, Andreas Weber, 2017/01/30