1 | Importing model basic |
---|
2 | Importing model choices |
---|
3 | Importing model custom_columns |
---|
4 | Importing model custom_managers |
---|
5 | Importing model custom_methods |
---|
6 | Importing model custom_pk |
---|
7 | Importing model empty |
---|
8 | Importing model field_defaults |
---|
9 | Importing model fixtures |
---|
10 | Importing model generic_relations |
---|
11 | Importing model get_latest |
---|
12 | Importing model get_object_or_404 |
---|
13 | Importing model get_or_create |
---|
14 | Importing model lookup |
---|
15 | Importing model m2m_and_m2o |
---|
16 | Importing model m2m_intermediary |
---|
17 | Importing model m2m_multiple |
---|
18 | Importing model m2m_recursive |
---|
19 | Importing model m2o_recursive |
---|
20 | Importing model m2o_recursive2 |
---|
21 | Importing model manipulators |
---|
22 | Importing model many_to_many |
---|
23 | Importing model many_to_one |
---|
24 | Importing model many_to_one_null |
---|
25 | Importing model model_forms |
---|
26 | Importing model model_inheritance |
---|
27 | Importing model mutually_referential |
---|
28 | Importing model one_to_one |
---|
29 | Importing model ordering |
---|
30 | Importing model or_lookups |
---|
31 | Importing model pagination |
---|
32 | Importing model properties |
---|
33 | Importing model reserved_names |
---|
34 | Importing model reverse_lookup |
---|
35 | Importing model save_delete_hooks |
---|
36 | Importing model select_related |
---|
37 | Importing model serializers |
---|
38 | Importing model str |
---|
39 | Importing model test_client |
---|
40 | Importing model transactions |
---|
41 | Importing model validation |
---|
42 | Importing model bug639 |
---|
43 | Importing model cache |
---|
44 | Importing model datastructures |
---|
45 | Importing model dateformat |
---|
46 | Importing model db_typecasts |
---|
47 | Importing model defaultfilters |
---|
48 | Importing model dispatch |
---|
49 | Importing model forms |
---|
50 | Importing model httpwrappers |
---|
51 | Importing model humanize |
---|
52 | Importing model initial_sql_regress |
---|
53 | Importing model many_to_one_regress |
---|
54 | Importing model markup |
---|
55 | Importing model null_queries |
---|
56 | Importing model one_to_one_regress |
---|
57 | Importing model serializers_regress |
---|
58 | Importing model string_lookup |
---|
59 | Importing model templates |
---|
60 | Importing model urlpatterns_reverse |
---|
61 | Creating test database... |
---|
62 | It appears the test database, django_test_db, already exists. Type 'yes' to delete it, or 'no' to cancel: Destroying old test database... |
---|
63 | Creating test database... |
---|
64 | # Note: Any fields that are named 'id', are of type 'AutoField', and |
---|
65 | # and are Primary Keys will NOT appear in the model output below. |
---|
66 | # By default Django assumes that the each model's Primary Key is an |
---|
67 | # AutoField with a name of 'id', so there is no need to add it to the |
---|
68 | # model description. |
---|
69 | |
---|
70 | Processing contenttypes.ContentType model |
---|
71 | Creating table django_content_type |
---|
72 | Processing auth.Message model |
---|
73 | Creating table auth_message |
---|
74 | Processing auth.Group model |
---|
75 | Creating table auth_group |
---|
76 | Processing auth.User model |
---|
77 | Creating table auth_user |
---|
78 | Processing auth.Permission model |
---|
79 | Creating table auth_permission |
---|
80 | Creating many-to-many tables for auth.Group model |
---|
81 | Creating many-to-many tables for auth.User model |
---|
82 | Processing sites.Site model |
---|
83 | Creating table django_site |
---|
84 | Processing flatpages.FlatPage model |
---|
85 | Creating table django_flatpage |
---|
86 | Creating many-to-many tables for flatpages.FlatPage model |
---|
87 | Processing redirects.Redirect model |
---|
88 | Creating table django_redirect |
---|
89 | Processing sessions.Session model |
---|
90 | Creating table django_session |
---|
91 | Processing comments.Comment model |
---|
92 | Creating table comments_comment |
---|
93 | Processing comments.FreeComment model |
---|
94 | Creating table comments_freecomment |
---|
95 | Processing comments.KarmaScore model |
---|
96 | Creating table comments_karmascore |
---|
97 | Got an error creating the test database: |
---|
98 | ----------- |
---|
99 | Strategy 1: Traceback:Traceback (most recent call last): |
---|
100 | File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 540, in executeHelper |
---|
101 | File "<COMObject ADODB.Command>", line 3, in Execute |
---|
102 | File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line 258, in _ApplyTypes_ |
---|
103 | result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args) |
---|
104 | 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) |
---|
105 | |
---|
106 | |
---|
107 | ----------- |
---|
108 | Strategy 2: Traceback:Traceback (most recent call last): |
---|
109 | File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 540, in executeHelper |
---|
110 | File "<COMObject ADODB.Command>", line 3, in Execute |
---|
111 | File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line 258, in _ApplyTypes_ |
---|
112 | result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args) |
---|
113 | 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) |
---|
114 | |
---|
115 | |
---|
116 | ----------- |
---|
117 | Strategy 3: Traceback:Traceback (most recent call last): |
---|
118 | File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 540, in executeHelper |
---|
119 | File "<COMObject ADODB.Command>", line 3, in Execute |
---|
120 | File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line 258, in _ApplyTypes_ |
---|
121 | result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args) |
---|
122 | 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) |
---|
123 | |
---|
124 | |
---|
125 | ----------- |
---|
126 | Strategy 4: Traceback:Traceback (most recent call last): |
---|
127 | File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 540, in executeHelper |
---|
128 | File "<COMObject ADODB.Command>", line 3, in Execute |
---|
129 | File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line 258, in _ApplyTypes_ |
---|
130 | result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args) |
---|
131 | 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) |
---|
132 | |
---|
133 | --- ADODBAPI on command:CREATE DATABASE [django_test_db] with parameters: None |
---|
134 | Traceback (most recent call last): |
---|
135 | File "C:\Documents and Settings\Administrador\Mis documentos\Downloads\Django\tests\runtests.py", line 154, in ? |
---|
136 | django_tests(int(options.verbosity), args) |
---|
137 | File "C:\Documents and Settings\Administrador\Mis documentos\Downloads\Django\tests\runtests.py", line 127, in django_tests |
---|
138 | failures = run_tests(test_models, verbosity, extra_tests=extra_tests) |
---|
139 | File "C:\Documents and Settings\Administrador\Mis documentos\Downloads\Django\django\test\simple.py", line 81, in run_tests |
---|
140 | create_test_db(verbosity) |
---|
141 | File "C:\Documents and Settings\Administrador\Mis documentos\Downloads\Django\django\test\utils.py", line 88, in create_test_db |
---|
142 | management.syncdb(verbosity, interactive=False) |
---|
143 | File "C:\Documents and Settings\Administrador\Mis documentos\Downloads\Django\django\core\management.py", line 533, in syncdb |
---|
144 | cursor.execute(statement) |
---|
145 | File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 592, in execute |
---|
146 | File "C:\Documents and Settings\Administrador\Mis documentos\Downloads\Django\django\db\backends\ado_mssql\base.py", line 32, in executeHelper |
---|
147 | Database.Cursor.executeHelper(self, operation, isStoredProcedureCall, parameters) |
---|
148 | File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 552, in executeHelper |
---|
149 | File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 407, in _raiseCursorError |
---|
150 | File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 38, in standardErrorHandler |
---|
151 | adodbapi.adodbapi.DatabaseError: |
---|
152 | ----------- |
---|
153 | Strategy 1: Traceback:Traceback (most recent call last): |
---|
154 | File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 540, in executeHelper |
---|
155 | File "<COMObject ADODB.Command>", line 3, in Execute |
---|
156 | File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line 258, in _ApplyTypes_ |
---|
157 | result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args) |
---|
158 | 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) |
---|
159 | |
---|
160 | |
---|
161 | ----------- |
---|
162 | Strategy 2: Traceback:Traceback (most recent call last): |
---|
163 | File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 540, in executeHelper |
---|
164 | File "<COMObject ADODB.Command>", line 3, in Execute |
---|
165 | File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line 258, in _ApplyTypes_ |
---|
166 | result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args) |
---|
167 | 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) |
---|
168 | |
---|
169 | |
---|
170 | ----------- |
---|
171 | Strategy 3: Traceback:Traceback (most recent call last): |
---|
172 | File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 540, in executeHelper |
---|
173 | File "<COMObject ADODB.Command>", line 3, in Execute |
---|
174 | File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line 258, in _ApplyTypes_ |
---|
175 | result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args) |
---|
176 | 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) |
---|
177 | |
---|
178 | |
---|
179 | ----------- |
---|
180 | Strategy 4: Traceback:Traceback (most recent call last): |
---|
181 | File "build\bdist.win32\egg\adodbapi\adodbapi.py", line 540, in executeHelper |
---|
182 | File "<COMObject ADODB.Command>", line 3, in Execute |
---|
183 | File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line 258, in _ApplyTypes_ |
---|
184 | result = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType, argTypes) + args) |
---|
185 | 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) |
---|
186 | |
---|
187 | --- ADODBAPI on command:CREATE TABLE [comments_karmascore] ( |
---|
188 | [id] int IDENTITY (1, 1) NOT NULL PRIMARY KEY, |
---|
189 | [user_id] int NOT NULL REFERENCES [auth_user] ([id]) ON DELETE CASCADE ON UPDATE CASCADE, |
---|
190 | [comment_id] int NOT NULL REFERENCES [comments_comment] ([id]) ON DELETE CASCADE ON UPDATE CASCADE, |
---|
191 | [score] smallint NOT NULL, |
---|
192 | [scored_date] smalldatetime NOT NULL, |
---|
193 | UNIQUE ([user_id], [comment_id]) |
---|
194 | ); with parameters: None |
---|