Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "manage.py", line 27, in <module>
- execute_from_command_line(sys.argv)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
- utility.execute()
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/core/management/commands/test.py", line 50, in run_from_argv
- super(Command, self).run_from_argv(argv)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/core/management/commands/test.py", line 71, in execute
- super(Command, self).execute(*args, **options)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
- output = self.handle(*args, **options)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/core/management/commands/test.py", line 88, in handle
- failures = test_runner.run_tests(test_labels)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/test/runner.py", line 145, in run_tests
- old_config = self.setup_databases()
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/test/runner.py", line 107, in setup_databases
- return setup_databases(self.verbosity, self.interactive, **kwargs)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/test/runner.py", line 279, in setup_databases
- verbosity, autoclobber=not interactive)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/creation.py", line 99, in create_test_db
- self._create_test_db(verbosity, autoclobber)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/contrib/gis/db/backends/postgis/creation.py", line 86, in _create_test_db
- test_database_name = super(PostGISCreation, self)._create_test_db(verbosity, autoclobber)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/creation.py", line 159, in _create_test_db
- "database '%s', or 'no' to cancel: " % test_database_name)
- File "<string>", line 1, in <module>
- NameError: name 'no' is not defined
- (ENV)ashish@ashish:~/A/arches3$ python manage.py test
- Creating test database for alias 'default'...
- Got an error creating the test database: database "test_arches" already exists
- Type 'yes' if you would like to try deleting the test database 'test_arches', or 'no' to cancel: yes
- Traceback (most recent call last):
- File "manage.py", line 27, in <module>
- execute_from_command_line(sys.argv)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
- utility.execute()
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/core/management/commands/test.py", line 50, in run_from_argv
- super(Command, self).run_from_argv(argv)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/core/management/commands/test.py", line 71, in execute
- super(Command, self).execute(*args, **options)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
- output = self.handle(*args, **options)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/core/management/commands/test.py", line 88, in handle
- failures = test_runner.run_tests(test_labels)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/test/runner.py", line 145, in run_tests
- old_config = self.setup_databases()
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/test/runner.py", line 107, in setup_databases
- return setup_databases(self.verbosity, self.interactive, **kwargs)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/test/runner.py", line 279, in setup_databases
- verbosity, autoclobber=not interactive)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/creation.py", line 99, in create_test_db
- self._create_test_db(verbosity, autoclobber)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/contrib/gis/db/backends/postgis/creation.py", line 86, in _create_test_db
- test_database_name = super(PostGISCreation, self)._create_test_db(verbosity, autoclobber)
- File "/home/ashish/A/arches3/archesproject/virtualenv/ENV/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/creation.py", line 159, in _create_test_db
- "database '%s', or 'no' to cancel: " % test_database_name)
- File "<string>", line 1, in <module>
- NameError: name 'yes' is not defined
Advertisement
Add Comment
Please, Sign In to add comment