Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

loom run import fails when re-used taskattempt present #533

Closed
nhammond opened this issue May 22, 2018 · 1 comment
Closed

loom run import fails when re-used taskattempt present #533

nhammond opened this issue May 22, 2018 · 1 comment
Labels
Milestone

Comments

@nhammond
Copy link
Collaborator

Encountered error even after flushing database. This comes up in the "sentece_scoring" demo, since there are two separate tasks scoring the letter "o".

from client:

loom run import sentence_scoring.yaml

...
  Skipping import because template already exists.
ERROR! Failed to import run: '(500) 500 Server Error: Internal Server Error for url: http://127.0.0.1:8000/api/runs/'

from server:

...
IntegrityError: (1062, "Duplicate entry 'e2969fd3-eb07-4adb-bf6f-3aa443a7e9f3' for key 'uuid'")
ERROR [2018-05-22 12:15:35,177] "POST /api/runs/ HTTP/1.1" 500 22676

e2969fd3-eb07-4adb-bf6f-3aa443a7e9f3 is a TaskAttempt with status "Finished", used by two separate tasks.

@nhammond nhammond added the bug label May 22, 2018
@nhammond nhammond added this to the Shortlist milestone May 22, 2018
@nhammond
Copy link
Collaborator Author

Fixed in 83505d2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant