Changes between Version 1 and Version 2 of Ticket #26096
- Timestamp:
- Jan 18, 2016, 9:36:54 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26096 – Description
v1 v2 8 8 9 9 {{{ 10 Type 'yes' if you would like to try deleting the test database 'test_ fwd_api', or 'no' to cancel: yes10 Type 'yes' if you would like to try deleting the test database 'test_myapp_api', or 'no' to cancel: yes 11 11 Destroying old test database for alias 'default'... 12 12 Cloning test database for alias 'default'... 13 13 Got an error cloning the test database: unorderable types: str() >= int() 14 14 Traceback (most recent call last): 15 File "/home/vagrant/user/.pyenv/versions/ fwd343/lib/python3.4/site-packages/django/db/backends/utils.py", line 62, in execute15 File "/home/vagrant/user/.pyenv/versions/myapp343/lib/python3.4/site-packages/django/db/backends/utils.py", line 62, in execute 16 16 return self.cursor.execute(sql) 17 psycopg2.ProgrammingError: database "test_ fwd_api_1" already exists17 psycopg2.ProgrammingError: database "test_myapp_api_1" already exists 18 18 19 19 The above exception was the direct cause of the following exception: 20 20 21 21 Traceback (most recent call last): 22 File "/home/vagrant/user/.pyenv/versions/ fwd343/lib/python3.4/site-packages/django/db/backends/postgresql/creation.py", line 29, in _clone_test_db22 File "/home/vagrant/user/.pyenv/versions/myapp343/lib/python3.4/site-packages/django/db/backends/postgresql/creation.py", line 29, in _clone_test_db 23 23 qn(target_database_name), qn(source_database_name))) 24 File "/home/vagrant/user/.pyenv/versions/ fwd343/lib/python3.4/site-packages/django/db/backends/utils.py", line 64, in execute24 File "/home/vagrant/user/.pyenv/versions/myapp343/lib/python3.4/site-packages/django/db/backends/utils.py", line 64, in execute 25 25 return self.cursor.execute(sql, params) 26 File "/home/vagrant/user/.pyenv/versions/ fwd343/lib/python3.4/site-packages/django/db/utils.py", line 95, in __exit__26 File "/home/vagrant/user/.pyenv/versions/myapp343/lib/python3.4/site-packages/django/db/utils.py", line 95, in __exit__ 27 27 six.reraise(dj_exc_type, dj_exc_value, traceback) 28 File "/home/vagrant/user/.pyenv/versions/ fwd343/lib/python3.4/site-packages/django/utils/six.py", line 685, in reraise28 File "/home/vagrant/user/.pyenv/versions/myapp343/lib/python3.4/site-packages/django/utils/six.py", line 685, in reraise 29 29 raise value.with_traceback(tb) 30 File "/home/vagrant/user/.pyenv/versions/ fwd343/lib/python3.4/site-packages/django/db/backends/utils.py", line 62, in execute30 File "/home/vagrant/user/.pyenv/versions/myapp343/lib/python3.4/site-packages/django/db/backends/utils.py", line 62, in execute 31 31 return self.cursor.execute(sql) 32 django.db.utils.ProgrammingError: database "test_ fwd_api_1" already exists32 django.db.utils.ProgrammingError: database "test_myapp_api_1" already exists 33 33 34 34 … … 36 36 37 37 Traceback (most recent call last): 38 File "/home/vagrant/user/.pyenv/versions/ fwd343/lib/python3.4/site-packages/django/db/backends/postgresql/creation.py", line 36, in _clone_test_db38 File "/home/vagrant/user/.pyenv/versions/myapp343/lib/python3.4/site-packages/django/db/backends/postgresql/creation.py", line 36, in _clone_test_db 39 39 self._get_database_display_str(target_database_name, verbosity), 40 File "/home/vagrant/user/.pyenv/versions/ fwd343/lib/python3.4/site-packages/django/db/backends/base/creation.py", line 140, in _get_database_display_str40 File "/home/vagrant/user/.pyenv/versions/myapp343/lib/python3.4/site-packages/django/db/backends/base/creation.py", line 140, in _get_database_display_str 41 41 (" ('%s')" % database_name) if verbosity >= 2 else '', 42 42 TypeError: unorderable types: str() >= int()