spurious load_path warnings when octave is started at Unix root directory
John W. Eaton
jwe at bevo.che.wisc.edu
Wed Sep 10 12:40:11 CDT 2008
On 10-Sep-2008, John W. Eaton wrote:
| On 10-Sep-2008, Alexander Mamonov wrote:
|
| | Bug report for Octave 3.0.2 configured for i486-pc-linux-gnu
| |
| | Description:
| | -----------
| |
| | When Octave is started in Unix root directory, warnings from the
| | load_path appear whenever the
| | current directory is changed. On my machine the warning is
| | warning: load_path:
| | ./usr/lib/octave/site/oct/api-v32/i486-pc-linux-gnu: No such file or
| | directory
| |
| | If I type the path command, then the path
| | ./usr/lib/octave/site/oct/api-v32/i486-pc-linux-gnu
| | is indeed displayed as a relative path, unlike all other paths, which
| | are displayed as absolute paths.
| |
| | If Octave is started in any other directory, then no warnings appear,
| | and in the output of the path command
| | the path /usr/lib/octave/site/oct/api-v32/i486-pc-linux-gnu is
| | displayed correctly as the absolute path.
| |
| | Repeat-By:
| | ---------
| |
| | Start octave in unix root directory. Go to any other directory, for example
| | cd home
| | As a result the warning will appear
| | warning: load_path:
| | ./usr/lib/octave/site/oct/api-v32/i486-pc-linux-gnu: No such file or
| | directory
|
| I'm unable to reproduce this problem. What do you mean by "Unix root
| directory"? Do you mean / or your home directory or something else?
|
| What happens if you start Octave with --norc?
Does the following patch solve the problem for you? It seems that
this one was never applied to the release-3-0-x branch, though I think
it probably should be.
jwe
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
Url: https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20080910/ea05acec/attachment-0001.ksh
More information about the Bug-octave
mailing list