WASM cache fails to download when venv is under Program Files (Windows)
@ansBAkula y travaille déjà.
Depuis le 18/9/2026.
Évaluation
Cette issue n'a pas encore été évaluée.
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
- Langage dominant
- Python
- Étoiles
- 1
- Forks
- 0
- Merge moyen
- 1 j 21 h
- PR mergées (30 j)
- 46
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de ansys/Visual-Interactive-Simulation-Object-Renderer
-
Library updates Ouvertetechnical
ansys/Visual-Interactive-Simulation-Object-Renderer#136 · 1 personne assignée ·
-
[User Story]: Fix workflows Ouvertemaintenance
ansys/Visual-Interactive-Simulation-Object-Renderer#131 · 1 personne assignée ·
-
Release 1.0.2 Ouvertemaintenance
ansys/Visual-Interactive-Simulation-Object-Renderer#130 · 1 personne assignée ·
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 52/100
-
Documentation Feature Ouverte
ansys/Visual-Interactive-Simulation-Object-Renderer#112 · 1 personne assignée ·
Toutes les issues de ansys/Visual-Interactive-Simulation-Object-Renderer
Issues similaires
-
bug confirmed issue
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
open-webui/open-webui#30750 · 1 commentaire ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 commentaire ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
-
good first issue
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100