[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error: feval: function `unimplemented' not found
From: |
Ben Abbott |
Subject: |
Re: error: feval: function `unimplemented' not found |
Date: |
Wed, 18 Jan 2012 18:44:54 -0500 |
On Jan 18, 2012, at 6:17 PM, Jordi Gutiérrez Hermoso wrote:
> 2012/1/18 Ben Abbott <address@hidden>:
>>
>> On Jan 18, 2012, at 4:02 PM, Jordi Gutiérrez Hermoso wrote:
>>
>>> On 18 January 2012 15:15, Mikey G <address@hidden> wrote:
>>>>
>>>> Jordi Gutiérrez Hermoso-2 wrote
>>>>>
>>>>> What do you suggest the warning should be
>>>>> instead?
>>>>>
>>>>> - Jordi G. H.
>>>>
>>>> Yea that seems excessive. I don't think all that detail is necessary,
>>>> especially for people new to octave. Perhaps just something along the
>>>> lines
>>>> of:
>>>>
>>>> warning: default search path has been overwritten and functionality may be
>>>> lost. Restore default search path by entering restoredefaultpath or by
>>>> restarting Octave
>>>
>>> Ah, now you want me to implement a function to save the default path
>>> at startup so it can be restored later...
>>>
>>> I'll... get around to it... some day... ;-)
>>>
>>> - Jordi G. H.
>>
>> I think load-path.cc:restoredefaultpath() already does that.
>
> Not quite... it restores the compiled-in default path, but if you
> overrode that with startup options like the run-octave script does, it
> doesn't restore those.
>
> Admittedly, this may be a rather edge case.
>
> Ok, fine, I'll just use the warning message Mikey Grissom suggested.
>
> - Jordi G. H.
hmmm, it does appear that restoredefaultpath() isn't working as I had thought
it would.
I have 3.6.0-rc1 installed and when I run via ./run-octave ...
p1 = path ();
path ("");
restoredefaultpath ();
p2 = path ();
c1 = strsplit (p1, pathsep);
c2 = strsplit (p2, pathsep);
setdiff (c1, c2)
ans =
{
[1,1] = /Users/bpabbott/Development/git/matlab2tikz/src
[1,2] = /Users/bpabbott/Documents/Investment/m-files
[1,3] = /Users/bpabbott/octave
[1,4] = /Users/bpabbott/octave/control-2.2.3
[1,5] = /Users/bpabbott/octave/miscellaneous-1.0.11
[1,6] = /Users/bpabbott/octave/poly2/poly2d/inst
[1,7] = /Users/bpabbott/octave/specfun-1.0.9
[1,8] = /Users/bpabbott/octave/splines-1.0.7
[1,9] = /Users/bpabbott/octave/struct-1.0.9
[1,10] =
/Users/bpabbott/octave/struct-1.0.9/x86_64-apple-darwin11.2.0-api-v45+
}
setdiff (c2, c1)
ans =
{
[1,1] = /opt/local/lib/octave/3.6.0-rc1/oct/x86_64-apple-darwin11.2.0
[1,2] = /opt/local/share/octave/3.6.0-rc1/m
[1,3] = /opt/local/share/octave/3.6.0-rc1/m/audio
[1,4] = /opt/local/share/octave/3.6.0-rc1/m/deprecated
[1,5] = /opt/local/share/octave/3.6.0-rc1/m/elfun
[1,6] = /opt/local/share/octave/3.6.0-rc1/m/general
[1,7] = /opt/local/share/octave/3.6.0-rc1/m/geometry
[1,8] = /opt/local/share/octave/3.6.0-rc1/m/help
[1,9] = /opt/local/share/octave/3.6.0-rc1/m/image
[1,10] = /opt/local/share/octave/3.6.0-rc1/m/io
[1,11] = /opt/local/share/octave/3.6.0-rc1/m/linear-algebra
[1,12] = /opt/local/share/octave/3.6.0-rc1/m/miscellaneous
[1,13] = /opt/local/share/octave/3.6.0-rc1/m/optimization
[1,14] = /opt/local/share/octave/3.6.0-rc1/m/path
[1,15] = /opt/local/share/octave/3.6.0-rc1/m/pkg
[1,16] = /opt/local/share/octave/3.6.0-rc1/m/plot
[1,17] = /opt/local/share/octave/3.6.0-rc1/m/polynomial
[1,18] = /opt/local/share/octave/3.6.0-rc1/m/prefs
[1,19] = /opt/local/share/octave/3.6.0-rc1/m/set
[1,20] = /opt/local/share/octave/3.6.0-rc1/m/signal
[1,21] = /opt/local/share/octave/3.6.0-rc1/m/sparse
[1,22] = /opt/local/share/octave/3.6.0-rc1/m/specfun
[1,23] = /opt/local/share/octave/3.6.0-rc1/m/special-matrix
[1,24] = /opt/local/share/octave/3.6.0-rc1/m/startup
[1,25] = /opt/local/share/octave/3.6.0-rc1/m/statistics
[1,26] = /opt/local/share/octave/3.6.0-rc1/m/statistics/base
[1,27] = /opt/local/share/octave/3.6.0-rc1/m/statistics/distributions
[1,28] = /opt/local/share/octave/3.6.0-rc1/m/statistics/models
[1,29] = /opt/local/share/octave/3.6.0-rc1/m/statistics/tests
[1,30] = /opt/local/share/octave/3.6.0-rc1/m/strings
[1,31] = /opt/local/share/octave/3.6.0-rc1/m/testfun
[1,32] = /opt/local/share/octave/3.6.0-rc1/m/time
[1,33] = /opt/local/share/octave/site/m
[1,34] = /opt/local/share/octave/site/m/startup
}
Notice both p1 and p2 include the path info for the archives m-files. p1
includes the paths added in ~./octaverc, and p2 includes the paths to the
installed m-files.
Ben
- Re: error: feval: function `unimplemented' not found, (continued)
- Re: error: feval: function `unimplemented' not found, Mikey G, 2012/01/13
- Re: error: feval: function `unimplemented' not found, Ben Abbott, 2012/01/13
- Re: error: feval: function `unimplemented' not found, Mikey G, 2012/01/16
- Re: error: feval: function `unimplemented' not found, Jordi Gutiérrez Hermoso, 2012/01/16
- Re: error: feval: function `unimplemented' not found, Mikey G, 2012/01/16
- Re: error: feval: function `unimplemented' not found, Jordi Gutiérrez Hermoso, 2012/01/18
- Re: error: feval: function `unimplemented' not found, Mikey G, 2012/01/18
- Re: error: feval: function `unimplemented' not found, Jordi Gutiérrez Hermoso, 2012/01/18
- Re: error: feval: function `unimplemented' not found, Ben Abbott, 2012/01/18
- Re: error: feval: function `unimplemented' not found, Jordi Gutiérrez Hermoso, 2012/01/18
- Re: error: feval: function `unimplemented' not found,
Ben Abbott <=