Skip to content

Conversation

@BsAtHome
Copy link
Contributor

This PR fixes #3510 and replaces #3511.

See also discussion in #3510 for more details. Completely removing the initialization would cause tests to fail because the python plugin code is also used in standalone code where it is required. Now it is only called when python is not yet initialized.

This PR is the minimalist approach to fixing the bug (superseding #3514). There might be opportunity to cleanup some code too, but that would require more analysis of other distant code-paths.

@andypugh andypugh merged commit 7b277ef into LinuxCNC:master Jul 16, 2025
8 checks passed
rmu75 added a commit that referenced this pull request Dec 29, 2025
 Do not initialize python if already initialized #3516, see also discussion in #3510
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

Successfully merging this pull request may close these issues.

Gmoccapy - open_file in gmoccapy.pref cause crash

2 participants