Skip to content

fix: Set _post as a property so it's initialized when needed #4146

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

Closed
wants to merge 2 commits into from

Conversation

valallansys
Copy link
Contributor

@valallansys valallansys commented Aug 5, 2025

Description

We had an issue in mapdl using *PYT command which starts a python interpreter and imports mapdl as mapdlInProcess.
Then calling mapdl.dict led to a segmentation error because it called PostProcessing whithout results. We figured we didn't need to initialise _post unless needed

Issue linked

#4145

Checklist

@valallansys valallansys requested a review from a team as a code owner August 5, 2025 12:28
@valallansys valallansys requested review from germa89 and clatapie August 5, 2025 12:28
@ansys-cla-bot
Copy link

ansys-cla-bot bot commented Aug 5, 2025

All Contributor License Agreement (CLA) signatures have been captured successfully. Thanks for contributing!

@germa89
Copy link
Collaborator

germa89 commented Aug 5, 2025

Hi @valallansys

This is fine with me. Let's migrate it so it can runs the CICD with the secrets.

@germa89
Copy link
Collaborator

germa89 commented Aug 5, 2025

@pyansys-ci-bot migrate

@pyansys-ci-bot
Copy link
Contributor

🚀 Migration completed!

The pull request #4147 has been created successfully.

Thank you @valallansys for your contribution! Please review the new PR and make any necessary changes.

This PR will be closed by the admins soon.

You can now start to work in the new pull request by cloning this pull request branch in a new repository by doing:

git clone -b migration/pr-4146 --single-branch https://github.com/ansys/pymapdl.git

If you have GitHub CLI installed, you can also use the following command to check out the pull request:

gh pr checkout https://github.com/ansys/pymapdl/pull/4146

Thank you again for your contribution @valallansys!

@germa89
Copy link
Collaborator

germa89 commented Aug 5, 2025

Closing this PR because migrating to #4147

@germa89 germa89 closed this Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants