question

Ron H7 avatar image
0 Likes"
Ron H7 asked JustinP edited

Exception caught in saveoperation: Cannot save

I am unable to save my work, and get an "Unsuccessful Save Operation" error window. Any guidance would be appreciated. This has happened a few ther times, but my first post seeking advice on it.

FlexSim 20.0.2
save error
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

tannerp avatar image tannerp commented ·

Are you working in a licensed version of the software or a free trial? If you have a license, have you double checked that your license is activated on the machine your using? I'm not sure what else this could be unless the model is corrupted. Can you attach the model so we can try saving on our end?

0 Likes 0 ·

1 Answer

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered JustinP edited

It's possible there's some node that's corrupted and can't be saved. You could try running this script to see if any of the nodes in the tree can't be saved. From the Debug menu at the top of the screen open the Output Console and then drag it so that it undocks. Now open the Debug console. Paste this code into the debug console and then push the green run button.

forobjecttreeunder(model()) {
	treenode obj = a;
	print(obj);
	savebyname(obj, "test.t");
}

If you get an error at one of the nodes you might be able to look at the Output console and see what node it was just trying to save.

· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ron H7 avatar image Ron H7 commented ·

Thanks for your reply. I will be back in the office next week and surely give this a try. Great instructions, thank you!

0 Likes 0 ·
Ranggi M avatar image Ranggi M commented ·
This is so helpfull!! almost lost my one day works. Thank you so much
0 Likes 0 ·
JustinP avatar image JustinP commented ·

//Never Mind I had an autosave from like 3 minutes ago thank god.

feel free to delete this I just thought whoever saw it if anyone should know my files are fine... I think


I am having the same problem and when I ran the script the output console just says "/Tools" what am I meant to do now that I know that it is having trouble saving the tools? I think it is having problems because I tried deleting location groups from the model tree in the Locations folder, but I thought nothing happened so I gave up.

0 Likes 0 ·