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

【错误】streamlit.io上无法正常运行 #72

Open
novohool opened this issue Oct 9, 2024 · 0 comments
Open

【错误】streamlit.io上无法正常运行 #72

novohool opened this issue Oct 9, 2024 · 0 comments
Labels
【错误/BUG】 出现了某种错误

Comments

@novohool
Copy link

novohool commented Oct 9, 2024

操作系统

linux

项目版本

20241009

Python版本

py3.10

错误描述

FileNotFoundError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app).
Traceback:
File "/home/adminuser/venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 85, in exec_func_with_error_handling
result = func()
File "/home/adminuser/venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 576, in code_to_exec
exec(code, module.dict)
File "/mount/src/chenyme-aavt/Chenyme-AAVT.py", line 8, in
get_font_data()
File "/mount/src/chenyme-aavt/utils/get_font.py", line 41, in get_font_data
result = subprocess.run(['fc-list', ':', 'family'], capture_output=True, text=True)
File "/usr/local/lib/python3.10/subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/local/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)

FileNotFoundError: [Errno 2] No such file or directory: 'fc-list'

重现步骤

No response

错误截图

No response

其他信息(可选)

No response

@novohool novohool added the 【错误/BUG】 出现了某种错误 label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
【错误/BUG】 出现了某种错误
Projects
None yet
Development

No branches or pull requests

1 participant