Page 1 of 1

session file open failure

Posted: Wed May 10, 2006 9:53 am
by okanerkaymaz
Hi
i have a problem that are not opening saved session files

main /save session click then i wirte a filename, for example it is "ok.ses"
later i want to open files but it isn't opening

everybady thanks

Posted: Wed May 10, 2006 10:13 am
by Raj
Can you be slightly more specific about what the problem is?

Which window are you saving?
Which method are using to open the session file? (From file menu, with load_file, other method?)
Have you checked the content of the session file?

Posted: Wed May 10, 2006 2:21 pm
by okanerkaymaz
i use to save method that is "main/file /save session" but
later when i tired to open "session file ", it shows folowing message

nrniv: undefined variable soma in hucre.ses near line 14
}
^
xopen("hucre.ses" )
NEURONMainMenu[0].execute1("{xopen("hucre.ses")}" )
NEURONMainMenu[0].load_file(1"./hucre.ses" , )
NEURONMainMenu[0].load("*.ses"1 , )


also as result i can't my session files

best regard

Posted: Wed May 10, 2006 2:46 pm
by Raj
It is likely that the windows you saved were not responsible for creating the soma. You might have created it from the command line or you loaded a hoc-file in which it was created.

To be able to benefit from the session file you will either have to rerun the hoc-file from which you started and then load the session file using the menu or add the line load_file("hucre.ses") to the end of your hoc-file and then load the hoc-file.

If you created the soma from the command line I am afraid you will have to redo the work you did there.

In addition you can see whether your session file is sound by opening it in a text editor and inspect it. You can learn from it what is saved in a session files and what is not. In general model information is not saved there, unless you were creating the model from the GUI (Cellbuilder/Networkbuilder/Channelbuilder etc.).

Posted: Wed May 10, 2006 3:35 pm
by ted
okanerkaymaz wrote:nrniv: undefined variable soma in hucre.ses near line 14
}
^
xopen("hucre.ses" )

If you are working with the CellBuilder, and not using the Network Builder, then the
problem may just be that the CellBuilder's "Continuous Create" was not on. Open up
just the CellBuilder's session file, and if you do not see a red check mark on the
Continuous Create button, click on that button so that the check mark appears. Then
save the CellBuilder to a session file and exit NEURON. After that, you should be able to
open your files without getting an "undefined variable soma" message.

Posted: Thu May 11, 2006 12:48 pm
by okanerkaymaz
so much thanks Fiends.

i solved this problem