Skip to content

Fix private appdata environment variables and folder layout#474

Merged
koubaa merged 3 commits intomainfrom
fix/appdata-tmp-loc
Oct 25, 2023
Merged

Fix private appdata environment variables and folder layout#474
koubaa merged 3 commits intomainfrom
fix/appdata-tmp-loc

Conversation

@klmcadams
Copy link
Collaborator

@klmcadams klmcadams commented Oct 25, 2023

  • Added env["TMP"] and env["TEMP"] paths for private_appdata to fix the issue when AnsysWBU.exe encounters a problem and the diagnostic file is written to C:\Users\username\AppData\Local\Temp\number\AnsysWBDumpFile.dmp

  • Added a "PyMechanical-AppData" folder that contains "PyMechanical-pid" folders to make deleting the temporary appdata directories manually easier. This could be removed once the complete deletion of the PyMechanical-pid folders works

@github-actions github-actions bot added the bug Something isn't working label Oct 25, 2023
@klmcadams klmcadams requested a review from koubaa October 25, 2023 17:00
@koubaa koubaa merged commit edfbc97 into main Oct 25, 2023
@koubaa koubaa deleted the fix/appdata-tmp-loc branch October 25, 2023 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants