Load Path Crashes
Peter Berntsen
peterber at chalmers.se
Wed Nov 26 04:19:27 CST 2008
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?
--
View this message in context: http://www.nabble.com/Load-Path-Crashes-tp20698147p20698147.html
Sent from the Octave - General mailing list archive at Nabble.com.
More information about the Help-octave
mailing list