[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 09:47:36 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #4, bug #51632 (project octave):
just to answer my own question: no, currently octave_packages cannot handle
variables in paths.
Took my octave_packages file, replaced the absolute paths for the signal
package from
C:\Octave\OCTAVE~1.1\lib\octave\packages\signal-1.3.2
to
%OCT_HOME%lib\octave\packages\signal-1.3.2
It renders the entire file unreadable to a 'pkg list'. i.e.:
pkg list:
>> pkg list
Package Name | Version | Installation directory
---------------------+---------+-----------------------
communications | 1.2.1 |
...\share\octave\packages\communications-1.2.1
control | 3.0.0 | ...\share\octave\packages\control-3.0.0
data-smoothing | 1.3.0 |
...\share\octave\packages\data-smoothing-1.3.0
database | 2.4.2 | ...\share\octave\packages\database-2.4.2
dataframe | 1.1.0 | ...\share\octave\packages\dataframe-1.1.0
dicom | 0.2.0 | ...\share\octave\packages\dicom-0.2.0
financial | 0.5.0 | ...\share\octave\packages\financial-0.5.0
fits | 1.0.7 |
...\OCTAVE~1.1\share\octave\packages\fits-1.0.7
fuzzy-logic-toolkit | 0.4.5 |
...\octave\packages\fuzzy-logic-toolkit-0.4.5
ga | 0.10.0 |
...\OCTAVE~1.1\share\octave\packages\ga-0.10.0
general | 2.0.0 | ...\share\octave\packages\general-2.0.0
generate_html | 0.3.1 |
...\share\octave\packages\generate_html-0.3.1
geometry | 3.0.0 | ...\share\octave\packages\geometry-3.0.0
gsl | 2.0.0 |
...\OCTAVE~1.1\share\octave\packages\gsl-2.0.0
image | 2.6.1 | ...\share\octave\packages\image-2.6.1
instrument-control | 0.2.3 | ...\octave\packages\instrument-control-0.2.3
interval | 2.1.0 | ...\share\octave\packages\interval-2.1.0
io | 2.4.7 |
...\OCTAVE~1.1\share\octave\packages\io-2.4.7
linear-algebra | 2.2.2 |
...\share\octave\packages\linear-algebra-2.2.2
lssa | 0.1.2 |
...\OCTAVE~1.1\share\octave\packages\lssa-0.1.2
ltfat | 2.2.0 | ...\share\octave\packages\ltfat-2.2.0
mapping | 1.2.1 | ...\share\octave\packages\mapping-1.2.1
miscellaneous | 1.2.1 |
...\share\octave\packages\miscellaneous-1.2.1
nan | 3.1.2 |
...\OCTAVE~1.1\share\octave\packages\nan-3.1.2
netcdf | 1.0.11 | ...\share\octave\packages\netcdf-1.0.11
nurbs | 1.3.13 | ...\share\octave\packages\nurbs-1.3.13
ocs | 0.1.5 |
...\OCTAVE~1.1\share\octave\packages\ocs-0.1.5
odepkg | 0.8.5 | ...\share\octave\packages\odepkg-0.8.5
optim | 1.5.2 | ...\share\octave\packages\optim-1.5.2
quaternion | 2.4.0 | ...\share\octave\packages\quaternion-2.4.0
queueing | 1.2.5 | ...\share\octave\packages\queueing-1.2.5
signal | 1.3.2 | ...\share\octave\packages\signal-1.3.2
sockets | 1.2.0 | ...\share\octave\packages\sockets-1.2.0
sparsersb | 1.0.5 | ...\share\octave\packages\sparsersb-1.0.5
specfun | 1.1.0 | ...\share\octave\packages\specfun-1.1.0
splines | 1.3.2 | ...\share\octave\packages\splines-1.3.2
statistics | 1.3.0 | ...\share\octave\packages\statistics-1.3.0
stk | 2.4.2 |
...\OCTAVE~1.1\share\octave\packages\stk-2.4.2
strings | 1.2.0 | ...\share\octave\packages\strings-1.2.0
struct | 1.0.14 | ...\share\octave\packages\struct-1.0.14
symbolic | 2.6.0 | ...\share\octave\packages\symbolic-2.6.0
tisean | 0.2.3 | ...\share\octave\packages\tisean-0.2.3
tsa | 4.4.5 |
...\OCTAVE~1.1\share\octave\packages\tsa-4.4.5
video | 1.2.4 | ...\share\octave\packages\video-1.2.4
windows | 1.2.4 | ...\share\octave\packages\windows-1.2.4
zeromq | 1.2.1 | ...\share\octave\packages\zeromq-1.2.1
manually change paths in signal section of octave_packages to:
# name: dir
# type: sq_string
# elements: 1
# length: 55
%OCT_HOME%share\octave\packages\signal-1.3.2
# name: archprefix
# type: sq_string
# elements: 1
# length: 53
%OCT_HOME%lib\octave\packages\signal-1.3.2
and get:
>> pkg list
no packages installed.
change it back to "C:\Octave\Octave~1.1..." and 'pkg list' returns to normal.
so something about that syntax prevents pkg from parsing the entire file.
(also tested by changing the path to signal and going a 'pkg load control' and
'pkg load video', each listed before and after signal in the file,
respectively. pkg returned a 'package control not installed' until I removed
the %OCT_HOME% from signal.)
_______________________________________________________
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 <=
- [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, 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