You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raise OSError( OSError: Matplotlib requires access to a writable cache directory, but the default path (/root/.config/matplotlib) is not a writable directory, and a temporary directory could not be created; set the MPLCONFIGDIR environment variable to a writable directory error: exit status 255
#117
Open
5 tasks done
pyxsqbs opened this issue
Dec 6, 2024
· 0 comments
I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
Please do not modify this template :) and fill in all the required fields.
Dify version
0.7.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Node [PY] 工作流输出 run failed: sandbox-python/tmp/68e7b735_8d47_4b5a_9cae_dcdf32e68c70.py", line 48, in File "", line 15, in File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 981, in dict.update(rcParams, _rc_params_in_file(matplotlib_fname())) File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 629, in matplotlib_fname for fname in gen_candidates(): File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 626, in gen_candidates yield os.path.join(get_configdir(), 'matplotlibrc') File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 339, in wrapper ret = func(**kwargs) File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 572, in get_configdir return _get_config_or_cache_dir(_get_xdg_config_dir) File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 540, in _get_config_or_cache_dir raise OSError( OSError: Matplotlib requires access to asandbox-python/tmp/68e7b735_8d47_4b5a_9cae_dcdf32e68c70.py", line 48, in File "", line 15, in File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 981, in dict.update(rcParams, _rc_params_in_file(matplotlib_fname())) File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 629, in matplotlib_fname for fname in gen_candidates(): File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 626, in gen_candidates yield os.path.join(get_configdir(), 'matplotlibrc') File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 339, in wrapper ret = func(**kwargs) File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 572, in get_configdir return _get_config_or_cache_dir(_get_xdg_config_dir) File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 540, in _get_config_or_cache_dir raise OSError( OSError: Matplotlib requires access to a writable cache directory, but the default path (/root/.config/matplotlib) is not a writable directory, and a temporary directory could not be created; set the MPLCONFIGDIR environment variable to a writable directory error: exit status 255
OSError( OSError: Matplotlib requires access to a writable cache directory, but the default path (/root/.config/matplotlib) is not a writable directory, and a temporary directory could not be created; set the MPLCONFIGDIR environment variable to a writable directory error: exit status 255
The text was updated successfully, but these errors were encountered:
Self Checks
Dify version
0.7.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Node [PY] 工作流输出 run failed: sandbox-python/tmp/68e7b735_8d47_4b5a_9cae_dcdf32e68c70.py", line 48, in File "", line 15, in File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 981, in dict.update(rcParams, _rc_params_in_file(matplotlib_fname())) File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 629, in matplotlib_fname for fname in gen_candidates(): File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 626, in gen_candidates yield os.path.join(get_configdir(), 'matplotlibrc') File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 339, in wrapper ret = func(**kwargs) File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 572, in get_configdir return _get_config_or_cache_dir(_get_xdg_config_dir) File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 540, in _get_config_or_cache_dir raise OSError( OSError: Matplotlib requires access to asandbox-python/tmp/68e7b735_8d47_4b5a_9cae_dcdf32e68c70.py", line 48, in File "", line 15, in File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 981, in dict.update(rcParams, _rc_params_in_file(matplotlib_fname())) File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 629, in matplotlib_fname for fname in gen_candidates(): File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 626, in gen_candidates yield os.path.join(get_configdir(), 'matplotlibrc') File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 339, in wrapper ret = func(**kwargs) File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 572, in get_configdir return _get_config_or_cache_dir(_get_xdg_config_dir) File "/usr/local/lib/python3.10/site-packages/matplotlib/init.py", line 540, in _get_config_or_cache_dir raise OSError( OSError: Matplotlib requires access to a writable cache directory, but the default path (/root/.config/matplotlib) is not a writable directory, and a temporary directory could not be created; set the MPLCONFIGDIR environment variable to a writable directory error: exit status 255
i got it, please help.
Originally posted by @pyxsqbs in #37 (comment)
✔️ Expected Behavior
Run success!
❌ Actual Behavior
OSError( OSError: Matplotlib requires access to a writable cache directory, but the default path (/root/.config/matplotlib) is not a writable directory, and a temporary directory could not be created; set the MPLCONFIGDIR environment variable to a writable directory error: exit status 255
The text was updated successfully, but these errors were encountered: