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

OneDrive import loads error after file selected #547

Open
karrla opened this issue Aug 14, 2018 · 0 comments
Open

OneDrive import loads error after file selected #547

karrla opened this issue Aug 14, 2018 · 0 comments
Assignees

Comments

@karrla
Copy link
Member

karrla commented Aug 14, 2018

Current behavior

After selecting a file to import from OneDrive the Track loads an error message instead of the imported dataset

IntegrityError at /source/new/
duplicate key value violates unique constraint "social_auth_usersocialauth_provider_uid_e6b5e668_uniq"
DETAIL: Key (provider, uid)=(microsoft-graph, ) already exists.
Request Method: POST
Request URL: https://staging-track.toladata.io/source/new/?type=OneDrive
Django Version: 1.11.3
Exception Type: IntegrityError
Exception Value:
duplicate key value violates unique constraint "social_auth_usersocialauth_provider_uid_e6b5e668_uniq"
DETAIL: Key (provider, uid)=(microsoft-graph, ) already exists.
Exception Location: /usr/local/lib/python2.7/site-packages/django/db/backends/utils.py in execute, line 65
Python Executable: /usr/local/bin/python
Python Version: 2.7.15
Python Path:
['/code/datasources',
'/code',
'/usr/local/bin',
'/usr/local/lib/python27.zip',
'/usr/local/lib/python2.7',
'/usr/local/lib/python2.7/plat-linux2',
'/usr/local/lib/python2.7/lib-tk',
'/usr/local/lib/python2.7/lib-old',
'/usr/local/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/site-packages',
'/code/src/social-core',
'/code',
'/code/tola',
'/code']
Server time: Tue, 14 Aug 2018 07:40:03 -0700

Expected behavior

GIVEN a user has selected a table file from OneDrive
WHEN and the OneDrive picker is closed
THEN they see the selected file name
AND
WHEN they click SAVE
THEN the new Track Table is loaded

Steps to reproduce the behavior

  1. Import from OneDrive
  2. Login to OneDrive
  3. Select a table file to import
  4. Click Save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants