ansys / ansys/pyworkbench-examples

Bug located in pymechanical-integration

Open
#166 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### 🔍 Before submitting the issue

- [x] I have searched among the existing issues
- [x] I am using a Python virtual environment

### 🐞 Description of the bug

After installing 251 as part of the triage for solving #144, the pymechanical-integration example stopped running via GH actions. Below is a brief account of events:
- prior to #144, pyfluent-workflow example wasn't running via GH actions. However, running it directly on the runner(self-hosted) worked fine.
- A similar issue was faced in a different repo (pyansys-heart), where launching fluent in no-gui mode fixed the issue. Hence, 251 was installed since it allows running fluent in no-gui mode through workbench.
- This indeed fixed things. But pymechanical-integration example started failing afterwards.
- The following have been tried and did not fix the issue:
- - Bumping ansys-workbench-core to the latest version
- - Launching pymechanical in no-gui mode
- - Using 242 or 241 for running the example

### 📝 Steps to reproduce

- Create a PR with the pymechanical-integration example activated.
- The documentation build job will not be successful because the example doesn't run.
- - The job keeps running indefinitely and auto-cancels after 6 hours. See [workflow example](https://github.com/ansys/pyworkbench-examples/actions/runs/14268457982/job/39995955129).

### 💻 Which operating system are you using?

Windows

### 📀 Which ANSYS version are you using?

_No response_

### 🐍 Which Python version are you using?

3.11

### 📦 Installed packages

See "install requirement" step of [this workflow](https://github.com/ansys/pyworkbench-examples/actions/runs/14268457982/job/39995955129).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.