# BUG: pymupdf4llm list index out of range in document\_layout.py (2)

**URL:** <https://forum.mupdf.com/t/bug-pymupdf4llm-list-index-out-of-range-in-document-layout-py-2/216>\
**Category:** PyMuPDF\
**Created:** [December 3, 2025, 9:51am UTC](https://forum.mupdf.com/t/bug-pymupdf4llm-list-index-out-of-range-in-document-layout-py-2/216 "2025-12-03T09:51:24Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Jamie\_Lemon](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.mupdf.com/jamie_lemon/32/5_2.png) [@Jamie\_Lemon](https://forum.mupdf.com/u/Jamie_Lemon)\
**Post date:** [December 3, 2025, 9:47pm UTC](https://forum.mupdf.com/t/bug-pymupdf4llm-list-index-out-of-range-in-document-layout-py-2/216/3 "2025-12-03T21:47:09Z")

</div>

@robvd Are you able to share the open data link to the PDFs maybe? Hoping indeed that the new PyMuPDF4LLM 0.2.6 resolves your issue, at least it resolved the similar issue here: [BUG: list index out of range using new layout feature - #10 by Jamie\_Lemon](https://forum.mupdf.com/t/bug-list-index-out-of-range-using-new-layout-feature/209/10)

---

_[View the full topic](https://forum.mupdf.com/t/bug-pymupdf4llm-list-index-out-of-range-in-document-layout-py-2/216)._
