5.8 versions crash on Linux #40
Comments
what did you do which led to the crash? |
I was working on a simple process sheet (either the one attached above or something similar). |
The XML file was corrupted somehow (Line 1753). Why are you using the XML format for mobile devices? |
I was trying to save it as normal XML file. But whatever files I saved were detected as XML files for Mobile devices. |
select "Save As" and change the format to dwxmz. |
Sorry about that. the first item on the list is the one which saves the file with the .dwxmz extension. |
Did you try loading the fixed file I've attached earlier? |
Opening the fixed file seems to give me an empty flowsheet. I had to explicitly give the extension of the file to .dwxmz for DWSIM to detect it as that; this isn't a usual habit on Linux although I'll remember that for DWSIM. |
The file I've sent you is a zipped mobile xml file. You must extract it and load the xml directly. Even though the dwxmz format is actually a zipped xml file, the xml contents is completely different, as the mobile xml data is much more limited and doesn't contain some information required in the desktop version. |
The mobile xml loading/saving is just for those who want to examine a simulation made on their mobile devices, make some small modifications and then load it back also on their devices. |
I did extract it and load it. And I can confirm that it still seems empty. I guess I'm not understanding something. Is there any documentation that I can refer to as opposed to wasting your time? (Thanks a lot for it.) I'm also done with that particular file. It was for an assignment and I finished it using 5.7. I'll just summarise my issue: Again thanks a lot! My reason for submitting this issue is to try and contribute back in a small way. If there are any debugging steps that I can go through, please advise. As a sidenote: Does the project have any beginner issues? |
ok, is there an error message when you try to start 5.8.11? |
The error message in top comment is the error message while starting 5.8.11. |
I'm sorry but it seems I'm not being clear enough. There is the event of opening DWSIM, which should lead you to the main screen where you can create a new simulation, load an existing one, change settings, etc. And there is the event of loading an existing simulation, which is different from starting DWSIM. The error you're describing in the first comment is one which is happening when you try to load the specific XML file which you've attached earlier. That being said, I'm assuming that DWSIM v5.8 Update 11 works on your system, except that it fails to load that particular file because it was corrupted. It should be able to work normally with other files. Can you confirm my understanding? |
DWSIM v5.8 Update 11 (or 10) do not start at all. |
Hmmm... I see. delete or rename that file then. |
It is probably crashing while trying to obtain information from the corrupted XML file which is listed in the most recent files. |
It works once I got rid of all the files. Thanks a lot! Is there anyway to prevent such a crash or to give a better error message (maybe which file causes the crash?) |
I need to change the code to handle such situations... it's my fault... 😅 |
App crashes with the following error:
5.7.14 seems to be working fine.
5.8.11 was working fine for a while before this happened. The same error is reported with 5.8.11.
I'm running lubuntu (Ubuntu 16.04.6 LTS, 4.15.0-96-generic).
The dependency versions installed are mono-complete: 6.6.0, gtk-sharp2: 2.12.45, libfontconfig1-dev: 2.11.94, libglu1-mesa-dev: 9.0.0-2.1, coinor-libipopt1v5: 3.11.9-2.1.
Edit: Summarising and clarifying the issue for future reference.
App crashes on startup (while trying to start from the CLI on Linux) if any of the recent files are corrupted.
The text was updated successfully, but these errors were encountered: