[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run |
Date: |
Tue, 1 Aug 2017 13:32:37 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #9, bug #51632 (project octave):
ok. must be more to this.
>> fullfile(OCTAVE_HOME (), "\share\octave\packages\signal-1.3.2")
ans = C:\Octave\OCTAVE~1.1\shareoctavepackagessignal-1.3.2
but put within the octave_packages, it produces:
Package Name | Version | Installation directory
--------------+---------+-----------------------
signal | 1.3.2 | ...\share\octave\packages\signal
trying the long version of fullfile:
>> fullfile(OCTAVE_HOME(), "share", "octave", "packages", "signal-1.3.2")
ans = C:\Octave\OCTAVE~1.1\share\octave\packages\signal-1.3.2
but using that in octave_packages:
>> pkg list signal
Package Name | Version | Installation directory
--------------+---------+-----------------------
signal | 1.3.2 | ...ile(OCTAVE_HOME(), "share", "octave",
"packages",
it doesn't check for a valid path:
C:\Octave\OCTAVE~1.1\share\octave\packages123\signal-1.3.2
>> pkg list signal
Package Name | Version | Installation directory
--------------+---------+-----------------------
signal | 1.3.2 | ...\OCTAVE~1.1\share\octave\packages123\signal-1.
>> pkgtest{1}.dir
ans = C:\Octave\OCTAVE~1.1\share\octave\packages123\signal-1.
but if I make it something arbitrarily short:
C:\Octave\OCTAVE~1.1\share\signal-1.3.2
>> pkg list signal
package signal is not installed.
so... haven't yet figured out how to be sure it's actually storing/reading the
correct folder, and whether the truncation is just a display thing or if it's
actually stored incorrectly.
so, not quite sure it'll work, and something about how octave_packages is read
seems to 'sometimes' truncate things. eg:
>> pkgtest = pkg("list","signal");
>> pkgtest{1}.dir
ans = C:\Octave\OCTAVE~1.1\share\octave\packages\signal-1.3.2
>> pkgtest{1}.archprefix
ans = C:\Octave\OCTAVE~1.1\share\octave\packages\signal-1.3
despite the location being the same in the text file.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51632>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run, John Donoghue, 2017/08/01
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run, Nicholas Jankowski, 2017/08/01
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run, Nicholas Jankowski, 2017/08/01
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run, John Donoghue, 2017/08/01
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run, Nicholas Jankowski, 2017/08/01
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run, Nicholas Jankowski, 2017/08/01
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run, John Donoghue, 2017/08/01
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run,
Nicholas Jankowski <=
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run, Tasos Papastylianou, 2017/08/01
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run, Nicholas Jankowski, 2017/08/01
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run, Nicholas Jankowski, 2017/08/01
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run, Tasos Papastylianou, 2017/08/01
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run, Nicholas Jankowski, 2017/08/01
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run, Nicholas Jankowski, 2017/08/01
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run, Nicholas Jankowski, 2017/08/02
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run, Nicholas Jankowski, 2017/08/02
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run, Nicholas Jankowski, 2017/08/02
- [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run, John W. Eaton, 2017/08/03