chatchat-space / Langchain-Chatchat

Langchain-Chatchat(原Langchain-ChatGLM)基于 Langchain 与 ChatGLM, Qwen 与 Llama 等语言模型的 RAG 与 Agent 应用 | Langchain-Chatchat (formerly langchain-ChatGLM), local knowledge based LLM (like ChatGLM, Qwen and Llama) RAG and Agent app with langchain
Apache License 2.0
31.21k stars 5.45k forks source link

[BUG] cannot find loader for this WMF file #4635

Open xiaohundun opened 1 month ago

xiaohundun commented 1 month ago

问题描述 / Problem Description cannot find loader for this WMF file

复现问题的步骤 / Steps to Reproduce 上传 有 WMF 的docx文件

预期的结果 / Expected Result 正常上传、向量化

实际结果 / Actual Result RapidOCRDocLoader block index: 4300: 89%|████████▉ | 4300/4807 [00:30<00:01, 377.52it/s]2024-07-29 15:16:58.412 | ERROR | chatchat.server.knowledge_base.utils:files2docs_in_thread_file2docs:419 - OSError: 从文件 xxx.docx 加载文档时出错:cannot find loader for this WMF file

环境信息 / Environment Information

附加信息 / Additional Information 添加与问题相关的任何其他信息 / Add any other information related to the issue.

xiaohundun commented 1 month ago

0.2就有人反馈过这个问题, 那时候改改代码能用就行,现在 0.3 怎么弄呢

https://github.com/chatchat-space/Langchain-Chatchat/issues/2981

spyqa commented 1 month ago

问题解决了吗

xiaohundun commented 1 month ago

问题解决了吗

nbet commented 6 days ago

mmm...