Back to the main page.

Bug 968 - loadvar inconsistently throws errors, which are resolved if called again

Reported 2011-09-19 16:54:00 +0200
Modified 2011-11-09 14:37:26 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P1 normal
Assigned to: Jörn M. Horschig
Depends on:
See also:

Jörn M. Horschig - 2011-09-19 16:54:12 +0200

sometimes, loadvar is complaining that a .mat-file cannot be read, but it succeeds immediately thereafter. I attached an excerpt from my command window to illustrate the problem. I just called the same function again and again, until it succeeds. Btw, it is not due to lack of memory, cause the mentat I am working on still has 6GB unused memory available.

Jörn M. Horschig - 2011-09-19 16:54:40 +0200

Created attachment 134 matlab command window

Robert Oostenveld - 2011-09-19 17:29:32 +0200

is this a fieldtrip error? Might it not be an error with the NFS server?

Jörn M. Horschig - 2011-09-20 13:36:48 +0200

I cannot tell, I never encountered this problem before Maybe it's related to the short time in between loading of multiple files?

Robert Oostenveld - 2011-09-20 14:08:17 +0200

can you reproduce it? can you reproduce it outside of fieldtrip (just with many loads)? if so, does it depend on where the data comes from (NFS, locally attached disk on a linux box, CIFS, locally attached disk on a windows box)? If it is NFS specific (which I guess is the only connection over which you tested sofar), then the TG should get involved in the diagnosis.

Jörn M. Horschig - 2011-10-04 16:50:16 +0200

hm, I never encountered this problem after I reported it, so I guess you were right