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?
Flowsheet with Scilab unit operation crashes when opening
Moderator: jasper
Flowsheet with Scilab unit operation crashes when opening
- Attachments
-
- Stoffstrom duplizieren.zip
- (787 Bytes) Downloaded 2306 times
-
- Brenner Reformer.fsd
- (22.68 KiB) Downloaded 2274 times
Re: Flowsheet with Scilab unit operation crashes when openin
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.
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
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.
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
So all works ok now?
Re: Flowsheet with Scilab unit operation crashes when openin
Yes, The Scilab crash doesn't occur anymore.
Re: Flowsheet with Scilab unit operation crashes when openin
Glad to hear it.