[Bug]: Auto Split not working
Installation Method
Docker
The Problem
I want to use the automatic PDF splitting feature, but after uploading, the downloaded file is the same as the original PDF and is not split. I found issue #743, and I believe my situation is the same. The QR code link is https://github.com/Stirling-Tools/Stirling-PDF. What should I do?
Version of Stirling-PDF
0.33.1
Last Working Version of Stirling-PDF
No response
Page Where the Problem Occurred
/auto-split-pdf
Docker Configuration
No response
Relevant Log Output
No response
Additional Information
No response
Browsers Affected
No response
No Duplicate of the Issue
- [X] I have verified that there are no existing issues raised related to my problem.
Hey @zhang0116! 👋 I'm here to help you with any bugs, questions, or contributions for Stirling-PDF. I'm a bot designed to assist you while waiting for a human maintainer.
I found a similar closed issue, Unable to open 2nd split file, which was resolved in version 0.21.0. The issue was related to the auto-split feature, and the solution was implemented in that version [1].
For your specific problem with the auto-split feature in version 0.33.1, ensure that the QR code in your PDF matches one of the specified QR codes that trigger a split:
- "https://github.com/Stirling-Tools/Stirling-PDF"
- "https://github.com/Frooodle/Stirling-PDF"
Additionally, check if the duplex mode is enabled, as it might affect the splitting process by skipping pages. If the issue persists, consider verifying your Docker setup or checking for any updates or patches that might address this issue in the current version.
To continue talking to Dosu, mention @dosu.
Sorry, there was a mistake in my previous statement. The QR code link is https://github.com/Frooodle/Stirling-PDF. Auto Splitter Divider (with instructions).pdf
For me it does not even work, it gives an error and there is no details in the Docker logs, no details in the UI. I also tried running the EXE and get no other details. Just error.
Can anyone provide a example PDF you used for testing? I am unable to reproduce this
I cant reproduce this issue, closing ticket for now unless example PDFs can be provided
I just found this one. The order of operations matters. "remove-blanks" -> "auto-split-pdf" -> "ocr-pdf" works, but "ocr-pdf" -> "remove-blanks" -> "auto-split-pdf" doesn't.
Thanks will investigate
Interesting - my PDF were already OCRed by my copier.
I tried again with the latest 0.41.0, docker image stirlingtools/stirling-pdf:0.41.0 and I get the following error whether the PDF is OCRed or not:
Setting up fake worker failed: "error loading dynamically imported module".