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

Too many print statements when uploading. #10

Open
ershockley opened this issue Mar 12, 2020 · 0 comments
Open

Too many print statements when uploading. #10

ershockley opened this issue Mar 12, 2020 · 0 comments

Comments

@ershockley
Copy link
Contributor

  • aDMIX version: 0.2.0
  • Python version: 3.6
  • Operating System: CentOS Linux

Description

When uploading a dataset with admix, there are quite a few print statements that seem misleading. For a brand new dataset, I get the following:

An object with the same identifier already exists.
Details: Scope 'xnt' already exists!
Data Identifier Already Exists.
Details: Data Identifier already exists!
An object with the same identifier already exists.
Details: Scope 'xnt_007079' already exists!
Data Identifier Already Exists.
Details: Data Identifier already exists!
Data identifier already added to the destination content.
Details: ['(psycopg2.IntegrityError) duplicate key value violates unique constraint "CONTENTS_PK"\nDETAIL:  Key (scope, name, child_scope, child_name)=(xnt, run_007079, xnt_007079, data) already exists.\n']
An object with the same identifier already exists.
Details: Scope 'xnt_007079' already exists!
Data Identifier Already Exists.
Details: Data Identifier already exists!
Data identifier already added to the destination content.
Details: ['(psycopg2.IntegrityError) duplicate key value violates unique constraint "CONTENTS_PK"\nDETAIL:  Key (scope, name, child_scope, child_name)=(xnt_007079, data, xnt_007079, raw_records-5jnmouazik) already exists.\n']
A duplicate rule for this account, did, rse_expression, copies already exists.
Details: (psycopg2.IntegrityError) duplicate key value violates unique constraint "RULES_SC_NA_AC_RS_CO_UQ_IDX"
DETAIL:  Key (scope, name, account, rse_expression, copies)=(xnt_007079, raw_records-5jnmouazik, production, LNGS_USERDISK, 1) already exists.

As you can see it says frequently that this DID already exists, which is untrue. We need to fix this.

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

No branches or pull requests

1 participant