Skip to content

get_toc(simple=False) AttributeError: 'Outline' object has no attribute 'rect' #3519

@binghuis

Description

@binghuis

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.

image image

How to reproduce the bug

use get_toc(simple=False)

PyMuPDF version

1.24.4

Operating system

MacOS

Python version

3.12

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions