Spine-Toolbox
Spine-Toolbox copied to clipboard
Crash when trying to export outputs.
Hello, Im noticing that everytime I want to export my outputs as an excel via Spine, the software crashes. I am running the dev version of Spine.
Thanks for reporting an issue. I transferred the issue to this Spine Toolbox repository, since exports are handled by Spine Toolbox rather than SpineOpt.
We need more information on what is going wrong. Are you using an exporter tool or doing an export directly from the database? What are you exporting - everything? What does the terminal say after the crash ('traceback')? Also, you should check that you're on latest version of Spine Toolbox (there is no dev branch - you should be using 'master' branch). Check the upgrade instructions in the https://github.com/spine-tools/Spine-Toolbox#installation.
I'm also experiencing crashes when exporting using the export function of the spine db editor.
For example (but not limited to), it crashes when I have a spine database for the 'simple system tutorial' (from the SpineOpt repository) and I export that database to a json file.
It indeed happened when I wanted to export everything. I have done some tests and at some point it seemed that the culprit was 'parameter_value_list' as it consistently crashed when I exported that list. However, after a while it stopped crashing. Though it stays crashing when you want to export everything.
System: Ubuntu Branch: 0.8-dev (but I also remember crashes in the master branch) console message: ?? everything closes when it crashes ...
Tars, I think my console keeps running after a crash (using Miniconda shell). It would be important to see if there's any message...
Mine doesn't (probably because I use a script to start toolbox instead of manually starting the environments in the console) but I remembered a trick to keep the console open ($SHELL at the end of the script).
Though this time it didn't break while writing jsons but it did when writing the excel file. It seems rather inconsistent.
Anyway, the result is:
32940 Segmentation fault (core dumped) spinetoolbox