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

模板加载失败,知识库文件向量化报错 #140

Open
qy-70 opened this issue Jan 4, 2024 · 1 comment
Open

模板加载失败,知识库文件向量化报错 #140

qy-70 opened this issue Jan 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@qy-70
Copy link

qy-70 commented Jan 4, 2024

Could not create share link. Please check your internet connection or our status page: https://status.gradio.app
Traceback (most recent call last):
File "C:\Users\qyy.conda\envs\chatglm1\Lib\site-packages\gradio\routes.py", line 394, in run_predict
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\qyy.conda\envs\chatglm1\Lib\site-packages\gradio\blocks.py", line 1075, in process_api
result = await self.call_function(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\qyy.conda\envs\chatglm1\Lib\site-packages\gradio\blocks.py", line 884, in call_function
prediction = await anyio.to_thread.run_sync(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\qyy.conda\envs\chatglm1\Lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\qyy.conda\envs\chatglm1\Lib\site-packages\anyio_backends_asyncio.py", line 2134, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "C:\Users\qyy.conda\envs\chatglm1\Lib\site-packages\anyio_backends_asyncio.py", line 851, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\project\GLM-Webui\LangChain-ChatGLM-Webui\app.py", line 203, in init_vector_store
file_obj.name)
^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'name'
Uploading 1704356152522.jpg…

@thomas-yanxin thomas-yanxin added the bug Something isn't working label Jan 8, 2024
@123456ADWAE2
Copy link
Contributor

能否提供环境和知识库文件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants