question

Matheus Souza avatar image
0 Likes"
Matheus Souza asked Jason Lightfoot commented

How to fix this error when saving the project to a new version?

I had an application in version 20, when I changed to version 21, it occured an error to save the new version.

int ByteBlock::write(char *source, long unsigned int size, int nullterminate)

FlexSim 21.1.0
flexsim 21.1.0
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Can you send to us the version 20 model?

0 Likes 0 ·
Matheus Souza avatar image Matheus Souza Jason Lightfoot ♦♦ commented ·
0 Likes 0 ·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Matheus Souza commented

Thanks for the model - there is a problem so I'll make a bug report.

I was able to save in version 21.1 without an error if that helps.

rdp-nordens-revezamento-v21-20210406_jl.fsm


· 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.

Matheus Souza avatar image Matheus Souza commented ·

Thank you to send the model.

There is other problem that I am facing. When I save the model in version V21, when I open it shows a gray screen in the model and I can not close it.

bug.pngMoreno_Linha10_V21_20210407.fsm

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Matheus Souza commented ·

That's interesting - someone else had a similar problem today.

You can choose View-> Open Default Workspace which should remove it.


0 Likes 0 ·
1617806440235.png (16.3 KiB)
1617806446468.png (16.3 KiB)
Matheus Souza avatar image Matheus Souza Jason Lightfoot ♦♦ commented ·

This worked. But I will keep my models in version 20 and wait the next version to create new models. Thank you so much.!

0 Likes 0 ·
Gabriel P2 avatar image
0 Likes"
Gabriel P2 answered Jason Lightfoot commented

When the model is updated to a newer version, some changes to the structure may not be applied when opening in an old version again.

· 1
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

You can't open models from 21 in 20.

0 Likes 0 ·
Gabriel P2 avatar image
0 Likes"
Gabriel P2 answered Jason Lightfoot commented

In this case, you can continue using version 20. If you are going to use version 21, some errors will occur. After resolving them, you will be able to run the model in the newer version, but you wiill no longer be able to run in the previous version.

· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

There's should be no reason for 21.0 or 21.1 errors to occur. This is not normal and if you see any then report them in the forum and we will fix them.

1 Like 1 ·
Matheus Souza avatar image Matheus Souza commented ·

Yes, I will continue using the version 20 and wait the next version. I also had problems to create new models in version 21.

0 Likes 0 ·