Stirling-PDF
Stirling-PDF copied to clipboard
[Bug]: A fixed bug appeared in a newer version.
Installation Method
Local Installation
The Problem
I understand that the efficiency bug was supposedly fixed back in version 37.1. However, I'm running version 38.0, and I'm still encountering the issue. There was a previous hypothesis that it might be due to only a single image being compressed within the file. The compression process runs indefinitely and yields no results.
Version of Stirling-PDF
0.38.0
Last Working Version of Stirling-PDF
No response
Page Where the Problem Occurred
http://localhost:8080/compress-pdf
Docker Configuration
Relevant Log Output
фев 14 15:00:41 srv-pdftools.nahodka.market java[11209]: 15:00:41.381 [Thread-17130] INFO s.s.SPDF.utils.ProcessExecutor - qpdf: operation succeeded with warnings; resulting file may have some problems
фев 14 15:00:41 srv-pdftools.nahodka.market java[11209]: 15:00:41.383 [qtp17608784-117] INFO s.s.SPDF.utils.ProcessExecutor - Running command: qpdf --optimize-images --recompress-flate --compression-level=9 --compress-streams=y --object-streams=generate /tmp/input_11237122787954974791.pdf /tmp/output_13474771323943889482.pdf
фев 14 15:00:41 srv-pdftools.nahodka.market java[11209]: 15:00:41.383 [qtp17608784-159] INFO s.s.S.c.api.misc.CompressController - Current compression ratio: 2,18
фев 14 15:00:41 srv-pdftools.nahodka.market java[11209]: 15:00:41.388 [qtp17608784-159] WARN o.apache.pdfbox.pdmodel.PDDocument - You are overwriting the existing file input_3455338046380592163.pdf, this will produce a corrupted file if you're also reading from it
фев 14 15:00:41 srv-pdftools.nahodka.market java[11209]: 15:00:41.389 [Thread-17134] INFO s.s.SPDF.utils.ProcessExecutor - WARNING: /tmp/input_11237122787954974791.pdf: reported number of objects (1601) is not one plus the highest object number (1599)
фев 14 15:00:41 srv-pdftools.nahodka.market java[11209]: 15:00:41.391 [Thread-17132] INFO s.s.SPDF.utils.ProcessExecutor - qpdf: operation succeeded with warnings; resulting file may have some problems
фев 14 15:00:41 srv-pdftools.nahodka.market java[11209]: 15:00:41.391 [qtp17608784-456] INFO s.s.SPDF.utils.ProcessExecutor - Running command: qpdf --optimize-images --recompress-flate --compression-level=9 --compress-streams=y --object-streams=generate /tmp/input_5124983596541448419.pdf /tmp/output_7461192262171203455.pdf
фев 14 15:00:41 srv-pdftools.nahodka.market java[11209]: 15:00:41.391 [qtp17608784-2644] INFO s.s.S.c.api.misc.CompressController - Current compression ratio: 2,18
фев 14 15:00:41 srv-pdftools.nahodka.market java[11209]: 15:00:41.398 [qtp17608784-2644] WARN o.apache.pdfbox.pdmodel.PDDocument - You are overwriting the existing file input_16718023660214907066.pdf, this will produce a corrupted file if you're also reading from it
фев 14 15:00:41 srv-pdftools.nahodka.market java[11209]: 15:00:41.401 [Thread-17136] INFO s.s.SPDF.utils.ProcessExecutor - WARNING: /tmp/input_5124983596541448419.pdf: reported number of objects (1931) is not one plus the highest object number (1929)
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.