Traceback (most recent call last):

 "/usr/local/bin/alembic", line 11, in <module>
load_entry_point('alembic==0.9.8', 'console_scripts', 'alembic')()

 "/usr/local/lib/python3.4/dist-packages/alembic/config.py", line 479, in main
CommandLine(prog=prog).main(argv=argv)

 "/usr/local/lib/python3.4/dist-packages/alembic/config.py", line 473, in main
self.run_cmd(cfg, options)

 "/usr/local/lib/python3.4/dist-packages/alembic/config.py", line 456, in run_cmd
**dict((k, getattr(options, k, None)) for k in kwarg)

 "/usr/local/lib/python3.4/dist-packages/alembic/command.py", line 254, in upgrade
script.run_env()

 "/usr/local/lib/python3.4/dist-packages/alembic/script/base.py", line 427, in run_env
util.load_python_file(self.dir, 'env.py')

 "/usr/local/lib/python3.4/dist-packages/alembic/util/pyfiles.py", line 81, in load_python_file
module = load_module_py(module_id, path)

 "/usr/local/lib/python3.4/dist-packages/alembic/util/compat.py", line 97, in load_module_py
module_id, path).load_module(module_id)

 "<frozen importlib._bootstrap>", line 539, in _check_name_wrapper

 "<frozen importlib._bootstrap>", line 1614, in load_module

 "<frozen importlib._bootstrap>", line 596, in _load_module_shim

 "<frozen importlib._bootstrap>", line 1220, in load

 "<frozen importlib._bootstrap>", line 1200, in _load_unlocked

 "<frozen importlib._bootstrap>", line 1129, in _exec

 "<frozen importlib._bootstrap>", line 1471, in exec_module

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

 "alembic/env.py", line 81, in <module>
run_migrations_online()

 "alembic/env.py", line 76, in run_migrations_online
context.run_migrations()

 "<string>", line 8, in run_migrations

 "/usr/local/lib/python3.4/dist-packages/alembic/runtime/environment.py", line 836, in run_migrations
self.get_context().run_migrations(**kw)

 "/usr/local/lib/python3.4/dist-packages/alembic/runtime/migration.py", line 330, in run_migrations
step.migration_fn(**kw)

 "/media/Storage/Scripts/alembtest/alembic/versions/99d5038f535d_.py", line 24, in upgrade
sa.PrimaryKeyConstraint('id')

 "<string>", line 8, in create_table

 "<string>", line 3, in create_table

 "/usr/local/lib/python3.4/dist-packages/alembic/operations/ops.py", line 1120, in create_table
return operations.invoke(op)

 "/usr/local/lib/python3.4/dist-packages/alembic/operations/base.py", line 319, in invoke
return fn(self, operation)

 "/usr/local/lib/python3.4/dist-packages/alembic/operations/toimpl.py", line 101, in create_table
operations.impl.create_table(table)

 "/usr/local/lib/python3.4/dist-packages/alembic/ddl/impl.py", line 193, in create_table
_ddl_runner=self)

 "/usr/local/lib/python3.4/dist-packages/sqlalchemy/event/attr.py", line 284, in __call__
fn(*args, **kw)

 "/usr/local/lib/python3.4/dist-packages/sqlalchemy/util/langhelpers.py", line 559, in __call__
return getattr(self.target, self.name)(*arg, **kw)

 "/usr/local/lib/python3.4/dist-packages/sqlalchemy/dialects/postgresql/base.py", line 1337, in _on_table_create
self.create(bind=bind, checkfirst=checkfirst)

 "/usr/local/lib/python3.4/dist-packages/sqlalchemy/dialects/postgresql/base.py", line 1285, in create
bind.execute(CreateEnumType(self))

 "/usr/local/lib/python3.4/dist-packages/sqlalchemy/engine/base.py", line 948, in execute
return meth(self, multiparams, params)

 "/usr/local/lib/python3.4/dist-packages/sqlalchemy/sql/ddl.py", line 68, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)

 "/usr/local/lib/python3.4/dist-packages/sqlalchemy/engine/base.py", line 1009, in _execute_ddl
compiled

 "/usr/local/lib/python3.4/dist-packages/sqlalchemy/engine/base.py", line 1200, in _execute_context
context)

 "/usr/local/lib/python3.4/dist-packages/sqlalchemy/engine/base.py", line 1413, in _handle_dbapi_exception
exc_info

 "/usr/local/lib/python3.4/dist-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)

 "/usr/local/lib/python3.4/dist-packages/sqlalchemy/util/compat.py", line 186, in reraise
raise value.with_traceback(tb)

 "/usr/local/lib/python3.4/dist-packages/sqlalchemy/engine/base.py", line 1193, in _execute_context
context)

 "/usr/local/lib/python3.4/dist-packages/sqlalchemy/engine/default.py", line 507, in do_execute
cursor.execute(statement, parameters)sqlalchemy.exc.ProgrammingError: (psycopg2.ProgrammingError) type "item_validation_enum" already exists
Traceback (most recent call last):

 "youtube_dl\extractor\generic.pyo", line 457, in _real_extract

 "youtube_dl\utils.pyo", line 1426, in parse_xml

 "xml\etree\ElementTree.pyo", line 1300, in XML

 "xml\etree\ElementTree.pyo", line 1642, in feed

 "xml\etree\ElementTree.pyo", line 1506, in _raiseerrorParseError: undefined entity: line 25, column 2