infiniflow / infiniflow/ragflow

[Bug]: Error parsing this PDF using "General" chunking method

Open
#8,763 10 comments 1 reaction 0 assignees View on GitHub
🐞 bug
Dominant language
Go
Stars
91k
Forks
10.8k
Avg merge
1d 14h
Merged PRs (30d)
705

Description

### Self Checks

- [x] I have searched for existing issues [search for existing issues](https://github.com/infiniflow/ragflow/issues), including closed ones.
- [x] I confirm that I am using English to submit this report ([Language Policy](https://github.com/infiniflow/ragflow/issues/5910)).
- [x] Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) ([Language Policy](https://github.com/infiniflow/ragflow/issues/5910)).
- [x] Please do not modify this template :) and fill in all the required fields.

### RAGFlow workspace code commit ID

887651e

### RAGFlow image version

v0.19.1-2-gb4833f2d

### Other environment information

```Markdown
Ubuntu 24.04
Docker 28.3.0
RAGFlow 0.19.1
```

### Actual behavior

Whenever I try to parse this document [2025_7_00861.pdf](https://github.com/user-attachments/files/21148723/2025_7_00861.pdf) using the "General" chunking method I get an error and status "failed".

### Expected behavior

The document should be parsed without errors. The same document with the same configuration works fine in RAGFlow v0.18.

### Steps to reproduce

```Markdown
1. Upload the document to a datastore with "General" chunking method configured and chunk size 1024.
2. Parse the document.
3. Watch it fail.
```

### Additional information

Here is the log I got while trying to parse the document in v0.19.1:
[2025_7_00861.pdf.parsing_log.txt](https://github.com/user-attachments/files/21148773/2025_7_00861.pdf.parsing_log.txt)

By the way, the document does get parsed fine using "Paper" chunking method in v0.19.1.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure with 2025_7_00861.pdf using the General chunking method at chunk size 1024, then inspect the attached parsing log and compare behavior with v0.18 and the Paper method in v0.19.1. Done means the document parses successfully with General chunking without regressing the Paper path.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.