Hi Ted,
Thanks for you answer,
but I am sure that
- the file is not locked by another application
- I have all the rigths on the directory
I remember that similar thing happened under XP and with an precedent version of neuron
to reproduce this, could you try the next command under XP or vista:
- open a model (I've tried with some differents models with the same result)
- use menu : File-Load session
- open a file session with a group of windows
- use menu : Window-Group Manager
- select the group open in the session file
- use "save group" button
- save on the same session file
you get a message window : "filename.ses already exists: Write?"
- press "Go ahead"
then you get an error message in "nrniv window"
oc>oc: Permission denied
nrniv: errno set during call of PWManager[0].save
near line 141
{PWManager[0].save("./ci1.ses", WindowGroup[1])}
at this time, the size of this file is 0
and when you exit Neuron, this file is deleted
BUT if you open the session file in a "hoc" file with the load_file function
and then you save the group in a similar way, the file is saved without error message
this is why I think there is a bug in Neuron
I hope this could help you to find it easilly
Best regards