Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run Python-Script on network that contains one or more DynamicPythonProcessors #9

Open
sleistikow opened this issue Oct 29, 2024 · 0 comments

Comments

@sleistikow
Copy link
Contributor

It is currently not possible to run a (workspace independent) Python-Script in voreenve and voreentool on a network that contains one or more DynamicPython Processors.
The reason to this is that prior to each script execution, the global environment of the python interpreter is cleared in order to avoid unintended side-effects but it doesn't get restored after execution.
Since DynmicPythonProcessors process synchronously it is, however, possible to run multiple of them in the same network.

Hence, the global environment needs to be restored to enable 'recursive' python script execution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant