Importing model basic Importing model choices Importing model custom_columns Importing model custom_managers Importing model custom_methods Importing model custom_pk Importing model empty Importing model field_defaults Importing model fixtures Importing model generic_relations Importing model get_latest Importing model get_object_or_404 Importing model get_or_create Importing model lookup Importing model m2m_and_m2o Importing model m2m_intermediary Importing model m2m_multiple Importing model m2m_recursive Importing model m2o_recursive Importing model m2o_recursive2 Importing model manipulators Importing model many_to_many Importing model many_to_one Importing model many_to_one_null Importing model model_forms Importing model model_inheritance Importing model mutually_referential Importing model one_to_one Importing model ordering Importing model or_lookups Importing model pagination Importing model properties Importing model reserved_names Importing model reverse_lookup Importing model save_delete_hooks Importing model select_related Importing model serializers Importing model str Importing model test_client Importing model transactions Importing model validation Importing model bug639 Importing model cache Importing model datastructures Importing model dateformat Importing model db_typecasts Importing model defaultfilters Importing model dispatch Importing model forms Importing model httpwrappers Importing model humanize Importing model initial_sql_regress Importing model many_to_one_regress Importing model markup Importing model null_queries Importing model one_to_one_regress Importing model serializers_regress Importing model string_lookup Importing model templates Importing model urlpatterns_reverse Creating test database... It appears the test database, django_test_db, already exists. Type 'yes' to delete it, or 'no' to cancel: Destroying old test database... Creating test database... # Note: Any fields that are named 'id', are of type 'AutoField', and # and are Primary Keys will NOT appear in the model output below. # By default Django assumes that the each model's Primary Key is an # AutoField with a name of 'id', so there is no need to add it to the # model description. Processing contenttypes.ContentType model Creating table django_content_type Processing auth.Message model Creating table auth_message Processing auth.Group model Creating table auth_group Processing auth.User model Creating table auth_user Processing auth.Permission model Creating table auth_permission Creating many-to-many tables for auth.Group model Creating many-to-many tables for auth.User model Processing sites.Site model Creating table django_site Processing flatpages.FlatPage model Creating table django_flatpage Creating many-to-many tables for flatpages.FlatPage model Processing redirects.Redirect model Creating table django_redirect Processing sessions.Session model Creating table django_session Processing comments.Comment model Creating table comments_comment Processing comments.FreeComment model Creating table comments_freecomment Processing comments.KarmaScore model Creating table comments_karmascore Got an error creating the test database: ----------- Strategy 1: Traceback:Traceback (most recent call last): File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 540, in executeHelper File "", line 3, in Execute File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line 258, in _ApplyTypes_ result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args) com_error: (-2147352567, 'Ocurri\xf3 una excepci\xf3n.', (0, 'Microsoft OLE DB Provider for SQL Server', "Database 'django_test_db' already exists. Choose a different database name.", None, 0, -2147217900), None) ----------- Strategy 2: Traceback:Traceback (most recent call last): File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 540, in executeHelper File "", line 3, in Execute File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line 258, in _ApplyTypes_ result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args) com_error: (-2147352567, 'Ocurri\xf3 una excepci\xf3n.', (0, 'Microsoft OLE DB Provider for SQL Server', "Database 'django_test_db' already exists. Choose a different database name.", None, 0, -2147217900), None) ----------- Strategy 3: Traceback:Traceback (most recent call last): File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 540, in executeHelper File "", line 3, in Execute File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line 258, in _ApplyTypes_ result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args) com_error: (-2147352567, 'Ocurri\xf3 una excepci\xf3n.', (0, 'Microsoft OLE DB Provider for SQL Server', "Database 'django_test_db' already exists. Choose a different database name.", None, 0, -2147217900), None) ----------- Strategy 4: Traceback:Traceback (most recent call last): File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 540, in executeHelper File "", line 3, in Execute File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line 258, in _ApplyTypes_ result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args) com_error: (-2147352567, 'Ocurri\xf3 una excepci\xf3n.', (0, 'Microsoft OLE DB Provider for SQL Server', "Database 'django_test_db' already exists. Choose a different database name.", None, 0, -2147217900), None) --- ADODBAPI on command:CREATE DATABASE [django_test_db] with parameters: None Traceback (most recent call last): File "C:\Documents and Settings\Administrador\Mis documentos\Downloads\Django\tests\runtests.py", line 154, in ? django_tests(int(options.verbosity), args) File "C:\Documents and Settings\Administrador\Mis documentos\Downloads\Django\tests\runtests.py", line 127, in django_tests failures = run_tests(test_models, verbosity, extra_tests=extra_tests) File "C:\Documents and Settings\Administrador\Mis documentos\Downloads\Django\django\test\simple.py", line 81, in run_tests create_test_db(verbosity) File "C:\Documents and Settings\Administrador\Mis documentos\Downloads\Django\django\test\utils.py", line 88, in create_test_db management.syncdb(verbosity, interactive=False) File "C:\Documents and Settings\Administrador\Mis documentos\Downloads\Django\django\core\management.py", line 533, in syncdb cursor.execute(statement) File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 592, in execute File "C:\Documents and Settings\Administrador\Mis documentos\Downloads\Django\django\db\backends\ado_mssql\base.py", line 32, in executeHelper Database.Cursor.executeHelper(self, operation, isStoredProcedureCall, parameters) File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 552, in executeHelper File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 407, in _raiseCursorError File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 38, in standardErrorHandler adodbapi.adodbapi.DatabaseError: ----------- Strategy 1: Traceback:Traceback (most recent call last): File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 540, in executeHelper File "", line 3, in Execute File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line 258, in _ApplyTypes_ result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args) com_error: (-2147352567, 'Ocurri\xf3 una excepci\xf3n.', (0, 'Microsoft OLE DB Provider for SQL Server', "Introducing FOREIGN KEY constraint 'FK__comments___comme__3B75D760' on table 'comments_karmascore' may cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints.", None, 0, -2147217900), None) ----------- Strategy 2: Traceback:Traceback (most recent call last): File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 540, in executeHelper File "", line 3, in Execute File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line 258, in _ApplyTypes_ result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args) com_error: (-2147352567, 'Ocurri\xf3 una excepci\xf3n.', (0, 'Microsoft OLE DB Provider for SQL Server', "Foreign key 'FK__comments___comme__403A8C7D' references invalid table 'comments_comment'.", None, 0, -2147217900), None) ----------- Strategy 3: Traceback:Traceback (most recent call last): File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 540, in executeHelper File "", line 3, in Execute File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line 258, in _ApplyTypes_ result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args) com_error: (-2147352567, 'Ocurri\xf3 una excepci\xf3n.', (0, 'Microsoft OLE DB Provider for SQL Server', "Foreign key 'FK__comments___comme__44FF419A' references invalid table 'comments_comment'.", None, 0, -2147217900), None) ----------- Strategy 4: Traceback:Traceback (most recent call last): File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 540, in executeHelper File "", line 3, in Execute File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line 258, in _ApplyTypes_ result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args) com_error: (-2147352567, 'Ocurri\xf3 una excepci\xf3n.', (0, 'Microsoft OLE DB Provider for SQL Server', "Foreign key 'FK__comments___comme__49C3F6B7' references invalid table 'comments_comment'.", None, 0, -2147217900), None) --- ADODBAPI on command:CREATE TABLE [comments_karmascore] ( [id] int IDENTITY (1, 1) NOT NULL PRIMARY KEY, [user_id] int NOT NULL REFERENCES [auth_user] ([id]) ON DELETE CASCADE ON UPDATE CASCADE, [comment_id] int NOT NULL REFERENCES [comments_comment] ([id]) ON DELETE CASCADE ON UPDATE CASCADE, [score] smallint NOT NULL, [scored_date] smalldatetime NOT NULL, UNIQUE ([user_id], [comment_id]) ); with parameters: None