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