Skip to content
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

Incorrect error for duplicate entry #157

Open
davidgodinez opened this issue Aug 25, 2021 · 0 comments
Open

Incorrect error for duplicate entry #157

davidgodinez opened this issue Aug 25, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@davidgodinez
Copy link

davidgodinez commented Aug 25, 2021

Bug Report

Description

When attempting to insert an entry which a duplicate primary key, the follow error is presented:

(1265, "Data truncated for column 'sex' at row 1")

Reproducibility

Include:

  • OS: MAC OS Big Sur 11.5.2 (20G95)
  • DataJoint LabBook Version : Front End Version: 0.1.0 Back End Version: 0.1.0

Expected Behavior

DuplicateError: ("Duplicate entry '0' for key 'PRIMARY'", 'To ignore duplicate entries in insert, set skip_duplicates=True')

Screenshots

If applicable, add screenshots to help explain your problem.
Screen Shot 2021-08-25 at 3 23 33 PM

@davidgodinez davidgodinez added the bug Something isn't working label Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant