-
Notifications
You must be signed in to change notification settings - Fork 977
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] ValueError: invalid arguments: (pikepdf._qpdf._ObjectList([Decimal('337.51312')]),) #2894
Comments
I tried to use |
The issue is pretty clearly with the input PDF or pikepdf and not with paperless, so there's nothing we'll be able to do. I would suggest seeing if upstream pikepdf is able to fix it: https://github.com/pikepdf/pikepdf/issues |
@stumpylog |
Not really. It's a very generic exception, not specific to pikepdf. It's also pretty early on from what I can tell, so there wouldn't be any document text to get out. You can work around it (probably) by setting |
Instead of directly throwing an exception and not saving the file, you could consider throwing a warning message. |
As mentioned above, the exception is not raised by our code and is a generic exception, which means determining what has gone wrong is basically impossible to know, so a decision can't be made about not erroring out. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns. |
Description
An error message occurred during the upload of a certain PDF file, stating
ValueError: invalid arguments: (pikepdf._qpdf._ObjectList([Decimal('337.51312')]),)
.Steps to reproduce
Webserver logs
Paperless-ngx version
1.13.0
Host OS
Arch Linux x86_64
Installation method
Docker - official image
Browser
Chrome 111.0.5563.64 (Official Build) (arm64)
Configuration changes
No response
Other
No response
The text was updated successfully, but these errors were encountered: