Resolve import issues with health.py - restoring missing_reasons var.#2
Open
0xCwrw wants to merge 1 commit into
Open
Resolve import issues with health.py - restoring missing_reasons var.#20xCwrw wants to merge 1 commit into
0xCwrw wants to merge 1 commit into
Conversation
The variable was removed in commit MrJayTechie@1ff4d80. This breaks app.py - this resolved the issue for me.
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.
Hi - doing some testing with the tool and during a fresh setup I encountered an import error in the app.py file.
app.py was attempting to import the missing reasons variable from the health.py source but fails to do so. Checking the commit history, the variable was removed in commit 1ff4d80.
I was able to solve the issue by re-adding the missing_results variable to the health.py file. Not sure what the requirement was for removal, and maybe removing the import in app.py is another fix.
Broken import in current app.py: line 44
Link to missing variable commit: 1ff4d80#:~:text=MISSING_REASONS,-=
Raised "MISSING_REASONS" Import Failure. #1 for the same.