<p dir="auto">figure out what vis configuration the back end really needs, and find way to share with front end, then delete duplicated configuration code.</p>
<p dir="auto">Trying to follow the instructions and failing already at <code class="notranslate">superset load_examples</code></p>
<h3 dir="auto">Expected results</h3>
<p dir="auto">I expected this line to pass successfully.</p>
<h3 dir="auto">Actual results</h3>
<p dir="auto">Executing <code class="notranslate">superset load_examples</code> yields:</p>
<details>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2020-01-13 09:38:56,408:INFO:root:logging was configured successfully
2020-01-13 09:38:56,505:INFO:root:Configured event logger of type &lt;class 'superset.utils.log.DBEventLogger'&gt;
Traceback (most recent call last):
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/engine/base.py&quot;, line 1246, in _execute_context
    cursor, statement, parameters, context
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/engine/default.py&quot;, line 581, in do_execute
    cursor.execute(statement, parameters)
sqlite3.OperationalError: no such table: dbs

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File &quot;/Users/user/anaconda3/envs/incubator-superset/bin/superset&quot;, line 31, in &lt;module&gt;
    cli()
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/click/core.py&quot;, line 722, in __call__
    return self.main(*args, **kwargs)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/flask/cli.py&quot;, line 586, in main
    return super(FlaskGroup, self).main(*args, **kwargs)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/click/core.py&quot;, line 697, in main
    rv = self.invoke(ctx)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/click/core.py&quot;, line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/click/core.py&quot;, line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/click/core.py&quot;, line 535, in invoke
    return callback(*args, **kwargs)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/click/decorators.py&quot;, line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/flask/cli.py&quot;, line 426, in decorator
    return __ctx.invoke(f, *args, **kwargs)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/click/core.py&quot;, line 535, in invoke
    return callback(*args, **kwargs)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/superset/cli.py&quot;, line 142, in load_examples
    load_examples_run(load_test_data, only_metadata, force)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/superset/cli.py&quot;, line 77, in load_examples_run
    examples_db = utils.get_example_database()
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/superset/utils/core.py&quot;, line 976, in get_example_database
    return get_or_create_db(&quot;examples&quot;, db_uri)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/superset/utils/core.py&quot;, line 960, in get_or_create_db
    db.session.query(models.Database).filter_by(database_name=database_name).first()
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/orm/query.py&quot;, line 3265, in first
    ret = list(self[0:1])
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/orm/query.py&quot;, line 3043, in __getitem__
    return list(res)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/orm/query.py&quot;, line 3367, in __iter__
    return self._execute_and_instances(context)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/orm/query.py&quot;, line 3392, in _execute_and_instances
    result = conn.execute(querycontext.statement, self._params)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/engine/base.py&quot;, line 982, in execute
    return meth(self, multiparams, params)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/sql/elements.py&quot;, line 287, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/engine/base.py&quot;, line 1101, in _execute_clauseelement
    distilled_params,
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/engine/base.py&quot;, line 1250, in _execute_context
    e, statement, parameters, cursor, context
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/engine/base.py&quot;, line 1476, in _handle_dbapi_exception
    util.raise_from_cause(sqlalchemy_exception, exc_info)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/util/compat.py&quot;, line 398, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/util/compat.py&quot;, line 152, in reraise
    raise value.with_traceback(tb)
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/engine/base.py&quot;, line 1246, in _execute_context
    cursor, statement, parameters, context
  File &quot;/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/engine/default.py&quot;, line 581, in do_execute
    cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: dbs
[SQL: SELECT dbs.created_on AS dbs_created_on, dbs.changed_on AS dbs_changed_on, dbs.id AS dbs_id, dbs.verbose_name AS dbs_verbose_name, dbs.database_name AS dbs_database_name, dbs.sqlalchemy_uri AS dbs_sqlalchemy_uri, dbs.password AS dbs_password, dbs.cache_timeout AS dbs_cache_timeout, dbs.select_as_create_table_as AS dbs_select_as_create_table_as, dbs.expose_in_sqllab AS dbs_expose_in_sqllab, dbs.allow_run_async AS dbs_allow_run_async, dbs.allow_csv_upload AS dbs_allow_csv_upload, dbs.allow_ctas AS dbs_allow_ctas, dbs.allow_dml AS dbs_allow_dml, dbs.force_ctas_schema AS dbs_force_ctas_schema, dbs.allow_multi_schema_metadata_fetch AS dbs_allow_multi_schema_metadata_fetch, dbs.extra AS dbs_extra, dbs.perm AS dbs_perm, dbs.impersonate_user AS dbs_impersonate_user, dbs.created_by_fk AS dbs_created_by_fk, dbs.changed_by_fk AS dbs_changed_by_fk
FROM dbs
WHERE dbs.database_name = ?
 LIMIT ? OFFSET ?]
[parameters: ('examples', 1, 0)]
(Background on this error at: http://sqlalche.me/e/e3q8)"><pre class="notranslate"><code class="notranslate">2020-01-13 09:38:56,408:INFO:root:logging was configured successfully
2020-01-13 09:38:56,505:INFO:root:Configured event logger of type &lt;class 'superset.utils.log.DBEventLogger'&gt;
Traceback (most recent call last):
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1246, in _execute_context
    cursor, statement, parameters, context
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 581, in do_execute
    cursor.execute(statement, parameters)
sqlite3.OperationalError: no such table: dbs

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/user/anaconda3/envs/incubator-superset/bin/superset", line 31, in &lt;module&gt;
    cli()
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/flask/cli.py", line 586, in main
    return super(FlaskGroup, self).main(*args, **kwargs)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/flask/cli.py", line 426, in decorator
    return __ctx.invoke(f, *args, **kwargs)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/superset/cli.py", line 142, in load_examples
    load_examples_run(load_test_data, only_metadata, force)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/superset/cli.py", line 77, in load_examples_run
    examples_db = utils.get_example_database()
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/superset/utils/core.py", line 976, in get_example_database
    return get_or_create_db("examples", db_uri)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/superset/utils/core.py", line 960, in get_or_create_db
    db.session.query(models.Database).filter_by(database_name=database_name).first()
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3265, in first
    ret = list(self[0:1])
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3043, in __getitem__
    return list(res)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3367, in __iter__
    return self._execute_and_instances(context)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3392, in _execute_and_instances
    result = conn.execute(querycontext.statement, self._params)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 982, in execute
    return meth(self, multiparams, params)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/sql/elements.py", line 287, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1101, in _execute_clauseelement
    distilled_params,
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1250, in _execute_context
    e, statement, parameters, cursor, context
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1476, in _handle_dbapi_exception
    util.raise_from_cause(sqlalchemy_exception, exc_info)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
    raise value.with_traceback(tb)
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1246, in _execute_context
    cursor, statement, parameters, context
  File "/Users/user/anaconda3/envs/incubator-superset/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 581, in do_execute
    cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: dbs
[SQL: SELECT dbs.created_on AS dbs_created_on, dbs.changed_on AS dbs_changed_on, dbs.id AS dbs_id, dbs.verbose_name AS dbs_verbose_name, dbs.database_name AS dbs_database_name, dbs.sqlalchemy_uri AS dbs_sqlalchemy_uri, dbs.password AS dbs_password, dbs.cache_timeout AS dbs_cache_timeout, dbs.select_as_create_table_as AS dbs_select_as_create_table_as, dbs.expose_in_sqllab AS dbs_expose_in_sqllab, dbs.allow_run_async AS dbs_allow_run_async, dbs.allow_csv_upload AS dbs_allow_csv_upload, dbs.allow_ctas AS dbs_allow_ctas, dbs.allow_dml AS dbs_allow_dml, dbs.force_ctas_schema AS dbs_force_ctas_schema, dbs.allow_multi_schema_metadata_fetch AS dbs_allow_multi_schema_metadata_fetch, dbs.extra AS dbs_extra, dbs.perm AS dbs_perm, dbs.impersonate_user AS dbs_impersonate_user, dbs.created_by_fk AS dbs_created_by_fk, dbs.changed_by_fk AS dbs_changed_by_fk
FROM dbs
WHERE dbs.database_name = ?
 LIMIT ? OFFSET ?]
[parameters: ('examples', 1, 0)]
(Background on this error at: http://sqlalche.me/e/e3q8)
</code></pre></div>
</details>
<h4 dir="auto">Screenshots</h4>
<p dir="auto">N/A</p>
<h4 dir="auto">How to reproduce the bug</h4>
<ol dir="auto">
<li>New Conda environment</li>
<li><code class="notranslate">env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" pip install cryptography==2.4.2</code></li>
<li><code class="notranslate">pip install apache-superset</code></li>
<li><code class="notranslate">flask fab create-admin</code></li>
<li><code class="notranslate">superset load_examples</code></li>
</ol>
<h3 dir="auto">Environment</h3>
<p dir="auto">(please complete the following information):</p>
<ul dir="auto">
<li>superset version: <code class="notranslate">0.35.1</code></li>
<li>python version: <code class="notranslate">3.7.6</code></li>
<li>node.js version: <code class="notranslate">v13.2.0</code></li>
<li>npm version: <code class="notranslate">6.13.1</code></li>
</ul>
<h3 dir="auto">Checklist</h3>
<p dir="auto">Make sure these boxes are checked before submitting your issue - thank you!</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the superset logs for python stacktraces and included it here as text if there are any.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have reproduced the issue with at least the latest released version of superset.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the issue tracker for the same issue and I haven't found one similar.</li>
</ul>