Page 1 of 1
Flowsheet with Scilab unit operation crashes when opening
Posted:
08 February 2021, 15:43
by Stephan
I run Cofe and have a small flowsheet that contains a Scilab script unit operation (which is still almost empty).
However, I can not open that flowsheet anymore.
When double clicking the fsd file, a registration dialog pops up.
When I click on proceed without registration COFE crashes rigth away.
25 days of test periods are still left.
What's wrong here?
Re: Flowsheet with Scilab unit operation crashes when openin
Posted:
09 February 2021, 09:13
by jasper
It is a bug in the Scilab unit operation. COFE is (for some reason, not sure why) asking for parameter "outlet temperature", which I imagine at some point existed in your unit but no longer does. The unit crashes on a non-existing parameter. It has nothing to do with license or trial period.
Having fixed that, I am looking at why the scilab unit operation content is actually not there at all. In the log inside the document I read:
error: failed to initialize SciLab Unit Operation: SciLab installation not found. Unable to check HKEY_LOCAL_MACHINE\SOFTWARE\Scilab\LASTINSTALL
so the document was opened on a machine without Scilab installation, and then saved again perhaps? That may have been when the content went lost; should normally not happen though. Judging by other messages in the log, this happened somewhere around 2020-9-18 16:39.
The crash is resolved in Scilab CAPE-OPEN unit operation 2.0.0.15, now available for download.
Re: Flowsheet with Scilab unit operation crashes when openin
Posted:
10 February 2021, 08:53
by Stephan
Thank you.
That registration error was from a previous installation, when I installed Scilab unit operation before Scilab itself.
I fixed that by uninstalling and reinstalling both in the correct order.
The crashes occured afterwards.
Re: Flowsheet with Scilab unit operation crashes when openin
Posted:
10 February 2021, 10:46
by jasper
So all works ok now?
Re: Flowsheet with Scilab unit operation crashes when openin
Posted:
22 February 2021, 09:21
by Stephan
Yes, The Scilab crash doesn't occur anymore.
Re: Flowsheet with Scilab unit operation crashes when openin
Posted:
22 February 2021, 10:32
by jasper
Glad to hear it.