WASM cache fails to download when venv is under Program Files (Windows)
@ansBAkula is already working on this.
Since Sep 18, 2026.
Assessment
This issue has not been assessed yet.
Description
User Story Description
As a user or system integrator
I want the SAF Visor to successfully download and cache VTK WebAssembly (WASM) assets on first run
So that the application starts correctly for non‑admin users even when the product was installed under C:\Program Files\....
Background
On first run, trame_vtklocal downloads and caches VTK WASM assets into the Python virtual environment. The module writes to a path like:
C:\Program Files\ANSYS Inc\SAF Solutions\...\.venv\Lib\site-packages\trame_vtklocal\module\serve\wasm\9.6.1
When the virtualenv is located under C:\Program Files, Windows prevents non‑elevated processes from creating/writing folders there. This causes pathlib.Path.mkdir() in trame_vtklocal/module/wasm.py to raise a PermissionError / FileNotFoundError on first run, e.g. "Access is denied" or "[WinError 3] The system cannot find the path specified".
Acceptance Criteria
- A fresh install of SAF under
C:\Program Filesfollowed by a non‑admin run does not raisePermissionErrorand the WASM assets are downloaded to a writable location.
Additional Links
No response
Requires new or update to third party ? If "yes" add the name(s) and the version(s) of the Third Party Software.
No
Name and Version for Third Parties
No response
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 47
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ansys/Visual-Interactive-Simulation-Object-Renderer
-
Difficulty 3/5 1-2 days Newbie friendliness 50/100
-
Library updates Opentechnical
ansys/Visual-Interactive-Simulation-Object-Renderer#136 · 1 assignee ·
-
maintenance
ansys/Visual-Interactive-Simulation-Object-Renderer#131 · 1 assignee ·
-
Release 1.0.2 Openmaintenance
ansys/Visual-Interactive-Simulation-Object-Renderer#130 · 1 assignee ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 52/100
All issues in ansys/Visual-Interactive-Simulation-Object-Renderer
Similar issues
-
bug priority:low
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
CyberAgent/psd2svg#436 ·
-
area/install-update comp/cli comp/desktop P3 sweeper:risk-compatibility type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
NousResearch/hermes-agent#122386 · 1 comment ·
-
ai-generated
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vllm-project/production-stack#1105 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100