Traceback (most recent call last):

 "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)

 "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals

 "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>

 "/usr/local/bin/youtube-dl/youtube_dl/**init**.py", line 410, in main

 "/usr/local/bin/youtube-dl/youtube_dl/**init**.py", line 400, in _real_main

 "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1503, in download

 "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 656, in extract_info

 "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 275, in extract

 "/usr/local/bin/youtube-dl/youtube_dl/extractor/bbccouk.py", line 361, in _real_extract

 "/usr/local/bin/youtube-dl/youtube_dl/extractor/bbccouk.py", line 281, in _download_media_selector

 "/usr/local/bin/youtube-dl/youtube_dl/extractor/bbccouk.py", line 218, in _extract_videoTypeError: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):


 "/usr/local/bin/superset", line 31, in <module>

cli()


 "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in __call__

return self.main(*args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/flask/cli.py", line 586, in main

return super(FlaskGroup, self).main(*args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func

return f(get_current_context(), *args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/flask/cli.py", line 426, in decorator

return __ctx.invoke(f, *args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/flask_migrate/cli.py", line 134, in upgrade

_upgrade(directory, revision, sql, tag, x_arg)


 "/usr/local/lib/python3.6/site-packages/flask_migrate/__init__.py", line 95, in wrapped

f(*args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/flask_migrate/__init__.py", line 280, in upgrade

command.upgrade(config, revision, sql=sql, tag=tag)


 "/usr/local/lib/python3.6/site-packages/alembic/command.py", line 276, in upgrade

script.run_env()


 "/usr/local/lib/python3.6/site-packages/alembic/script/base.py", line 475, in run_env

util.load_python_file(self.dir, "env.py")


 "/usr/local/lib/python3.6/site-packages/alembic/util/pyfiles.py", line 90, in load_python_file

module = load_module_py(module_id, path)


 "/usr/local/lib/python3.6/site-packages/alembic/util/compat.py", line 156, in load_module_py

spec.loader.exec_module(module)


 "<frozen importlib._bootstrap_external>", line 678, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/usr/local/lib/python3.6/site-packages/superset/migrations/env.py", line 119, in <module>

run_migrations_online()


 "/usr/local/lib/python3.6/site-packages/superset/migrations/env.py", line 111, in run_migrations_online

context.run_migrations()


 "<string>", line 8, in run_migrations


 "/usr/local/lib/python3.6/site-packages/alembic/runtime/environment.py", line 839, in run_migrations

self.get_context().run_migrations(**kw)


 "/usr/local/lib/python3.6/site-packages/alembic/runtime/migration.py", line 361, in run_migrations

step.migration_fn(**kw)


 "/usr/local/lib/python3.6/site-packages/superset/migrations/versions/7f2635b51f5d_update_base_columns.py", line 73, in upgrade

batch_op.alter_column("column_name", existing_type=String(255), nullable=False)


 "/usr/local/lib/python3.6/contextlib.py", line 88, in __exit__

next(self.gen)


 "/usr/local/lib/python3.6/site-packages/alembic/operations/base.py", line 325, in batch_alter_table

impl.flush()


 "/usr/local/lib/python3.6/site-packages/alembic/operations/batch.py", line 102, in flush

batch_impl._create(self.impl)


 "/usr/local/lib/python3.6/site-packages/alembic/operations/batch.py", line 281, in _create

op_impl.create_table(self.new_table)


 "/usr/local/lib/python3.6/site-packages/alembic/ddl/impl.py", line 251, in create_table

self._exec(schema.CreateTable(table))


 "/usr/local/lib/python3.6/site-packages/alembic/ddl/impl.py", line 134, in _exec

return conn.execute(construct, *multiparams, **params)


 "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute

return meth(self, multiparams, params)


 "/usr/local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection

return connection._execute_ddl(self, multiparams, params)


 "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl

compiled,


 "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context

e, statement, parameters, cursor, context


 "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception

util.raise_from_cause(sqlalchemy_exception, exc_info)


 "/usr/local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause

reraise(type(exception), exception, tb=exc_tb, cause=cause)


 "/usr/local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise

raise value.with_traceback(tb)


 "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context

cursor, statement, parameters, context


 "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 552, in do_execute

cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) table _alembic_tmp_columns already exists
