Created
May 19, 2015 19:11
-
-
Save amfarrell/8692bc2bf7ec9587748d to your computer and use it in GitHub Desktop.
traceback I got trying to run django tests
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 "/Users/afarrell/projects/aei/webapp/manage.py", line 10, in <module> | |
execute_from_command_line(sys.argv) | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line | |
utility.execute() | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/core/management/__init__.py", line 330, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/core/management/commands/test.py", line 30, in run_from_argv | |
super(Command, self).run_from_argv(argv) | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/core/management/base.py", line 390, in run_from_argv | |
self.execute(*args, **cmd_options) | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/core/management/commands/test.py", line 74, in execute | |
super(Command, self).execute(*args, **options) | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/core/management/base.py", line 441, in execute | |
output = self.handle(*args, **options) | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/core/management/commands/test.py", line 90, in handle | |
failures = test_runner.run_tests(test_labels) | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/test/runner.py", line 210, in run_tests | |
old_config = self.setup_databases() | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/test/runner.py", line 166, in setup_databases | |
**kwargs | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/test/runner.py", line 370, in setup_databases | |
serialize=connection.settings_dict.get("TEST", {}).get("SERIALIZE", True), | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/db/backends/base/creation.py", line 368, in create_test_db | |
test_flush=not keepdb, | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/core/management/__init__.py", line 120, in call_command | |
return command.execute(*args, **defaults) | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/core/management/base.py", line 441, in execute | |
output = self.handle(*args, **options) | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 179, in handle | |
created_models = self.sync_apps(connection, executor.loader.unmigrated_apps) | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 317, in sync_apps | |
cursor.execute(statement) | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute | |
return self.cursor.execute(sql, params) | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/db/utils.py", line 97, in __exit__ | |
six.reraise(dj_exc_type, dj_exc_value, traceback) | |
File "//anaconda/envs/heroku_aei/lib/python2.7/site-packages/django/db/backends/utils.py", line 62, in execute | |
return self.cursor.execute(sql) | |
django.db.utils.ProgrammingError: relation "auth_user" does not exist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment