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

No user created an error occured - sqlite3.IntegrityError #3000

Closed
toncek87 opened this issue Jun 20, 2017 · 2 comments
Closed

No user created an error occured - sqlite3.IntegrityError #3000

toncek87 opened this issue Jun 20, 2017 · 2 comments

Comments

@toncek87
Copy link

toncek87 commented Jun 20, 2017

(superset-test) root@debian:/virtual# fabmanager create-admin --app superset
/virtual/superset-test/lib/python3.4/importlib/_bootstrap.py:1161: ExtDeprecationWarning: Importing flask.ext.sqlalchemy is deprecated, use flask_sqlalchemy instead.
spec.loader.load_module(spec.name)
Username [admin]: xxxx
User first name [admin]: xxxx
User last name [user]: xxxx
Email [admin@fab.org]:
Password:
Repeat for confirmation:
Recognized Database Authentications.
2017-06-20 13:19:51,074:ERROR:flask_appbuilder.security.sqla.manager:Error adding new user to database. (sqlite3.IntegrityError) UNIQUE constraint failed: ab_user.email [SQL: 'INSERT INTO ab_user (first_name, last_name, username, password, active, email, last_login, login_count, fail_login_count, created_on, changed_on, created_by_fk, changed_by_fk) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'] [parameters: ('xxxx', 'xxxx', 'xxxx', 'pbkdf2:sha256:50000$lKZVM2Ly$a0f8cb7c603261c5e706baa9605bf09901f203cf294a14883899b7bd2e4bf5b2', 1, 'admin@fab.org', None, None, None, '2017-06-20 13:19:51.073634', '2017-06-20 13:19:51.073662', None, None)]
No user created an error occured

I have Debian 8 - Jessie. Superset 0.18.4, Python 3.4.2

@xrmx
Copy link
Contributor

xrmx commented Jun 20, 2017

The error means you have already the same user in the db, also fabmanager is not superset so there's not much we can do here.

@xrmx xrmx closed this as completed Jun 20, 2017
@vikaschouhan8
Copy link

thanks @xrmx

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

3 participants