-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[Bug]: PDF to Word produces single page file with mangled contents #2944
Comments
Hey @arimmington! I'm a bot here to help you with bugs, questions, and contributions. Let's get this issue sorted out together. A similar issue was reported in a closed thread, where users experienced errors when converting PDFs to DOC, DOCX, or ODT formats. Unfortunately, no solution was found in the comments of that thread [1]. Given that running the command manually from the terminal produces the expected results, it might be worth checking if there are any discrepancies between the environment variables or permissions when the command is executed by Stirling-PDF versus manually. Additionally, ensure that the version of LibreOffice used by Stirling-PDF is the same as the one used in your manual tests. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other | Bug Report |
The java process is run as root and I ran the command as root as well (I know I shouldn't but it's just for testing), so I think there shouldn't be any differences in the environmental variables. Similarly, since I'm doing everything as root and simply copying the command from the logs wouldn't that ensure the version of LibreOffice being used is the same? I also want to clarify that there are no errors shown in the web-ui nor in the logs. Is there a way to increase log verbosity for sterling-pdf? |
Could you provide more details about the specific version of LibreOffice installed and any additional configurations you might have set up for Stirling-PDF? Also, have you tried running Stirling-PDF with increased resources to see if that affects the output? To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other | Bug Report |
LibreOffice version: LibreOffice 7.4.7.2 40(Build:2) All of this was the state before I submitted this report too. |
Hey @arimmington! I'm here to help with bugs, technical questions, and engineering knowledge, but it looks like your question is a bit outside my wheelhouse. If you think I should have been able to help with this, feel free to reach out to the Dosu Team. They'll be happy to hear your feedback! To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
i had the same problem on this version of LibreOffice |
@stinger679 Thank you! That solved it for me. |
Installation Method
Local Installation
The Problem
Whenever I attempt to produce a DOC/DOCX/ODT file from a pdf, it fails in some manner.
The output file is always a single page, and...
I've tried with different source PDFs and made sure I have the correct LibreOffice packages installed.
Logs seem to indicate that the operation is succeeding, and there are no other errors during the operation.
Copying the command from the logs and running it manually from terminal produces the expected results...
Environment is a Debian 12 (bookworm) LXC on proxmox. 4 vCPU and 4GB RAM
Version of Stirling-PDF
0.41.0
Last Working Version of Stirling-PDF
No response
Page Where the Problem Occurred
http://localhost:8080/pdf-to-word
Docker Configuration
Relevant Log Output
Additional Information
No response
Browsers Affected
No response
No Duplicate of the Issue
The text was updated successfully, but these errors were encountered: