Hi
i run a file in NEEShub interpreter and the results of the analysis has lots of out put in each step of the analysis, which i "puts" them into a text file. but in the middle of the analysis this error appears :
fileName.txt table overflow
and every time for different file this error happens,
in my computer no such an error appears. i suppose the capacity of the file is limited in NEEShub.
is this possible ??
could you please help me with this.
thanks
table overflow error on NEEShub interpreter
Moderators: silvia, selimgunay, Moderators
-
- Posts: 82
- Joined: Fri Aug 14, 2009 12:11 am
- Location: iiees
-
- Posts: 82
- Joined: Fri Aug 14, 2009 12:11 am
- Location: iiees
Re: table overflow error on NEEShub interpreter
i was leaving open, the file that i have opened for read. then i was opening it again for write. so the interpreter was getting confused after a few times of opening the file and not closing it,
so the error "table overflow for ?filename" was appearing.
the error was fixed by closing the file after reading or writing . for example :
set dir [open file.txt r]
set g [read $dir]
close $dir
set dir [open file.txt a] or set dir [open file.txt w]
puts $dir "$xxx"
close $dir
thank god i it got fixed
so the error "table overflow for ?filename" was appearing.
the error was fixed by closing the file after reading or writing . for example :
set dir [open file.txt r]
set g [read $dir]
close $dir
set dir [open file.txt a] or set dir [open file.txt w]
puts $dir "$xxx"
close $dir
thank god i it got fixed
kt
-
- Posts: 82
- Joined: Fri Aug 14, 2009 12:11 am
- Location: iiees
Re: table overflow error on NEEShub interpreter
there are a limit for the number of the files that can be leaved open in the NEEShub interpreter. so the files should not be open unnecessarily
kt