Skip to content

Parser throws internal error #70

@LtSalt

Description

@LtSalt

Initial Checks

  • I confirm that I'm on the latest version

Description

The parser throws an internal error:

'dict' object has no attribute 'name'

See code here. Does not seem to be dependent on the parsing algorithm.

Example Code

No response

Python, open-parse & OS Version

python_version: 3.12.0
             operating_system: Darwin
                   os_version: 24.0.0
           open-parse version: 0.6.0
                 install path: /Users/david/Desktop/projekte/film-funding/venv/lib/python3.12/site-packages/openparse
               python version: 3.12.0 (main, Oct 10 2024, 22:12:41) [Clang 16.0.0 (clang-1600.0.26.3)]
                     platform: macOS-15.0-arm64-arm-64bit
             related packages: torch-2.4.1 PyMuPDF-1.24.11 pydantic-2.9.2 torchvision-0.19.1 tokenizers-0.20.1 transformers-4.45.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions