Open jkiviluo opened 1 year ago
By the way, when the importer is working normally, it seems each scenario is imported fully (green letter messages appear), before it starts on the next scenario.
That's correct, shouldn't it be that way?
That's correct, shouldn't it be that way?
Yes. Just reporting the normal behavior, so you know that issue is not in the data or importer specs.
This may also be caused by 'purge' (doing it from the data store properties prior to importing).
This keeps happening. Now it failed possibly with this (not sure when that traceback had appeared):
Traceback (most recent call last): File "C:\data\SpineToolbox\spinetoolbox\project_item\specification_editor_window.py", line 224, in closeEvent if not self.tear_down(): File "C:\data\SpineToolbox\src\spine-items\spine_items\exporter\widgets\specification_editor_window.py", line 1004, in tear_down self._preview_updater.tear_down() File "C:\data\SpineToolbox\src\spine-items\spine_items\exporter\widgets\preview_updater.py", line 460, in tear_down self._url_model.modelReset.disconnect(self._enable_controls) RuntimeError: Internal C++ object (FullUrlListModel) already deleted.
I try to import more than one scenario into the Toolbox
What does this mean exactly? Do you have an importer specification and gdx file you can share? Or workflow? I don't understand what you mean by import scenarios, is the importer running in parallel? Where do the scenarios come from?
This keeps happening. Now it failed possibly with this (not sure when that traceback had appeared):
Looks like the traceback is originating from Exporter. I've reported it as #1870
@jkiviluo So how do I reproduce it, I need a tool running parallel scenarios that feed to an importer than then feeds to a DB?
At least I can reproduce something quite regularly: I open an importer open that is slow to load (there is some data series data in the gdx file it's trying to comprehend). I try to close it right away. I open another importer spec. Try to close it too. Keep doing this and usually Toolbox crashes quite soon.
I see, thanks for that. Although that looks like a different issue? I'm still trying to understand the original one about the parallel importer execution - how to reproduce - if you could share a picture of a workflow even and briefly describe what's going on I could be able to figure it out.
Ok, I built a small new project to test this, but I can't make it fail. It may then have something to do with the TradeRES Toolbox project. Among other things, it has MySQL connection (that I don't keep open).
I made another issue about that slowness: https://github.com/Spine-project/Spine-Toolbox/issues/1874
This happens sometimes: I try to import more than one scenario into the Toolbox. The first import attempt gets stuck (some of the scenarios are almost complete, i.e. only the green final rows are missing, but the rest of the scenarios do not start). I press Stop. Everything looks ok in Toolbox UI. No error messages in console. I'll try to run the importer again. Spine Toolbox freezes. When I forcibly close the Toolbox, I get this:
By the way, when the importer is working normally, it seems each scenario is imported fully (green letter messages appear), before it starts on the next scenario.
Also, this was GDX importer (not sure if happens with others). Also, the importers work if I just import one-by-one or e.g. two at once. When I do e.g. 5 scenarios at once it fails half the time.