poldracklab / tacc-openneuro

0 stars 1 forks source link

Fontconfig error: No writable cache directories #25

Open jbwexler opened 2 years ago

jbwexler commented 2 years ago

I'm getting these errors in the stderr files of every subject of every dataset these days, both fmriprep and mriqc. Everything still completes successfully so not a huge deal, such a minor annoyance.

Matplotlib created a temporary config/cache directory at /tmp/matplotlib-69p3aos7 because the default path (/home/mriqc/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing. Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories

effigies commented 1 year ago

Is this still happening?

jbwexler commented 1 year ago

Yep

effigies commented 1 year ago

This may be more related to pandoc than matplotlib: https://github.com/pandoc/dockerfiles/issues/180

jbwexler commented 1 year ago

I tried adding export MPLCONFIGDIR='path/to/mplconfigdir' to my script but that directory remained empty at the end of the run and I still get the same errors.