octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #30920] Octave unable to find user functions a


From: Peter Søndergaard
Subject: [Octave-bug-tracker] [bug #30920] Octave unable to find user functions after changing directory
Date: Tue, 14 Sep 2010 13:01:19 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; da-DK; rv:1.9.2.7) Gecko/20100723 Fedora/3.6.7-1.fc13 Firefox/3.6.7

Follow-up Comment #3, bug #30920 (project octave):

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.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30920>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]