-
Notifications
You must be signed in to change notification settings - Fork 396
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
Malformed "format" Strings Cause Fatal #8427
Conversation
I hit this on a separate branch and pulled this change in and got the file running just fine. I see this is still a draft PR, presumably because vprint could still have issues on other malformed formats without us really knowing it until it is too late. I'd be happy to investigate if needed. |
I was planning to wait on finishing this until the state arg refactor drops to avoid all of the implications of having to pass that in. Or would you rather we just get this in first? |
Let's just get this in as a hot fix and then deal with vprint later. I think I'll mark this ready to review and get one more set of CI results to make sure nothing changed in develop to break it. Then merge this in. |
state.dataCondenserLoopTowers->towers(this->VSTower).MaxLiquidToGasRatio, | ||
state.dataEnvrn->EnvironmentName, | ||
state.dataEnvrn->CurMnDy, | ||
General::CreateSysTimeIntervalString(state)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Obvious fix here, and verified locally that it addresses the issue.
Uhh, file system test is totally unrelated to this error message tweak. This is good to go. Thanks @mitchute! |
Pull request overview
CoolingTower_VariableSpeed.idf
was fataling due to a malformed format string. Four args were needed, but three were passed.vprint
so malformed format strings don't cause fatal errors.Pull Request Author
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
Reviewer
This will not be exhaustively relevant to every PR.