mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 23:21:44 -05:00
[GH-ISSUE #8856] PDF Upload - cannot reshape array of size #X into shape #69894
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BloodBlight on GitHub (Jan 24, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8856
Bug Report
Installation Method
Docker
Environment
Note: I had to go to the logs for this, could we add this to the UI somewhere?
Confirmation:
Expected Behavior:
After uploading a PDF it should be parsed.
Actual Behavior:
It fails with "Failed to add file." and logs report "cannot reshape array of size #X"
Description
Bug Summary:
Seems to be related to image processing for "PDF Extract Images (OCR)". Disabling this allows the document to be uploaded.
Reproduction Details
Steps to Reproduce:
Add this file to a knowledge base:
82c836.pdf
Logs and Screenshots
Browser Console Logs:
N/A
Docker Container Logs:
Screenshots/Screen Recordings (if applicable):
N/A
Additional Information
None.