ansys / ansys/pymechanical

Bug located in Embedding App

Open
#1,699 0 comments 0 reactions 0 assignees View on GitHub
bug
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

SEH exception occurs when user initialize App with AppData\Local\Python\pythoncore-3.14-64\ python. This may be related to issue we had which is related to windows store python. Also we need to update the conditions for 261 for windows store work around

### Steps To Reproduce

install windows store python and create embedded App

### Which Operating System are you using?

Windows

### Which Python version are you using?

3.14

### Which Ansys Mechanical version are you using?

2026 R1

### Installed packages

NA

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the SEH exception when initializing the embedded App with Windows Store Python 3.14. Then inspect the App initialization path and the existing conditions for the Windows Store workaround mentioned in the report; done means initialization no longer raises the exception and the conditions cover the reported Python path.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.