-
Notifications
You must be signed in to change notification settings - Fork 604
本地部署dify添加pymupdf插件后无法读取文件出错 #4452
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
Comments
Please provide evidence that PyMuPDF is causing an issue here, and please use English language exclusively: this will help our team and our international users to understand. |
An error occurred when dify was deployed locally and the pymupdf plugin was added, but the file could not be read |
Check out whether pymupdf can read the file when provided locally via |
@JorjMcKie Hmm? Is this a similar problem? #4461 |
@CTD-Networks-CO-LTD - We are talking past each other:
Only if the statement under point 2. does not work, we are able to deal with your post. Background is that we cannot to reproduce your environment without installing additional software ("dify" etc.). This is beyond the scope we can cover here. BTW: When trying to understand the provided JSON snippets it seems that you are trying to directly open a remote file. This is not supported by PyMuPDF. PyMuPDF can only access files on local disks or as file images resident in memory. |
Closed as being part of this converted Discussions post. |
请求帮助,我在本地部署dify添加pymupdf插件后无法读取文件出错
输入:
{
"files": [
{
"dify_model_identity": "dify__file",
"id": null,
"tenant_id": "36e0aa23-c85f-4d83-b11c-6f09c1df3144",
"type": "document",
"transfer_method": "local_file",
"remote_url": "",
"related_id": "5c03033e-d65d-49fa-89c8-861538b7ae7b",
"filename": "发明.pdf",
"extension": ".pdf",
"mime_type": "application/pdf",
"size": 443814,
"url": "/files/5c03033e-d65d-49fa-89c8-861538b7ae7b/file-preview?timestamp=1744964436&nonce=433c31bc2230fc88448a02798d72f5a2&sign=sbVn70SZz_ObRTrk0EwYJnSrEOVNaFzZneRy2oSgUr0="
}
]
}
输出:
{
"text": "Error processing 发明.pdf: Request URL is missing an 'http://' or 'https://' protocol.",
"files": [],
"json": [
{
"发明.pdf": {
"error": "Request URL is missing an 'http://' or 'https://' protocol."
}
}
]
}
The text was updated successfully, but these errors were encountered: