Page 1 of 1

Issues loading .ses files

Posted: Tue Jul 21, 2015 2:40 pm
by Dmandel
I am now having issues with the GUI when I load a .ses file from the working directory. When I load the file, some of the windows open, ex, the Channel Builder windows, but when I try to view the single compartment properties, the GUI complains that I haven't accessed a soma. "No accessed section: Can't start a MenuExplore"

Here is the hoc code,

Code: Select all

/Applications/NEURON-7.3/nrn/x86_64/bin/nrniv: undefined variable soma
 in ForChris.ses near line 109
 }
  ^
oc>/Applications/NEURON-7.3/nrn/x86_64/bin/nrniv: syntax error
 near line 1
 {access soma}

Thank you!

Re: Issues loading .ses files

Posted: Wed Jul 22, 2015 2:50 pm
by ted
Dmandel wrote:Here is the hoc code
No, that's the error message.

Code: Select all

/Applications/NEURON-7.3/nrn/x86_64/bin/nrniv: undefined variable soma
 in ForChris.ses near line 109
 }
  ^
oc>/Applications/NEURON-7.3/nrn/x86_64/bin/nrniv: syntax error
 near line 1
 {access soma}
The meaning of this error message is quite clear. You fed the hoc interpreter a file that contained the statement
access soma
but hoc could not execute that statement because there was no section called soma.

"What did I do wrong?"

Can't tell from here. There is an unlimited number of ways in which one can arrive at a state in which there is no section called soma. Did you forget to load a file that has a statement that would create a section called soma?