[GH-ISSUE #3739] [BUG]: Collector bug when upload PDF file due to font issue #2409

Closed
opened 2026-02-22 18:29:33 -05:00 by yindo · 2 comments
Owner

Originally created by @zapobyte on GitHub (Apr 29, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3739

How are you running AnythingLLM?

Docker (local) - using latest version 1.8

What happened?

I have uploaded a PDF document and the collector breaks the upload workflow due to font error.
Once i upload the document, the UI gets stuck and back-end shows a warning message continuously. If i refresh it will be uploaded but this isn't the desire workflow.

Added an screenshot of an expert of PDF:
Image

And the logs show:

2025-04-29T12:33:41.203263572Z [collector] info: Warning: Ran out of space in font private use area.
2025-04-29T12:33:41.203265716Z [collector] info: Warning: Ran out of space in font private use area.
2025-04-29T12:33:41.203267609Z [collector] info: Warning: Ran out of space in font private use area.
2025-04-29T12:33:41.203269473Z [collector] info: Warning: Ran out of space in font private use area.
2025-04-29T12:33:41.203271326Z [collector] info: Warning: Ran out of space in font private use area.
2025-04-29T12:33:41.203273280Z [collector] info: Warning: Ran out of space in font private use area.
2025-04-29T12:33:41.203275294Z [collector] info: Warning: Ran out of space in font private use area.
2025-04-29T12:33:41.203277187Z [collector] info: Warning: Ran out of space in font private use area.
2025-04-29T12:33:41.203279041Z [collector] info: Warning: Ran out of space in font private use area.
2025-04-29T12:33:41.203280914Z [collector] info: Warning: Ran out of space in font private use area.
2025-04-29T12:33:41.203282948Z [collector] info: Warning: Ran out of space in font private use area.
2025-04-29T12:33:41.203284801Z [collector] info: Warning: Ran out of space in font private use area.
2025-04-29T12:33:41.203286715Z [collector] info: Warning: Ran out of space in font private use area.
2025-04-29T12:33:41.203288579Z [collector] info: Warning: Ran out of space in font private use area.
2025-04-29T12:33:41.203290492Z [collector] info: Warning: Ran out of space in font private use area.
2025-04-29T12:33:41.203292376Z [collector] info: Warning: Ran out of space in font private use area.

This seems to be because of pdf-parser, as it's an very old version, over 7 years ago last updated(https://www.npmjs.com/package/pdf-parse).

If you need more information please let me know.

Thanks,
Victor

Are there known steps to reproduce?

  1. Upload a document
  2. The UI gets stuck and it never completes the upload
  3. Backend(collector) will continuously show the provided logs messages
  4. If you refresh, the document is uploaded and the error will dissapear.

No response

Originally created by @zapobyte on GitHub (Apr 29, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3739 ### How are you running AnythingLLM? Docker (local) - using latest version 1.8 ### What happened? I have uploaded a PDF document and the collector breaks the upload workflow due to font error. Once i upload the document, the UI gets stuck and back-end shows a warning message continuously. If i refresh it will be uploaded but this isn't the desire workflow. Added an screenshot of an expert of PDF: ![Image](https://github.com/user-attachments/assets/18cb48ce-674f-4091-a761-b13ad85936d8) And the logs show: ``` 2025-04-29T12:33:41.203263572Z [collector] info: Warning: Ran out of space in font private use area. 2025-04-29T12:33:41.203265716Z [collector] info: Warning: Ran out of space in font private use area. 2025-04-29T12:33:41.203267609Z [collector] info: Warning: Ran out of space in font private use area. 2025-04-29T12:33:41.203269473Z [collector] info: Warning: Ran out of space in font private use area. 2025-04-29T12:33:41.203271326Z [collector] info: Warning: Ran out of space in font private use area. 2025-04-29T12:33:41.203273280Z [collector] info: Warning: Ran out of space in font private use area. 2025-04-29T12:33:41.203275294Z [collector] info: Warning: Ran out of space in font private use area. 2025-04-29T12:33:41.203277187Z [collector] info: Warning: Ran out of space in font private use area. 2025-04-29T12:33:41.203279041Z [collector] info: Warning: Ran out of space in font private use area. 2025-04-29T12:33:41.203280914Z [collector] info: Warning: Ran out of space in font private use area. 2025-04-29T12:33:41.203282948Z [collector] info: Warning: Ran out of space in font private use area. 2025-04-29T12:33:41.203284801Z [collector] info: Warning: Ran out of space in font private use area. 2025-04-29T12:33:41.203286715Z [collector] info: Warning: Ran out of space in font private use area. 2025-04-29T12:33:41.203288579Z [collector] info: Warning: Ran out of space in font private use area. 2025-04-29T12:33:41.203290492Z [collector] info: Warning: Ran out of space in font private use area. 2025-04-29T12:33:41.203292376Z [collector] info: Warning: Ran out of space in font private use area. ``` This seems to be because of `pdf-parser`, as it's an very old version, over 7 years ago last updated(https://www.npmjs.com/package/pdf-parse). If you need more information please let me know. Thanks, Victor ### Are there known steps to reproduce? 1. Upload a document 2. The UI gets stuck and it never completes the upload 3. Backend(collector) will continuously show the provided logs messages 4. If you refresh, the document is uploaded and the error will dissapear. _No response_
yindo added the possible bugneeds info / can't replicate labels 2026-02-22 18:29:33 -05:00
yindo closed this issue 2026-02-22 18:29:33 -05:00
Author
Owner

@timothycarambat commented on GitHub (Apr 29, 2025):

Do you have an example of a PDF so we can replicate this error?

@timothycarambat commented on GitHub (Apr 29, 2025): Do you have an example of a PDF so we can replicate this error?
Author
Owner

@zapobyte commented on GitHub (May 1, 2025):

Hi, unfortunately I don't have the document, it was from a client that wouldn't like to share it...
I will try to find another one to replicate this and provide if possible.
Thanks for the response.

@zapobyte commented on GitHub (May 1, 2025): Hi, unfortunately I don't have the document, it was from a client that wouldn't like to share it... I will try to find another one to replicate this and provide if possible. Thanks for the response.
yindo changed title from [BUG]: Collector bug when upload PDF file due to font issue to [GH-ISSUE #3739] [BUG]: Collector bug when upload PDF file due to font issue 2026-06-05 14:46:22 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2409