Skip to content

Not importing metadata first time #1929

@nk-alex

Description

@nk-alex

How to reproduce the behaviour

Im trying to import my dataset in JSONL format. My dataset has the following format:

{"text": "....", "meta": [{...}]}

My uploading cofiguration is the following:
image

When the dataset is imported, no metadata is showing.

But, if I try to import my dataset like this:
image

I'm getting "Column label not found in the file". Then, if I change the column label from "label" to "meta" and import the file again, the metadata is showing as expected.

Am I doing it wrong or it's a bug?

Your Environment

  • Operating System: Windows 11
  • Python Version Used: 3.10.4
  • When you install doccano: last version
  • How did you install doccano (Heroku button etc): pip

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