Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime errors due to failure to create temp folder #4652

Closed
slicerbot opened this issue Mar 13, 2020 · 1 comment
Closed

Runtime errors due to failure to create temp folder #4652

slicerbot opened this issue Mar 13, 2020 · 1 comment
Labels
Priority: Medium Issues that we plan to fix but there are available workarounds
Milestone

Comments

@slicerbot
Copy link
Collaborator

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.

@sjh26 sjh26 added the Priority: Medium Issues that we plan to fix but there are available workarounds label Mar 18, 2020
@sjh26 sjh26 added this to the Backlog milestone Mar 18, 2020
lassoan added a commit to lassoan/Slicer that referenced this issue Feb 13, 2021
To ensure that CLI modules, sample data downloads, etc. work it is necessary to have a writable temporary directory.
In some cases the path specified in application settings does not point to a valid, writable location anymore.

To fix this, the application checks at startup that the temporary path is writeable. If the check fails then the path is reset to the default.

see Slicer#4652
lassoan added a commit to lassoan/Slicer that referenced this issue Feb 13, 2021
To ensure that CLI modules, sample data downloads, etc. work it is necessary to have a writable temporary directory.
In some cases the path specified in application settings does not point to a valid, writable location anymore.

To fix this, the application checks at startup that the temporary path is writeable. If the check fails then the path is reset to the default.

see Slicer#4652
lassoan added a commit that referenced this issue Feb 14, 2021
* BUG: Ensure temporaryPath is writable

To ensure that CLI modules, sample data downloads, etc. work it is necessary to have a writable temporary directory.
In some cases the path specified in application settings does not point to a valid, writable location anymore.

To fix this, the application checks at startup that the temporary path is writeable. If the check fails then the path is reset to the default.

see #4652

Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
@lassoan
Copy link
Contributor

lassoan commented Nov 15, 2022

If temporary path is not writable then a new temporary path is generated.

@lassoan lassoan closed this as completed Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium Issues that we plan to fix but there are available workarounds
Development

No branches or pull requests

3 participants