poldracklab / tacc-openneuro

0 stars 1 forks source link

ds002748: TimeoutError: Lock error: Matplotlib failed to acquire the following lock file: #6

Closed jbwexler closed 1 year ago

jbwexler commented 2 years ago

The majority of subjects in ds002748 failed with this error. @effigies suggested running python -c "from matplotlib import font_manager"within the environment to pre-cache the fonts. I haven't tried this yet as I'm not sure exactly how to do this with reproman to be honest. I will also note that it seems a font issue is causing https://github.com/poldracklab/tacc-openneuro/issues/5, perhaps they are related.

(main) login4.frontera(1020)$ tail /scratch1/03201/jbwexler/openneuro_derivatives/derivatives/fmriprep/ds000008-fmriprep/.reproman/jobs/local/20220215-151247-c9f3/stderr.0 File "/opt/conda/lib/python3.8/site-packages/matplotlib/font_manager.py", line 1003, in json_dump with cbook._lock_path(filename), open(filename, 'w') as fh: File "/opt/conda/lib/python3.8/contextlib.py", line 113, in enter return next(self.gen) File "/opt/conda/lib/python3.8/site-packages/matplotlib/cbook/init.py", line 1774, in _lock_path raise TimeoutError("""\ TimeoutError: Lock error: Matplotlib failed to acquire the following lock file: /scratch1/03201/jbwexler/openneuro_derivatives/derivatives/fmriprep/ds000008-fmriprep/code/containers/binds/HOME/.cache/matplotlib/fontlist-v330.json.matplotlib-lock This maybe due to another process holding this lock file. If you are sure no other Matplotlib process is running, remove this file and try again.

jbwexler commented 2 years ago

Just ran into this issue again with ds000208.

jbwexler commented 2 years ago

And ds000144.