Repository navigation
"PyMuPDF Plugin for Dify" (0.0.2) executes ".bat" files without reading them. #4463
Replies: 4 comments
|
The error message "Request URL is missing an 'http://' or 'https://' protocol." clearly is not a PyMuPDF error. |
|
Hi, @JorjMcKie Thank you for your reply.
-> I understand that very well, but even if this is a bug in Dify, I would like to ask for support from PyMuPDF! By the way, who is the owner of "PyMuPDF Plugin for Dify"?
-> If you watch this video recording on Dify, you will see that, PyMuPDF.Plugin.for.Dify.0.0.2.executes.bat.files.without.reading.them.mp4You are not trying to open a remote file directly, but uploading a file on your local disk to Dify. The other day, I was able to solve the problem with the standard "Document Extractor" block of Dify by using "PyMuPDF Plugin for Dify"! ... and I was just happy... Please help us find a solution! |
|
As a first action, I am going to remove your posts from the issues tab. It is a Discussions item. |
|
If "PyMuPDF Plugin for Dify" doesn't solve the problem, In the process, I deleted document_extractor/node.py in the Dify API container, In other words, it seems that "PyMuPDF Plugin for Dify" is not installed correctly in Dify. -> I also tried to install it from a local package after downloading "yevanchen-pymupdf_0.0.2.difypkg". . By the way, where in Dify is "PyMuPDF Plugin for Dify" installed? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Description of the bug
PyMuPDF.Plugin.for.Dify.0.0.2.executes.bat.files.without.reading.them.mp4
"PyMuPDF Plugin for Dify" (0.0.2) executes ".bat" files without reading them.
I want to extract the file without executing the ".bat" file.
How to reproduce the bug
I entered "Explain this action"(この動作を説明して) in the prompt and executed the Define chatflow with "test_ping.bat".
"test_ping.bat" was sent to "PyMuPDF Tool".
"PyMuPDF Tool" sent the results of executing "test_ping.bat" to LLM, so LLM responded with the error content.
{ "LLM": "GPT", "files": { "dify_model_identity": "__dify__file__", "id": null, "tenant_id": "7f018048-900d-48c3-988a-cfb96ddfd6d3", "type": "custom", "transfer_method": "local_file", "remote_url": "", "related_id": "3c5d1fd0-be1b-4d27-a56a-6427a3f609f9", "filename": "test_ping.bat", "extension": ".bat", "mime_type": "application/octet-stream", "size": 79, "url": "/files/3c5d1fd0-be1b-4d27-a56a-6427a3f609f9/file-preview?timestamp=1745283359&nonce=77bd5826be88a1e03d80890c021b2850&sign=qg0M3ZQsofNOM9aw_g7IAsbNMAWBXvY4W7gBvnkcdeM=" }, "sys.query": "この動作を説明して", "sys.files": [], "sys.conversation_id": "f8f0d5cf-9173-4595-949a-8eb873e9593e", "sys.user_id": "d8738074-f72c-4396-a659-9f98707e714f", "sys.dialogue_count": 0, "sys.app_id": "67097e3a-2cad-4f36-9d2b-3868676c8178", "sys.workflow_id": "a22684e9-2b73-46c9-9e98-df07e9a3e8a2", "sys.workflow_run_id": "d1e7643a-24b5-4145-9fa0-02e8f0820c90" }{ "answer": "Error processing test_ping.bat: Request URL is missing an 'http://' or 'https://' protocol." }↓
(LLM Input)
↓
(LLM Output)
PyMuPDF version
Built from source ( yevanchen-pymupdf_0.0.2.difypkg )
Operating system
Linux (Dify on Docker)
Python version
3.12
All reactions