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

pdf_helper.: PDF file parsing failed: '/Names' #825

Closed
bosd opened this issue Oct 7, 2023 · 4 comments · May be fixed by #925
Closed

pdf_helper.: PDF file parsing failed: '/Names' #825

bosd opened this issue Oct 7, 2023 · 4 comments · May be fixed by #925
Labels
bug stale PR/Issue without recent activity, it'll be soon closed automatically.

Comments

@bosd
Copy link
Contributor

bosd commented Oct 7, 2023

pdf_helper is always throwing an error, while working with a text / image based pdf as import.

pdf_helper

Describe the bug

The server log is polluted with ERROR lines which actually are no errors.
2023-10-07 17:59:57,180 1787 ERROR odoo odoo.addons.pdf_helper.models.helper: PDF file parsing failed: '/Names'

To Reproduce

Affected versions:
14.0

Steps to reproduce the behavior:

  1. Upload an pdf to any module which uses pdf_helper. Example account_invoice_import_invoice2data

Expected behavior
No error lines in the logger on standard functionality.

@bosd bosd added the bug label Oct 7, 2023
@pcastelovigo
Copy link

I can reproduce it, even if module works and passes tests.

@simahawk
Copy link
Contributor

Yeah, I find it annoying too.
Reason: https://github.com/OCA/edi/blob/14.0/pdf_helper/models/helper.py#L26
For now I would simply switch it to debug.

@bosd
Copy link
Contributor Author

bosd commented Dec 30, 2023

Fix for V16 on it's way in: #898

Copy link

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jun 30, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants