-
Notifications
You must be signed in to change notification settings - Fork 122
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
Unhandeled exception when using get_value to retrieve 'twsi' values. #2772
Comments
I see the error:
but surprisingly the value is correct I am not sure how to get rid of the warnings without silence them forever. |
I have a question regarding design: If my model is clear (no nodes defined), the following query (get maximum define node ID):
should: It should be noticed that MAPDL prints already a
|
I would prefer that 0.0 be returned but also keep the Note message. |
How to keep the note message? We currently dont store any. There are about 3 type of messages in MAPDL (error, warning and note), which we have, quite relaxed, related them to:
But as I said, this relationship is not enforced 1-to-1. Because MAPDL behaviour on Error is not very standarized. Some errors make MAPDL to exit, sometimes, it just keep going. Some errors are very redundant. I feel I should probably enforce the following:
But I think it could make PyMAPDL very verbose. Other option could be trying to parse everything from MAPDL and create a sort of message queue. We can raise errors from there, and let the user check this queue for the rest of the messages. |
@germa89 |
Let's keep approach A. But definitely, this question about the messsages will keep popping up in the future. |
🤓 Before submitting the issue
pip install --upgrade --upgrade-strategy eager ansys-mapdl-core
in your activated virtual environment.🔍 Description of the bug
Using the following results in an unhandled error (uncaught exception):
Can use the following as a work-around:
🕵️ Steps To Reproduce
💻 Which Operating System are you using?
Windows
🐍 Which Python version are you using?
3.10
📝 PyMAPDL Report
Show the Report!
📝 Installed packages
Show the installed packages!
📝 Logger output file
Show the logger output file.
The text was updated successfully, but these errors were encountered: