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

BUG FIX: Remove Python plugin import error handling. #1019

Conversation

joeykleingers
Copy link
Contributor

@joeykleingers joeykleingers commented Jul 12, 2024

  • Removes Python plugin import error handling so that the import errors properly percolate up to C++ and/or the NX GUI. This allows them to be shown to the user in a pop up dialog.
  • Modify existing Python plugins (and the C++ filter that generates them) to use relative imports over absolute imports.

…ere.

This allows import errors to percolate up to C++ and/or the NX GUI.

Signed-off-by: Joey Kleingers <[email protected]>
@joeykleingers joeykleingers requested a review from JDuffeyBQ July 12, 2024 20:01
@joeykleingers joeykleingers self-assigned this Jul 12, 2024
@joeykleingers joeykleingers added the bug Something isn't working label Jul 12, 2024
@joeykleingers joeykleingers merged commit b9d4744 into BlueQuartzSoftware:develop Jul 15, 2024
7 checks passed
@joeykleingers joeykleingers deleted the topic/PythonFilterImportErrorHandling branch July 15, 2024 20:24
imikejackson pushed a commit to imikejackson/simplnx that referenced this pull request Oct 20, 2024
…are#1019)

Remove Python plugin error handling, and use relative imports everywhere.

This allows import errors to percolate up to C++ and/or the NX GUI.

Signed-off-by: Joey Kleingers <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants