Tue 14 Sep 2010 01:01:18 PM UTC, comment #3:
I see something like this on:
- Ubuntu 32 bit, with Octave 3.2.3
- WinXP 32 bit, octave 3.2.4
I don't see it on
- Fedora 64 bit, Octave 3.2.4
In my case:
/home/peter/nw/ltfat
contains the function "isoctave.m", which return 1. "/home/peter/nw/ltfat" is in the path.
If pwd = /home/peter/nw/, which is not in the path, it works.
If pwd = /home/peter/nw/ltfat, it works.
If pwd = /home/peter/nw/ltfat/gabor, which is in the path, it works.
if pwd = /home/peter/nw/ltfat/pp, which is NOT in the path it get the following error messages:
error: no such file, `home/peter/nw/ltfat/pp/isoctave.m`
error: no such file, `home/peter/nw/ltfat/pp/isoctave.m`
error: no such file, `home/peter/nw/ltfat/pp/isoctave.m`
error: no such file, `home/peter/nw/ltfat/pp/isoctave.m`
error: no such file, `home/peter/nw/ltfat/pp/isoctave.m`
which is true: "isoctave" is not in /pp, it is in the parent directory.
I can't see a pattern of when and when not it works, as I get different incorrect behaviour depending on which machine I test, but the error message is always the same, it is looking in the wrong dir.
|