Load Path Crashes
John W. Eaton
jwe at octave.org
Wed Dec 10 13:37:16 CST 2008
On 26-Nov-2008, Peter Berntsen wrote:
| I use a script that starts with:
| addpath (genpath ("~/forskning/octave"));
|
| then I open 155 data files with fopen and read in the data with fscanf and
| close with fclose.
|
| If I run the script 3-4 times I get the following:
| octave:10> prmtvtLFHF75
| warning: load_path: .: Too many open files
| warning: load_path: .: Too many open files
| warning: load_path: .: Too many open files
| warning: load_path: .: Too many open files
| warning: load_path: .: Too many open files
| warning: load_path: .: Too many open files
| warning: load_path: .: Too many open files
| warning: load_path: .: Too many open files
| warning: load_path: .: Too many open files
| warning: load_path: .: Too many open files
| warning: load_path: .: Too many open files
| warning: fopen: file found in load path
| ans = D070719_080424_DMPC75_LFHFCC0.TXT
| error: *** Cannot read file
|
| The search path gets corrupt and throws up void when calling 'path':
| octave:10> path
| octave:11>
|
| This looks like a bug. If octave is shut down and restarted it works again
| 2-4 times then the error message comes again, see above.
| I run octave3.01.
| Any ideas of a workaround?
Can you please submit a complete bug report to the bug at octave.org
mailing list including a script that can be used to reproduce this
problem? How many subdirectories are in your ~/forskning/octave
diretory tree?
jwe
More information about the Help-octave
mailing list