help-octave
[Top][All Lists]
Advanced

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

Load Path Crashes


From: Peter Berntsen
Subject: Load Path Crashes
Date: Wed, 26 Nov 2008 02:19:27 -0800 (PST)

 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.



reply via email to

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