-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Term Import IntegrityError #454
Comments
Okay, it turns out this was just a few malformed lines in the input csv. One of the culprits seemed to be line 673 among others with a single field accidentally split into many comma-separated values.
Note, the |
Right, I thought I'd handled all the bad cases but obviously not! Thank you for the ticket with the cause, this should be an easy test case case and fix. |
This may have been due to the duplication of
and it's failing with same error. Working on that now, thanks. |
Also added check for too many or few fields in the data, which the code wasn't handling correctly. :-P Whoops. Thanks. |
Fixed in |
Launched in 3.5.2 |
Description
Importing terms with the attached
.csv
file causes anIntegrityError
. See import.csvHere is a stack trace of the error.
There error occurs as of commit 2b2911e on the develop branch.
To Reproduce
The error can be reproduced by importing the terms on the default install.
Extra software info, if not already included in the Description:
The text was updated successfully, but these errors were encountered: