dlr-gtlab / gtlab-core

GTlab Core Framework
https://www.gtlab.de
Other
7 stars 2 forks source link

Fixed empty task bug on console app #1234

Closed rainman110 closed 2 months ago

rainman110 commented 3 months ago

Description

This commit switches back the executor to the coreexecutor. This change is required, since the batch app has no event loop and thus cannot handle running tasks in threads correctly.

Thanks at @real-ct-ac for digging into it in depth.

Fixed #1233

Note: In a second commit, I removed many annoying warnings (or changed the logging level).

How Has This Been Tested?

This bug first revealed on python calculators, which crashed or failed to run.

I tested these changes with

This change seems to restore the old functionality.

Checklist:

jensschmeink commented 3 months ago

@rainman110 There still seems to be a strange problem with the GUI tests. They still fail after multiple restarts

rainman110 commented 3 months ago

@rainman110 There still seems to be a strange problem with the GUI tests. They still fail after multiple restarts

Nothing should have changed. I suspect, that the VM is currently slow and that we have a timing problem.