Show pip install error message to the user#40
Merged
Conversation
This makes it easier for users to pinpoint fix and report problems.
The script previously ignored the stdout and stderr of pip and GRPC compilation. Using subprocess.run() now forwards stdout and stderr to the console.
stefanhahmann
previously approved these changes
Apr 15, 2026
Collaborator
There was a problem hiding this comment.
I did mvn clean package with the code that is contained in this branch.
I then installed a fresh fiji stable with update sites mastodon, mastodon-blender activated.
I then tried to install the addon on MacOS.
I received this error message:
While this is an error, I understand that the fact that Command, Exit Code, Command output and Command error are shown, is already the expected behaviour after this PR is merged.
I found a small typo and made some minor formatting suggestions. Other than that this PR is good to be merged.
As a side note: this repo would benefit from a multi-os CI pipeline similar to this one:
This could result in these checks:
Add an empty line after the first line of the error message.
…ation The unit test for the error message formatting can run on github actions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The installation of the mastodon-blender-addon into Blender is not trivial.
Unfortunately error messages are currently not displayed if the user uses Blender Setup dialog.
This is now fixed pip output and GRPC output is shown if the installation fails.