Skip to content
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

pdftoppm creates empty files when it runs out of space #576

Closed
apyrgio opened this issue Oct 4, 2023 · 2 comments
Closed

pdftoppm creates empty files when it runs out of space #576

apyrgio opened this issue Oct 4, 2023 · 2 comments
Labels
bug Something isn't working container duplicate This issue or pull request already exists

Comments

@apyrgio
Copy link
Contributor

apyrgio commented Oct 4, 2023

We have seen that the pdftoppm tool can create empty files, if it cannot write in them due to lack of space (ENOSPC). Worse, it doesn't fail its execution, leading to a cryptic "Error converting PDF to Pixels (Invalid PPM header)" error, when our callback handler attempts to convert PPM files to RGB.

This is something we have seen as a side-effect of #574. This lack of reliability is worrisome, so it's probably best to see if we can use another tool.

@apyrgio apyrgio added bug Something isn't working container labels Oct 4, 2023
@apyrgio
Copy link
Contributor Author

apyrgio commented Oct 5, 2023

Actually, this error is a duplicate of an error @deeplow had already reported: #524. Closing this error in favor of the older one.

@apyrgio apyrgio added the duplicate This issue or pull request already exists label Oct 5, 2023
@deeplow
Copy link
Contributor

deeplow commented Oct 5, 2023

Looks like you forgot to close it

@deeplow deeplow closed this as completed Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working container duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants