Created
June 9, 2016 10:29
-
-
Save kartikgupta0909/4752b39ba5a78ae0f0156ec9818e2900 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/home/vagrant/acousticbrainz-server/db/testing.py", line 20, in setUp | |
self.reset_db() | |
File "/home/vagrant/acousticbrainz-server/db/testing.py", line 28, in reset_db | |
self.init_db() | |
File "/home/vagrant/acousticbrainz-server/db/testing.py", line 31, in init_db | |
db.run_sql_script(os.path.join(ADMIN_SQL_DIR, 'create_types.sql')) | |
File "/home/vagrant/acousticbrainz-server/db/__init__.py", line 17, in run_sql_script | |
connection.execute(sql.read()) | |
File "build/bdist.linux-x86_64/egg/sqlalchemy/engine/base.py", line 906, in execute | |
return self._execute_text(object, multiparams, params) | |
File "build/bdist.linux-x86_64/egg/sqlalchemy/engine/base.py", line 1054, in _execute_text | |
statement, parameters | |
File "build/bdist.linux-x86_64/egg/sqlalchemy/engine/base.py", line 1146, in _execute_context | |
context) | |
File "build/bdist.linux-x86_64/egg/sqlalchemy/engine/base.py", line 1341, in _handle_dbapi_exception | |
exc_info | |
File "build/bdist.linux-x86_64/egg/sqlalchemy/util/compat.py", line 200, in raise_from_cause | |
reraise(type(exception), exception, tb=exc_tb, cause=cause) | |
File "build/bdist.linux-x86_64/egg/sqlalchemy/engine/base.py", line 1139, in _execute_context | |
context) | |
File "build/bdist.linux-x86_64/egg/sqlalchemy/engine/default.py", line 450, in do_execute | |
cursor.execute(statement, parameters) | |
ProgrammingError: (psycopg2.ProgrammingError) type "eval_location_type" already exists | |
[SQL: "CREATE TYPE eval_job_status AS ENUM ('pending', 'running', 'done', 'failed');\nCREATE TYPE model_status AS ENUM ('hidden', 'evaluation', 'show');\nCREATE TYPE version_type AS ENUM ('lowlevel', 'highlevel');\nCREATE TYPE eval_location_type AS ENUM ('local', 'remote');\n"] | |
-------------------- >> begin captured logging << -------------------- | |
musicbrainzngs: DEBUG: set user-agent to acousticbrainz-server/3 python-musicbrainzngs/0.5 | |
--------------------- >> end captured logging << --------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment