Skip to content

Ontology can not find the match name #2020

@Meii0606

Description

@Meii0606

Describe the bug

LabelImport.create_from_objects(...) fails with
ValidationError: Ontology does not contain name: text_audio.
even when the project has just been connected to an ontology that does contain a TEXT classification named text_audio. The failure happens immediately after creating and connecting the ontology within the same script.

To reproduce

Run the python tutorial file audio.py.

Screenshots / Videos

Image

Environment (please complete the following information

labelbox 7.2.0
Python 3.12.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions