Incubator-superset: No user created an error occured - sqlite3.IntegrityError

Created on 20 Jun 2017  路  2Comments  路  Source: apache/incubator-superset

(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 [[email protected]]:
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, '[email protected]', 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

Most helpful comment

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.

All 2 comments

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.

thanks @xrmx

Was this page helpful?
0 / 5 - 0 ratings