Bug located in ...pymechanical and pywin32 library
- Dominant language
- Python
- Stars
- 83
- Forks
- 37
- Avg merge
- 1d 3m
- Merged PRs (30d)
- 26
Description
### Before submitting the issue
- [x] I have verified whether the issue reproduces in Mechanical directly (paste your script into the Mechanical scripting window or run it in batch mode via `ansys-mechanical -i test.py`). If it reproduces there, the issue is likely in Mechanical rather than PyMechanical.
If it is an issue in Mechanical, please check with the Ansys support coordinator (ASC) at your company to determine who provides support for your company, or submit a request via the [Ansys Customer Support portal](https://www.ansys.com/support).
- [x] I have searched among the existing issues
- [x] I am using a Python virtual environment
### Description of the bug
Unable to execute the script, as it is taking significantly longer than expected to complete. Additionally, the session does not generate any error messages or informational logs.
Attaching the snips:
### Steps To Reproduce
Execute the attached file by running each cell one by one in sequential order.
[test.ipynb](https://github.com/user-attachments/files/29467515/test.ipynb)
### Which Operating System are you using?
Windows
### Which Python version are you using?
3.11
### Which Ansys Mechanical version are you using?
2026 R1 (261)
### Installed packages
ansys-api-mechanical==0.1.4
ansys-mechanical-core==0.12.10
ansys-mechanical-stubs==0.1.10
ansys-pythonnet==3.1.0rc8
ansys-tools-common==0.5.0
anyio==4.14.0
appdirs==1.4.4
argon2-cffi==25.1.0
argon2-cffi-bindings==25.1.0
arrow==1.4.0
asttokens==3.0.1
async-lru==2.3.0
attrs==26.1.0
babel==2.18.0
beautifulsoup4==4.15.0
bleach==6.4.0
certifi==2026.5.20
cffi==2.0.0
charset-normalizer==3.4.7
click==8.4.1
clr_loader==0.3.1
colorama==0.4.6
comm==0.2.3
debugpy==1.8.21
decorator==5.3.1
defusedxml==0.7.1
executing==2.2.1
fastjsonschema==2.21.2
fqdn==1.5.1
grpcio==1.81.1
h11==0.16.0
httpcore==1.0.9
httpx==0.28.1
idna==3.18
ipykernel==7.3.0
ipython==9.14.1
ipython_pygments_lexers==1.1.1
isoduration==20.11.0
jedi==0.20.0
Jinja2==3.1.6
json5==0.14.0
jsonpointer==3.1.1
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
jupyter-events==0.12.1
jupyter-lsp==2.3.1
jupyter_client==8.9.1
jupyter_core==5.9.1
jupyter_server==2.19.0
jupyter_server_terminals==0.5.4
jupyterlab==4.5.8
jupyterlab_pygments==0.3.0
jupyterlab_server==2.28.0
lark==1.3.1
MarkupSafe==3.0.3
matplotlib-inline==0.2.2
mistune==3.2.1
nbclient==0.11.0
nbconvert==7.17.1
nbformat==5.10.4
nest-asyncio2==1.7.2
notebook_shim==0.2.4
overrides==7.7.0
packaging==26.2
pandocfilters==1.5.1
parso==0.8.7
platformdirs==4.10.0
prometheus_client==0.25.0
prompt_toolkit==3.0.52
protobuf==5.29.6
psutil==7.2.2
pure_eval==0.2.3
pycparser==3.0
Pygments==2.20.0
python-dateutil==2.9.0.post0
python-json-logger==4.1.0
pywin32==312
pywinpty==3.0.5
PyYAML==6.0.3
pyzmq==27.1.0
referencing==0.37.0
requests==2.34.2
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rfc3987-syntax==1.1.0
rpds-py==2026.5.1
scooby==0.11.2
Send2Trash==2.1.0
six==1.17.0
soupsieve==2.8.4
stack-data==0.6.3
terminado==0.18.1
tinycss2==1.5.1
tornado==6.5.7
tqdm==4.68.2
traitlets==5.15.1
typing_extensions==4.15.0
tzdata==2026.2
uri-template==1.3.0
urllib3==2.7.0
uv==0.11.21
wcwidth==0.8.1
webcolors==25.10.0
webencodings==0.5.1
websocket-client==1.9.0
Contributor guide
Assessment
This issue has not been assessed yet.