-
Notifications
You must be signed in to change notification settings - Fork 5k
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 run webui.py的时候出现TypeError: 'NoneType' object is not iterable #2094
Comments
遇到同样的问题 |
#2032 pip install httpx==0.25.0可以解决
|
同样问题,重装httpx并没有奏效。。。 |
如果是0.2.7的话先试试本地模型和非openai的在线模型,openai支持有bug |
试试看重装httpx,版本设定为0.24.1 |
我升级到新版本后也出现了这个问题,但是api是可以调通的,已经试过了上面重装httpx的方法 |
我今天也遇到了这样的问题,理论上来讲没改动,然后我吃个饭,重启就跑不起来了……
模型用的是本地的glm3-6b(由程序自己调起) |
我用streamlit跑的,跑不明白 |
更新到最新代码吧,改了一些逻辑 |
一样的问题,求解决办法,已经git pull到最新的代码,还是一样报错 |
我也遇到了,还是不行。 |
我也有这个问题,有解决方案吗 |
有大佬解决了吗?我也这个问题。。。 |
我也遇到了同样的问题 |
我也遇到了同样的问题 |
我也是,救命 |
所以现在还是没有解决吗 |
问题描述 / Problem Description
在streamlit run webui.py的时候出现TypeError: 'NoneType' object is not iterable
复现问题的步骤 / Steps to Reproduce
2023-11-17 15:11:56,770 - utils.py[line:94] - ERROR: ConnectError: error when post /llm_model/list_running_models: [Errno 111] Connection refused
2023-11-17 15:11:56,771 - utils.py[line:94] - ERROR: ConnectError: error when post /llm_model/list_running_models: [Errno 111] Connection refused
2023-11-17 15:11:56,771 - utils.py[line:94] - ERROR: ConnectError: error when post /llm_model/list_running_models: [Errno 111] Connection refused
2023-11-17 15:11:56,874 - utils.py[line:94] - ERROR: ConnectError: error when post /llm_model/list_running_models: [Errno 111] Connection refused
2023-11-17 15:11:56,874 - utils.py[line:94] - ERROR: ConnectError: error when post /llm_model/list_running_models: [Errno 111] Connection refused
2023-11-17 15:11:56,874 - utils.py[line:94] - ERROR: ConnectError: error when post /llm_model/list_running_models: [Errno 111] Connection refused
2023-11-17 15:11:56.874 Uncaught app exception
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script
exec(code, module.dict)
File "/mnt/workspace/Langchain-Chatchat/webui.py", line 64, in
pages[selected_page]["func"](api=api, is_lite=is_lite)
File "/mnt/workspace/Langchain-Chatchat/webui_pages/dialogue/dialogue.py", line 83, in dialogue_page
running_models = list(api.list_running_models())
TypeError: 'NoneType' object is not iterable
环境信息 / Environment Information
附加信息 / Additional Information
添加与问题相关的任何其他信息 / Add any other information related to the issue.
在阿里云服务器PAI上运行的,模型下载到服务器上了,config路径也改了
The text was updated successfully, but these errors were encountered: