Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

WASM cache fails to download when venv is under Program Files (Windows)

Aberta
#126 0 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@ansBAkula já está trabalhando nisso.

Desde 18/9/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

enhancement
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 Files followed by a non‑admin run does not raise PermissionError and 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

Linguagem predominante
Python
Estrelas
1
Forks
0
Merge médio
1d 10h
PRs com merge (30d)
31

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de ansys/Visual-Interactive-Simulation-Object-Renderer

Todas as issues de ansys/Visual-Interactive-Simulation-Object-Renderer

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.