We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我先按照这个https://docs.docker.com/guides/databases/
把映射做完后,
然后运行项目,就报错: C:\Users\liang\AppData\Local\Programs\Python\Python313\python.exe D:\cursor\code\cs7\ragflow-upload\ragflows\main.py 2025-01-22 18:03:48 【1/3】正在处理:D:/cursor/pdf1/1.pdf (1146, "Table 'rag_flow.document' doesn't exist") 2025-01-22 18:03:48 Function 'get_doc_item_by_name' took 0.04 seconds to execute. 2025-01-22 18:03:48 Function 'upload_file_to_kb' took 0.08 seconds to execute. 2025-01-22 18:03:48 {'code': 401, 'data': None, 'message': "<Unauthorized '401: Unauthorized'>"} 2025-01-22 18:03:48 D:/cursor/pdf1/1.pdf 上传失败:None 2025-01-22 18:03:48 【2/3】正在处理:D:/cursor/pdf1/2.pdf 2025-01-22 18:03:48 Function 'get_doc_item_by_name' took 0.00 seconds to execute. (1146, "Table 'rag_flow.document' doesn't exist") 2025-01-22 18:03:48 Function 'upload_file_to_kb' took 0.08 seconds to execute. 2025-01-22 18:03:48 {'code': 401, 'data': None, 'message': "<Unauthorized '401: Unauthorized'>"} 2025-01-22 18:03:48 D:/cursor/pdf1/2.pdf 上传失败:None 2025-01-22 18:03:48 【3/3】正在处理:D:/cursor/pdf1/3.pdf 2025-01-22 18:03:48 Function 'get_doc_item_by_name' took 0.01 seconds to execute. (1146, "Table 'rag_flow.document' doesn't exist") 2025-01-22 18:03:48 Function 'upload_file_to_kb' took 0.03 seconds to execute. 2025-01-22 18:03:48 {'code': 401, 'data': None, 'message': "<Unauthorized '401: Unauthorized'>"} 2025-01-22 18:03:48 D:/cursor/pdf1/3.pdf 上传失败:None 2025-01-22 18:03:48 all done
进程已结束,退出代码为 0
configs.py:
请大佬帮忙看看,谢谢
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
明显是你的 账号的验证id 没给对。 #2 参考 上面的 配置重新改一下 config 文件
你好, 1、 {'code': 401, 'data': None, 'message': "<Unauthorized '401: Unauthorized'>"}这提示鉴权错误,需要参考#2 检查一下config文件中的AUTHORIZATION字段配置;
{'code': 401, 'data': None, 'message': "<Unauthorized '401: Unauthorized'>"}
config文件
AUTHORIZATION
2、(1146, "Table 'rag_flow.document' doesn't exist")这里提示找不到document表,根据你提供的配置截图,mysql数据库端口配置的是3307,使用的是自己独立运行的数据库而非rag项目中的ragflow_mysql数据库,应改为你docker截图界面中ragflow_mysql的5455端口。
(1146, "Table 'rag_flow.document' doesn't exist")
document
3307
ragflow_mysql
5455
No branches or pull requests
我先按照这个https://docs.docker.com/guides/databases/
把映射做完后,
然后运行项目,就报错:
C:\Users\liang\AppData\Local\Programs\Python\Python313\python.exe D:\cursor\code\cs7\ragflow-upload\ragflows\main.py
2025-01-22 18:03:48 【1/3】正在处理:D:/cursor/pdf1/1.pdf
(1146, "Table 'rag_flow.document' doesn't exist")
2025-01-22 18:03:48 Function 'get_doc_item_by_name' took 0.04 seconds to execute.
2025-01-22 18:03:48 Function 'upload_file_to_kb' took 0.08 seconds to execute.
2025-01-22 18:03:48 {'code': 401, 'data': None, 'message': "<Unauthorized '401: Unauthorized'>"}
2025-01-22 18:03:48 D:/cursor/pdf1/1.pdf 上传失败:None
2025-01-22 18:03:48 【2/3】正在处理:D:/cursor/pdf1/2.pdf
2025-01-22 18:03:48 Function 'get_doc_item_by_name' took 0.00 seconds to execute.
(1146, "Table 'rag_flow.document' doesn't exist")
2025-01-22 18:03:48 Function 'upload_file_to_kb' took 0.08 seconds to execute.
2025-01-22 18:03:48 {'code': 401, 'data': None, 'message': "<Unauthorized '401: Unauthorized'>"}
2025-01-22 18:03:48 D:/cursor/pdf1/2.pdf 上传失败:None
2025-01-22 18:03:48 【3/3】正在处理:D:/cursor/pdf1/3.pdf
2025-01-22 18:03:48 Function 'get_doc_item_by_name' took 0.01 seconds to execute.
(1146, "Table 'rag_flow.document' doesn't exist")
2025-01-22 18:03:48 Function 'upload_file_to_kb' took 0.03 seconds to execute.
2025-01-22 18:03:48 {'code': 401, 'data': None, 'message': "<Unauthorized '401: Unauthorized'>"}
2025-01-22 18:03:48 D:/cursor/pdf1/3.pdf 上传失败:None
2025-01-22 18:03:48 all done
进程已结束,退出代码为 0
configs.py:
请大佬帮忙看看,谢谢
The text was updated successfully, but these errors were encountered: