smalot / smalot/pdfparser

Error in parsing when "Annots" exsits in file

Open
#285 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs more info
Dominant language
PHP
Stars
2.7k
Forks
579
Avg merge
2m
Merged PRs (30d)
1

Description

Hello,

When upload some pdf files to read them, some of them have "annots" and it throws an exception.
These "annots" got when the file has some notes.
how can we solve this problem?

thank you

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the exception with a PDF containing annotations (“annots” or notes), then inspect the parser path and exception details to identify where annotation data is handled. Done means such PDFs can be uploaded and read without an exception, with existing behavior preserved for files without annotations.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.