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

Emit explanatory exception when no temporary cachedir can be created. #25840

Merged
merged 1 commit into from
May 9, 2023

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented May 9, 2023

A warning is already emitted when a temporary cachedir is created; it seems reasonable to also explain the situation when no cachedir can be created at all. Also note that in these cases the directory really only serves as cache, not as configdir (there won't be user-defined configs there), so adjust the message accordingly.

Closes #25838.

PR summary

PR checklist

A warning is already emitted when a temporary cachedir is created; it
seems reasonable to also explain the situation when no cachedir can be
created at all.  Also note that in these cases the directory really only
serves as cache, not as configdir (there won't be user-defined configs
there), so adjust the message accordingly.
@tacaswell tacaswell added this to the v3.7.2 milestone May 9, 2023
@ksunden
Copy link
Member

ksunden commented May 9, 2023

Anyone can merge on Green CI (modulo tk problems on azure macos which are known)

@ksunden ksunden merged commit 0172ec3 into matplotlib:main May 9, 2023
31 of 34 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request May 9, 2023
@anntzer anntzer deleted the tc branch May 9, 2023 19:19
ksunden added a commit that referenced this pull request May 9, 2023
…840-on-v3.7.x

Backport PR #25840 on branch v3.7.x (Emit explanatory exception when no temporary cachedir can be created.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Doc]: running matplotlib with readonly fs
3 participants