You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation section, the step to generate the html documentation finishes with two reports of the same error ansys.mapdl.core.errors.PortAlreadyInUseByAnMAPDLInstance: The port The port 50052 is already used by an MAPDL instance. is already being used., coming from ..\..\examples\use_cases\01-optimizing-ply-angles.py and ..\..\examples\workflows\05-pymechanical-to-cdb-workflow.py. The full error traces can be seen here
The documentation is available at the end doc/build/html directory.
📝 Steps to reproduce
Follow the instructions from the README file, setting up PyACP for Development and try to build the documentation.
I've also encountered this error before, when building the documentation with a local MAPDL instance (i.e., not using the create_doc_windows.ps1 script). It seems to me the MAPDL instance is not properly shut down before a new one is started.
Note that this is not an issue when the examples are executed one-by-one, since the exiting Python process cleans up the MAPDL instance.
We can probably fix this by including the .exit() call explicitly in the examples.
🔍 Before submitting the issue
🐞 Description of the bug
In the documentation section, the step to generate the html documentation finishes with two reports of the same error
ansys.mapdl.core.errors.PortAlreadyInUseByAnMAPDLInstance: The port The port 50052 is already used by an MAPDL instance. is already being used.
, coming from..\..\examples\use_cases\01-optimizing-ply-angles.py
and..\..\examples\workflows\05-pymechanical-to-cdb-workflow.py
. The full error traces can be seen hereThe documentation is available at the end
doc/build/html
directory.📝 Steps to reproduce
Follow the instructions from the README file, setting up PyACP for Development and try to build the documentation.
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
2025 R1
🐍 Which Python version are you using?
3.10
📦 Installed packages
The text was updated successfully, but these errors were encountered: