Skip to content
This repository was archived by the owner on Dec 8, 2024. It is now read-only.
This repository was archived by the owner on Dec 8, 2024. It is now read-only.

Cannot delete project without columns #18

Description

@ernestorefinepro

How to reproduce

  • Create a project from the clipboard with one column and one value EN.
  • Set the name to main_project
  • Once the project is created go to the column and remove it. This left the project without any columns
  • Execute ./openrefine-client --delete 'main_project' and you will see the following error:
./openrefine-client --delete 'main_project'
Traceback (most recent call last):
  File "/home/felix/openrefine-client/refine.py", line 35, in <module>
  File "/home/felix/openrefine-client/google/refine/__main__.py", line 256, in main
  File "/home/felix/openrefine-client/google/refine/cli.py", line 140, in delete
  File "/home/felix/openrefine-client/google/refine/refine.py", line 371, in __init__
  File "/home/felix/openrefine-client/google/refine/refine.py", line 417, in get_models
KeyError: 'keyColumnName'
[1976071] Failed to execute script refine

Environment details

  • OpenRefine 3.4.1
  • OS: Ubuntu 20-04
  • Java: 1.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions