PyMuPDF
PyMuPDF copied to clipboard
get_toc(simple=False) AttributeError: 'Outline' object has no attribute 'rect'
Description of the bug
When I use the get_toc(simple=False) method, the program throws an AttributeError: 'Outline' object has no attribute 'rect' error. I noticed a try-catch block in the source code, but this error is still being raised.
How to reproduce the bug
use get_toc(simple=False)
PyMuPDF version
1.24.4
Operating system
MacOS
Python version
3.12
PR: https://github.com/pymupdf/PyMuPDF/pull/3520
I think this is now addressed, so closing.
Reopening as fix is not released yet.
Fixed in 1.24.6.