1 | psql -d test_mygis -U mygis -f "D:/generic/PostgreSQL/8.3/share/contrib\lwpostgis.sql"
|
---|
2 | psql -d test_mygis -U mygis -f "D:/generic/PostgreSQL/8.3/share/contrib\spatial_ref_sys.sql"
|
---|
3 | Creation of spatial database test_mygis successful.
|
---|
4 | Creating table django_content_type
|
---|
5 | Creating table auth_permission
|
---|
6 | Creating table auth_group
|
---|
7 | Creating table auth_user
|
---|
8 | Creating table auth_message
|
---|
9 | Creating table django_site
|
---|
10 | Creating table django_flatpage
|
---|
11 | Creating table django_redirect
|
---|
12 | Creating table django_session
|
---|
13 | Creating table django_comments
|
---|
14 | Creating table django_comment_flags
|
---|
15 | Creating table django_admin_log
|
---|
16 | Creating table geoapp_country
|
---|
17 | Creating table geoapp_city
|
---|
18 | Creating table geoapp_pennsylvaniacity
|
---|
19 | Creating table geoapp_state
|
---|
20 | Creating table geoapp_feature
|
---|
21 | Creating table geoapp_minusonesrid
|
---|
22 | Creating table distapp_southtexascity
|
---|
23 | Creating table distapp_southtexascityft
|
---|
24 | Creating table distapp_australiacity
|
---|
25 | Creating table distapp_censuszipcode
|
---|
26 | Creating table distapp_southtexaszipcode
|
---|
27 | Creating table distapp_interstate
|
---|
28 | Creating table layermap_state
|
---|
29 | Creating table layermap_county
|
---|
30 | Creating table layermap_countyfeat
|
---|
31 | Creating table layermap_city
|
---|
32 | Creating table layermap_interstate
|
---|
33 | Creating table relatedapp_location
|
---|
34 | Creating table relatedapp_city
|
---|
35 | Installing custom SQL for geoapp.Country model
|
---|
36 | Failed to install custom SQL for geoapp.Country model: function addgeometrycolumn(unknown, unknown, integer, unknown, integer) does not exist
|
---|
37 | LINE 1: SELECT AddGeometryColumn('geoapp_country', 'mpoly', 4326, 'M...
|
---|
38 | ^
|
---|
39 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
---|
40 |
|
---|
41 | Installing custom SQL for geoapp.City model
|
---|
42 | Failed to install custom SQL for geoapp.City model: function addgeometrycolumn(unknown, unknown, integer, unknown, integer) does not exist
|
---|
43 | LINE 1: SELECT AddGeometryColumn('geoapp_city', 'point', 4326, 'POIN...
|
---|
44 | ^
|
---|
45 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
---|
46 |
|
---|
47 | Installing custom SQL for geoapp.State model
|
---|
48 | Failed to install custom SQL for geoapp.State model: function addgeometrycolumn(unknown, unknown, integer, unknown, integer) does not exist
|
---|
49 | LINE 1: SELECT AddGeometryColumn('geoapp_state', 'poly', 4326, 'POLY...
|
---|
50 | ^
|
---|
51 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
---|
52 |
|
---|
53 | Installing custom SQL for geoapp.Feature model
|
---|
54 | Failed to install custom SQL for geoapp.Feature model: function addgeometrycolumn(unknown, unknown, integer, unknown, integer) does not exist
|
---|
55 | LINE 1: SELECT AddGeometryColumn('geoapp_feature', 'geom', 4326, 'GE...
|
---|
56 | ^
|
---|
57 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
---|
58 |
|
---|
59 | Installing custom SQL for geoapp.MinusOneSRID model
|
---|
60 | Failed to install custom SQL for geoapp.MinusOneSRID model: function addgeometrycolumn(unknown, unknown, integer, unknown, integer) does not exist
|
---|
61 | LINE 1: SELECT AddGeometryColumn('geoapp_minusonesrid', 'geom', -1, ...
|
---|
62 | ^
|
---|
63 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
---|
64 |
|
---|
65 | Installing custom SQL for distapp.SouthTexasCity model
|
---|
66 | Failed to install custom SQL for distapp.SouthTexasCity model: function addgeometrycolumn(unknown, unknown, integer, unknown, integer) does not exist
|
---|
67 | LINE 1: SELECT AddGeometryColumn('distapp_southtexascity', 'point', ...
|
---|
68 | ^
|
---|
69 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
---|
70 |
|
---|
71 | Installing custom SQL for distapp.SouthTexasCityFt model
|
---|
72 | Failed to install custom SQL for distapp.SouthTexasCityFt model: function addgeometrycolumn(unknown, unknown, integer, unknown, integer) does not exist
|
---|
73 | LINE 1: SELECT AddGeometryColumn('distapp_southtexascityft', 'point'...
|
---|
74 | ^
|
---|
75 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
---|
76 |
|
---|
77 | Installing custom SQL for distapp.AustraliaCity model
|
---|
78 | Failed to install custom SQL for distapp.AustraliaCity model: function addgeometrycolumn(unknown, unknown, integer, unknown, integer) does not exist
|
---|
79 | LINE 1: SELECT AddGeometryColumn('distapp_australiacity', 'point', 4...
|
---|
80 | ^
|
---|
81 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
---|
82 |
|
---|
83 | Installing custom SQL for distapp.CensusZipcode model
|
---|
84 | Failed to install custom SQL for distapp.CensusZipcode model: function addgeometrycolumn(unknown, unknown, integer, unknown, integer) does not exist
|
---|
85 | LINE 1: SELECT AddGeometryColumn('distapp_censuszipcode', 'poly', 42...
|
---|
86 | ^
|
---|
87 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
---|
88 |
|
---|
89 | Installing custom SQL for distapp.SouthTexasZipcode model
|
---|
90 | Failed to install custom SQL for distapp.SouthTexasZipcode model: function addgeometrycolumn(unknown, unknown, integer, unknown, integer) does not exist
|
---|
91 | LINE 1: SELECT AddGeometryColumn('distapp_southtexaszipcode', 'poly'...
|
---|
92 | ^
|
---|
93 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
---|
94 |
|
---|
95 | Installing custom SQL for distapp.Interstate model
|
---|
96 | Failed to install custom SQL for distapp.Interstate model: function addgeometrycolumn(unknown, unknown, integer, unknown, integer) does not exist
|
---|
97 | LINE 1: SELECT AddGeometryColumn('distapp_interstate', 'line', 4326,...
|
---|
98 | ^
|
---|
99 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
---|
100 |
|
---|
101 | Installing custom SQL for layermap.County model
|
---|
102 | Failed to install custom SQL for layermap.County model: function addgeometrycolumn(unknown, unknown, integer, unknown, integer) does not exist
|
---|
103 | LINE 1: SELECT AddGeometryColumn('layermap_county', 'mpoly', 4269, '...
|
---|
104 | ^
|
---|
105 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
---|
106 |
|
---|
107 | Installing custom SQL for layermap.CountyFeat model
|
---|
108 | Failed to install custom SQL for layermap.CountyFeat model: function addgeometrycolumn(unknown, unknown, integer, unknown, integer) does not exist
|
---|
109 | LINE 1: SELECT AddGeometryColumn('layermap_countyfeat', 'poly', 4269...
|
---|
110 | ^
|
---|
111 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
---|
112 |
|
---|
113 | Installing custom SQL for layermap.City model
|
---|
114 | Failed to install custom SQL for layermap.City model: function addgeometrycolumn(unknown, unknown, integer, unknown, integer) does not exist
|
---|
115 | LINE 1: SELECT AddGeometryColumn('layermap_city', 'point', 4326, 'PO...
|
---|
116 | ^
|
---|
117 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
---|
118 |
|
---|
119 | Installing custom SQL for layermap.Interstate model
|
---|
120 | Failed to install custom SQL for layermap.Interstate model: function addgeometrycolumn(unknown, unknown, integer, unknown, integer) does not exist
|
---|
121 | LINE 1: SELECT AddGeometryColumn('layermap_interstate', 'path', 4326...
|
---|
122 | ^
|
---|
123 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
---|
124 |
|
---|
125 | Installing custom SQL for relatedapp.Location model
|
---|
126 | Failed to install custom SQL for relatedapp.Location model: function addgeometrycolumn(unknown, unknown, integer, unknown, integer) does not exist
|
---|
127 | LINE 1: SELECT AddGeometryColumn('relatedapp_location', 'point', 432...
|
---|
128 | ^
|
---|
129 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
---|
130 |
|
---|
131 | Installing index for auth.Permission model
|
---|
132 | Installing index for auth.Message model
|
---|
133 | Installing index for flatpages.FlatPage model
|
---|
134 | Installing index for redirects.Redirect model
|
---|
135 | Installing index for comments.Comment model
|
---|
136 | Installing index for comments.CommentFlag model
|
---|
137 | Installing index for admin.LogEntry model
|
---|
138 | Installing index for layermap.County model
|
---|
139 | Installing index for relatedapp.City model
|
---|
140 | ...
|
---|
141 | BEGIN - expecting GEOS_ERROR; safe to ignore.
|
---|
142 |
|
---|
143 | GEOS_ERROR: ParseException: Expected number but encountered ','
|
---|
144 | GEOS_ERROR: ParseException: Unknown WKB type 255
|
---|
145 |
|
---|
146 | END - expecting GEOS_ERROR; safe to ignore.
|
---|
147 |
|
---|
148 | GEOS_ERROR: ParseException: Unexpected EOF parsing WKB
|
---|
149 | .............
|
---|
150 | BEGIN - expecting GEOS_NOTICE; safe to ignore.
|
---|
151 |
|
---|
152 | GEOS_NOTICE: Duplicate Rings at or near point 60 300
|
---|
153 |
|
---|
154 | END - expecting GEOS_NOTICE; safe to ignore.
|
---|
155 |
|
---|
156 | ............................................
|
---|
157 | BEGIN - expecting out of range feature id error; safe to ignore.
|
---|
158 |
|
---|
159 |
|
---|
160 | END - expecting out of range feature id error; safe to ignore.
|
---|
161 | ....................
|
---|
162 | BEGIN - expecting IllegalArgumentException; safe to ignore.
|
---|
163 |
|
---|
164 |
|
---|
165 | END - expecting IllegalArgumentException; safe to ignore.
|
---|
166 |
|
---|
167 | ......................EEEEEEEEEEEEEEEEE.EEEEEEEEEEEEE..EEEEEEEEEEEEEEFEEEEE
|
---|
168 | ======================================================================
|
---|
169 | ERROR: Testing retrieval of SpatialRefSys model objects.
|
---|
170 | ----------------------------------------------------------------------
|
---|
171 | Traceback (most recent call last):
|
---|
172 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\test_spatialrefsys.py", line 34, in test01_retrieve
|
---|
173 | srs = SpatialRefSys.objects.get(srid=sd['srid'])
|
---|
174 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 93, in get
|
---|
175 | return self.get_query_set().get(*args, **kwargs)
|
---|
176 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
177 | num = len(clone)
|
---|
178 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
179 | self._result_cache = list(self.iterator())
|
---|
180 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
181 | for row in self.query.results_iter():
|
---|
182 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
183 | for rows in self.execute_sql(MULTI):
|
---|
184 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
185 | cursor.execute(sql, params)
|
---|
186 | ProgrammingError: relation "spatial_ref_sys" does not exist
|
---|
187 |
|
---|
188 |
|
---|
189 | ======================================================================
|
---|
190 | ERROR: Testing getting OSR objects from SpatialRefSys model objects.
|
---|
191 | ----------------------------------------------------------------------
|
---|
192 | Traceback (most recent call last):
|
---|
193 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\test_spatialrefsys.py", line 55, in test02_osr
|
---|
194 | sr = SpatialRefSys.objects.get(srid=sd['srid'])
|
---|
195 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 93, in get
|
---|
196 | return self.get_query_set().get(*args, **kwargs)
|
---|
197 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
198 | num = len(clone)
|
---|
199 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
200 | self._result_cache = list(self.iterator())
|
---|
201 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
202 | for row in self.query.results_iter():
|
---|
203 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
204 | for rows in self.execute_sql(MULTI):
|
---|
205 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
206 | cursor.execute(sql, params)
|
---|
207 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
208 |
|
---|
209 |
|
---|
210 | ======================================================================
|
---|
211 | ERROR: Testing the ellipsoid property.
|
---|
212 | ----------------------------------------------------------------------
|
---|
213 | Traceback (most recent call last):
|
---|
214 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\test_spatialrefsys.py", line 76, in test03_ellipsoid
|
---|
215 | srs = SpatialRefSys.objects.get(srid=sd['srid'])
|
---|
216 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 93, in get
|
---|
217 | return self.get_query_set().get(*args, **kwargs)
|
---|
218 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
219 | num = len(clone)
|
---|
220 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
221 | self._result_cache = list(self.iterator())
|
---|
222 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
223 | for row in self.query.results_iter():
|
---|
224 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
225 | for rows in self.execute_sql(MULTI):
|
---|
226 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
227 | cursor.execute(sql, params)
|
---|
228 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
229 |
|
---|
230 |
|
---|
231 | ======================================================================
|
---|
232 | ERROR: Testing geographic initial SQL.
|
---|
233 | ----------------------------------------------------------------------
|
---|
234 | Traceback (most recent call last):
|
---|
235 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 37, in test01_initial_sql
|
---|
236 | self.assertEqual(2, Country.objects.count())
|
---|
237 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 81, in count
|
---|
238 | return self.get_query_set().count()
|
---|
239 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 296, in count
|
---|
240 | return self.query.get_count()
|
---|
241 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 237, in get_count
|
---|
242 | data = obj.execute_sql(SINGLE)
|
---|
243 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
244 | cursor.execute(sql, params)
|
---|
245 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
246 |
|
---|
247 |
|
---|
248 | ======================================================================
|
---|
249 | ERROR: Testing Lazy-Geometry support (using the GeometryProxy).
|
---|
250 | ----------------------------------------------------------------------
|
---|
251 | Traceback (most recent call last):
|
---|
252 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 51, in test02_proxy
|
---|
253 | nullcity.save()
|
---|
254 | File "D:\dev\django\Django-1.0.2\django\db\models\base.py", line 311, in save
|
---|
255 | self.save_base(force_insert=force_insert, force_update=force_update)
|
---|
256 | File "D:\dev\django\Django-1.0.2\django\db\models\base.py", line 383, in save_base
|
---|
257 | result = manager._insert(values, return_id=update_pk)
|
---|
258 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 138, in _insert
|
---|
259 | return insert_query(self.model, values, **kwargs)
|
---|
260 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 894, in insert_query
|
---|
261 | return query.execute_sql(return_id)
|
---|
262 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\subqueries.py", line 309, in execute_sql
|
---|
263 | cursor = super(InsertQuery, self).execute_sql(None)
|
---|
264 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
265 | cursor.execute(sql, params)
|
---|
266 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
267 |
|
---|
268 |
|
---|
269 | ======================================================================
|
---|
270 | ERROR: Testing KML output from the database using GeoManager.kml().
|
---|
271 | ----------------------------------------------------------------------
|
---|
272 | Traceback (most recent call last):
|
---|
273 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 135, in test03a_kml
|
---|
274 | ptown1 = City.objects.kml(field_name='point', precision=9).get(name='Pueblo')
|
---|
275 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
276 | num = len(clone)
|
---|
277 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
278 | self._result_cache = list(self.iterator())
|
---|
279 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
280 | for row in self.query.results_iter():
|
---|
281 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
282 | for rows in self.execute_sql(MULTI):
|
---|
283 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
284 | cursor.execute(sql, params)
|
---|
285 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
286 |
|
---|
287 |
|
---|
288 | ======================================================================
|
---|
289 | ERROR: Testing GML output from the database using GeoManager.gml().
|
---|
290 | ----------------------------------------------------------------------
|
---|
291 | Traceback (most recent call last):
|
---|
292 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 147, in test03b_gml
|
---|
293 | ptown1 = City.objects.gml(field_name='point', precision=9).get(name='Pueblo')
|
---|
294 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
295 | num = len(clone)
|
---|
296 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
297 | self._result_cache = list(self.iterator())
|
---|
298 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
299 | for row in self.query.results_iter():
|
---|
300 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
301 | for rows in self.execute_sql(MULTI):
|
---|
302 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
303 | cursor.execute(sql, params)
|
---|
304 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
305 |
|
---|
306 |
|
---|
307 | ======================================================================
|
---|
308 | ERROR: Testing the transform() GeoManager method.
|
---|
309 | ----------------------------------------------------------------------
|
---|
310 | Traceback (most recent call last):
|
---|
311 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 171, in test04_transform
|
---|
312 | h = City.objects.transform(htown.srid).get(name='Houston')
|
---|
313 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
314 | num = len(clone)
|
---|
315 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
316 | self._result_cache = list(self.iterator())
|
---|
317 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
318 | for row in self.query.results_iter():
|
---|
319 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
320 | for rows in self.execute_sql(MULTI):
|
---|
321 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
322 | cursor.execute(sql, params)
|
---|
323 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
324 |
|
---|
325 |
|
---|
326 | ======================================================================
|
---|
327 | ERROR: Testing the `extent` GeoQuerySet method.
|
---|
328 | ----------------------------------------------------------------------
|
---|
329 | Traceback (most recent call last):
|
---|
330 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 193, in test05_extent
|
---|
331 | extent = qs.extent()
|
---|
332 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\db\models\query.py", line 114, in extent
|
---|
333 | return self._spatial_aggregate('extent', convert_func=convert_extent, **kwargs)
|
---|
334 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\db\models\query.py", line 362, in _spatial_aggregate
|
---|
335 | cursor.execute(asql, params)
|
---|
336 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
337 |
|
---|
338 |
|
---|
339 | ======================================================================
|
---|
340 | ERROR: Testing the `make_line` GeoQuerySet method.
|
---|
341 | ----------------------------------------------------------------------
|
---|
342 | Traceback (most recent call last):
|
---|
343 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 208, in test06_make_line
|
---|
344 | City.objects.make_line())
|
---|
345 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\db\models\manager.py", line 46, in make_line
|
---|
346 | return self.get_query_set().make_line(*args, **kwargs)
|
---|
347 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\db\models\query.py", line 168, in make_line
|
---|
348 | return self._spatial_aggregate('make_line', **kwargs)
|
---|
349 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\db\models\query.py", line 362, in _spatial_aggregate
|
---|
350 | cursor.execute(asql, params)
|
---|
351 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
352 |
|
---|
353 |
|
---|
354 | ======================================================================
|
---|
355 | ERROR: Testing the `disjoint` lookup type.
|
---|
356 | ----------------------------------------------------------------------
|
---|
357 | Traceback (most recent call last):
|
---|
358 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 213, in test09_disjoint
|
---|
359 | ptown = City.objects.get(name='Pueblo')
|
---|
360 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 93, in get
|
---|
361 | return self.get_query_set().get(*args, **kwargs)
|
---|
362 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
363 | num = len(clone)
|
---|
364 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
365 | self._result_cache = list(self.iterator())
|
---|
366 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
367 | for row in self.query.results_iter():
|
---|
368 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
369 | for rows in self.execute_sql(MULTI):
|
---|
370 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
371 | cursor.execute(sql, params)
|
---|
372 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
373 |
|
---|
374 |
|
---|
375 | ======================================================================
|
---|
376 | ERROR: Testing the 'contained', 'contains', and 'bbcontains' lookup types.
|
---|
377 | ----------------------------------------------------------------------
|
---|
378 | Traceback (most recent call last):
|
---|
379 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 229, in test10_contains_contained
|
---|
380 | texas = Country.objects.get(name='Texas')
|
---|
381 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 93, in get
|
---|
382 | return self.get_query_set().get(*args, **kwargs)
|
---|
383 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
384 | num = len(clone)
|
---|
385 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
386 | self._result_cache = list(self.iterator())
|
---|
387 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
388 | for row in self.query.results_iter():
|
---|
389 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
390 | for rows in self.execute_sql(MULTI):
|
---|
391 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
392 | cursor.execute(sql, params)
|
---|
393 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
394 |
|
---|
395 |
|
---|
396 | ======================================================================
|
---|
397 | ERROR: Testing automatic transform for lookups and inserts.
|
---|
398 | ----------------------------------------------------------------------
|
---|
399 | Traceback (most recent call last):
|
---|
400 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 293, in test11_lookup_insert_transform
|
---|
401 | tx = Country.objects.get(mpoly__intersects=nad_pnt)
|
---|
402 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 93, in get
|
---|
403 | return self.get_query_set().get(*args, **kwargs)
|
---|
404 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
405 | num = len(clone)
|
---|
406 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
407 | self._result_cache = list(self.iterator())
|
---|
408 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
409 | for row in self.query.results_iter():
|
---|
410 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
411 | for rows in self.execute_sql(MULTI):
|
---|
412 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
413 | cursor.execute(sql, params)
|
---|
414 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
415 |
|
---|
416 |
|
---|
417 | ======================================================================
|
---|
418 | ERROR: Testing NULL geometry support, and the `isnull` lookup type.
|
---|
419 | ----------------------------------------------------------------------
|
---|
420 | Traceback (most recent call last):
|
---|
421 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 322, in test12_null_geometries
|
---|
422 | self.assertEqual(1, len(nullqs))
|
---|
423 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
424 | self._result_cache = list(self.iterator())
|
---|
425 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
426 | for row in self.query.results_iter():
|
---|
427 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
428 | for rows in self.execute_sql(MULTI):
|
---|
429 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
430 | cursor.execute(sql, params)
|
---|
431 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
432 |
|
---|
433 |
|
---|
434 | ======================================================================
|
---|
435 | ERROR: Testing the 'left' and 'right' lookup types.
|
---|
436 | ----------------------------------------------------------------------
|
---|
437 | Traceback (most recent call last):
|
---|
438 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 345, in test13_left_right
|
---|
439 | co_border = State.objects.get(name='Colorado').poly
|
---|
440 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 93, in get
|
---|
441 | return self.get_query_set().get(*args, **kwargs)
|
---|
442 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
443 | num = len(clone)
|
---|
444 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
445 | self._result_cache = list(self.iterator())
|
---|
446 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
447 | for row in self.query.results_iter():
|
---|
448 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
449 | for rows in self.execute_sql(MULTI):
|
---|
450 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
451 | cursor.execute(sql, params)
|
---|
452 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
453 |
|
---|
454 |
|
---|
455 | ======================================================================
|
---|
456 | ERROR: Testing the 'same_as' and 'equals' lookup types.
|
---|
457 | ----------------------------------------------------------------------
|
---|
458 | Traceback (most recent call last):
|
---|
459 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 378, in test14_equals
|
---|
460 | c1 = City.objects.get(point=pnt)
|
---|
461 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 93, in get
|
---|
462 | return self.get_query_set().get(*args, **kwargs)
|
---|
463 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
464 | num = len(clone)
|
---|
465 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
466 | self._result_cache = list(self.iterator())
|
---|
467 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
468 | for row in self.query.results_iter():
|
---|
469 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
470 | for rows in self.execute_sql(MULTI):
|
---|
471 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
472 | cursor.execute(sql, params)
|
---|
473 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
474 |
|
---|
475 |
|
---|
476 | ======================================================================
|
---|
477 | ERROR: Testing the 'relate' lookup type.
|
---|
478 | ----------------------------------------------------------------------
|
---|
479 | Traceback (most recent call last):
|
---|
480 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 412, in test15_relate
|
---|
481 | self.assertEqual('Texas', Country.objects.get(mpoly__relate=(pnt1, contains_mask)).name)
|
---|
482 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 93, in get
|
---|
483 | return self.get_query_set().get(*args, **kwargs)
|
---|
484 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
485 | num = len(clone)
|
---|
486 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
487 | self._result_cache = list(self.iterator())
|
---|
488 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
489 | for row in self.query.results_iter():
|
---|
490 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
491 | for rows in self.execute_sql(MULTI):
|
---|
492 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
493 | cursor.execute(sql, params)
|
---|
494 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
495 |
|
---|
496 |
|
---|
497 | ======================================================================
|
---|
498 | ERROR: Testing the `unionagg` (aggregate union) GeoManager method.
|
---|
499 | ----------------------------------------------------------------------
|
---|
500 | Traceback (most recent call last):
|
---|
501 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 434, in test17_unionagg
|
---|
502 | tx = Country.objects.get(name='Texas').mpoly
|
---|
503 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 93, in get
|
---|
504 | return self.get_query_set().get(*args, **kwargs)
|
---|
505 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
506 | num = len(clone)
|
---|
507 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
508 | self._result_cache = list(self.iterator())
|
---|
509 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
510 | for row in self.query.results_iter():
|
---|
511 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
512 | for rows in self.execute_sql(MULTI):
|
---|
513 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
514 | cursor.execute(sql, params)
|
---|
515 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
516 |
|
---|
517 |
|
---|
518 | ======================================================================
|
---|
519 | ERROR: Testing GeometryField.
|
---|
520 | ----------------------------------------------------------------------
|
---|
521 | Traceback (most recent call last):
|
---|
522 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 458, in test18_geometryfield
|
---|
523 | Feature(name='Point', geom=Point(1, 1)).save()
|
---|
524 | File "D:\dev\django\Django-1.0.2\django\db\models\base.py", line 311, in save
|
---|
525 | self.save_base(force_insert=force_insert, force_update=force_update)
|
---|
526 | File "D:\dev\django\Django-1.0.2\django\db\models\base.py", line 383, in save_base
|
---|
527 | result = manager._insert(values, return_id=update_pk)
|
---|
528 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 138, in _insert
|
---|
529 | return insert_query(self.model, values, **kwargs)
|
---|
530 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 894, in insert_query
|
---|
531 | return query.execute_sql(return_id)
|
---|
532 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\subqueries.py", line 309, in execute_sql
|
---|
533 | cursor = super(InsertQuery, self).execute_sql(None)
|
---|
534 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
535 | cursor.execute(sql, params)
|
---|
536 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
537 |
|
---|
538 |
|
---|
539 | ======================================================================
|
---|
540 | ERROR: Testing the `centroid` GeoQuerySet method.
|
---|
541 | ----------------------------------------------------------------------
|
---|
542 | Traceback (most recent call last):
|
---|
543 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 484, in test19_centroid
|
---|
544 | for s in qs:
|
---|
545 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 185, in _result_iter
|
---|
546 | self._fill_cache()
|
---|
547 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 618, in _fill_cache
|
---|
548 | self._result_cache.append(self._iter.next())
|
---|
549 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
550 | for row in self.query.results_iter():
|
---|
551 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
552 | for rows in self.execute_sql(MULTI):
|
---|
553 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
554 | cursor.execute(sql, params)
|
---|
555 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
556 |
|
---|
557 |
|
---|
558 | ======================================================================
|
---|
559 | ERROR: Testing the `point_on_surface` GeoQuerySet method.
|
---|
560 | ----------------------------------------------------------------------
|
---|
561 | Traceback (most recent call last):
|
---|
562 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 499, in test20_pointonsurface
|
---|
563 | ref = {'New Zealand' : Country.objects.get(name='New Zealand').mpoly.point_on_surface,
|
---|
564 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 93, in get
|
---|
565 | return self.get_query_set().get(*args, **kwargs)
|
---|
566 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
567 | num = len(clone)
|
---|
568 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
569 | self._result_cache = list(self.iterator())
|
---|
570 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
571 | for row in self.query.results_iter():
|
---|
572 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
573 | for rows in self.execute_sql(MULTI):
|
---|
574 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
575 | cursor.execute(sql, params)
|
---|
576 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
577 |
|
---|
578 |
|
---|
579 | ======================================================================
|
---|
580 | ERROR: Testing the `scale` GeoQuerySet method.
|
---|
581 | ----------------------------------------------------------------------
|
---|
582 | Traceback (most recent call last):
|
---|
583 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 511, in test21_scale
|
---|
584 | for c in qs:
|
---|
585 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 185, in _result_iter
|
---|
586 | self._fill_cache()
|
---|
587 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 618, in _fill_cache
|
---|
588 | self._result_cache.append(self._iter.next())
|
---|
589 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
590 | for row in self.query.results_iter():
|
---|
591 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
592 | for rows in self.execute_sql(MULTI):
|
---|
593 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
594 | cursor.execute(sql, params)
|
---|
595 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
596 |
|
---|
597 |
|
---|
598 | ======================================================================
|
---|
599 | ERROR: Testing the `translate` GeoQuerySet method.
|
---|
600 | ----------------------------------------------------------------------
|
---|
601 | Traceback (most recent call last):
|
---|
602 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 524, in test22_translate
|
---|
603 | for c in qs:
|
---|
604 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 185, in _result_iter
|
---|
605 | self._fill_cache()
|
---|
606 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 618, in _fill_cache
|
---|
607 | self._result_cache.append(self._iter.next())
|
---|
608 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
609 | for row in self.query.results_iter():
|
---|
610 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
611 | for rows in self.execute_sql(MULTI):
|
---|
612 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
613 | cursor.execute(sql, params)
|
---|
614 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
615 |
|
---|
616 |
|
---|
617 | ======================================================================
|
---|
618 | ERROR: Testing the `num_geom` GeoQuerySet method.
|
---|
619 | ----------------------------------------------------------------------
|
---|
620 | Traceback (most recent call last):
|
---|
621 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 535, in test23_numgeom
|
---|
622 | for c in Country.objects.num_geom(): self.assertEqual(2, c.num_geom)
|
---|
623 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 185, in _result_iter
|
---|
624 | self._fill_cache()
|
---|
625 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 618, in _fill_cache
|
---|
626 | self._result_cache.append(self._iter.next())
|
---|
627 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
628 | for row in self.query.results_iter():
|
---|
629 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
630 | for rows in self.execute_sql(MULTI):
|
---|
631 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
632 | cursor.execute(sql, params)
|
---|
633 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
634 |
|
---|
635 |
|
---|
636 | ======================================================================
|
---|
637 | ERROR: Testing the `num_points` GeoQuerySet method.
|
---|
638 | ----------------------------------------------------------------------
|
---|
639 | Traceback (most recent call last):
|
---|
640 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 545, in test24_numpoints
|
---|
641 | for c in Country.objects.num_points(): self.assertEqual(c.mpoly.num_points, c.num_points)
|
---|
642 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 185, in _result_iter
|
---|
643 | self._fill_cache()
|
---|
644 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 618, in _fill_cache
|
---|
645 | self._result_cache.append(self._iter.next())
|
---|
646 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
647 | for row in self.query.results_iter():
|
---|
648 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
649 | for rows in self.execute_sql(MULTI):
|
---|
650 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
651 | cursor.execute(sql, params)
|
---|
652 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
653 |
|
---|
654 |
|
---|
655 | ======================================================================
|
---|
656 | ERROR: Testing the `difference`, `intersection`, `sym_difference`, and `union` GeoQuerySet methods.
|
---|
657 | ----------------------------------------------------------------------
|
---|
658 | Traceback (most recent call last):
|
---|
659 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 555, in test25_geoset
|
---|
660 | for c in Country.objects.all().intersection(geom).difference(geom).sym_difference(geom).union(geom):
|
---|
661 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 185, in _result_iter
|
---|
662 | self._fill_cache()
|
---|
663 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 618, in _fill_cache
|
---|
664 | self._result_cache.append(self._iter.next())
|
---|
665 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
666 | for row in self.query.results_iter():
|
---|
667 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
668 | for rows in self.execute_sql(MULTI):
|
---|
669 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
670 | cursor.execute(sql, params)
|
---|
671 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
672 |
|
---|
673 |
|
---|
674 | ======================================================================
|
---|
675 | ERROR: Test GeoQuerySet methods on inherited Geometry fields.
|
---|
676 | ----------------------------------------------------------------------
|
---|
677 | Traceback (most recent call last):
|
---|
678 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\tests.py", line 564, in test26_inherited_geofields
|
---|
679 | mansfield = PennsylvaniaCity.objects.create(name='Mansfield', county='Tioga', point='POINT(-77.071445 41.823881)')
|
---|
680 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 99, in create
|
---|
681 | return self.get_query_set().create(**kwargs)
|
---|
682 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 319, in create
|
---|
683 | obj.save(force_insert=True)
|
---|
684 | File "D:\dev\django\Django-1.0.2\django\db\models\base.py", line 311, in save
|
---|
685 | self.save_base(force_insert=force_insert, force_update=force_update)
|
---|
686 | File "D:\dev\django\Django-1.0.2\django\db\models\base.py", line 345, in save_base
|
---|
687 | self.save_base(raw, parent)
|
---|
688 | File "D:\dev\django\Django-1.0.2\django\db\models\base.py", line 383, in save_base
|
---|
689 | result = manager._insert(values, return_id=update_pk)
|
---|
690 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 138, in _insert
|
---|
691 | return insert_query(self.model, values, **kwargs)
|
---|
692 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 894, in insert_query
|
---|
693 | return query.execute_sql(return_id)
|
---|
694 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\subqueries.py", line 309, in execute_sql
|
---|
695 | cursor = super(InsertQuery, self).execute_sql(None)
|
---|
696 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
697 | cursor.execute(sql, params)
|
---|
698 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
699 |
|
---|
700 |
|
---|
701 | ======================================================================
|
---|
702 | ERROR: Testing geographic feeds using GeoRSS over Atom.
|
---|
703 | ----------------------------------------------------------------------
|
---|
704 | Traceback (most recent call last):
|
---|
705 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\test_feeds.py", line 43, in test_geofeed_atom
|
---|
706 | doc1 = minidom.parseString(self.client.get('/geoapp/feeds/atom1/').content)
|
---|
707 | File "D:\dev\django\Django-1.0.2\django\test\client.py", line 272, in get
|
---|
708 | return self.request(**r)
|
---|
709 | File "D:\dev\django\Django-1.0.2\django\core\handlers\base.py", line 86, in get_response
|
---|
710 | response = callback(request, *callback_args, **callback_kwargs)
|
---|
711 | File "D:\dev\django\Django-1.0.2\django\contrib\syndication\views.py", line 19, in feed
|
---|
712 | feedgen = f(slug, request).get_feed(param)
|
---|
713 | File "D:\dev\django\Django-1.0.2\django\contrib\syndication\feeds.py", line 95, in get_feed
|
---|
714 | current_site = Site.objects.get_current()
|
---|
715 | File "D:\dev\django\Django-1.0.2\django\contrib\sites\models.py", line 22, in get_current
|
---|
716 | current_site = self.get(pk=sid)
|
---|
717 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 93, in get
|
---|
718 | return self.get_query_set().get(*args, **kwargs)
|
---|
719 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
720 | num = len(clone)
|
---|
721 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
722 | self._result_cache = list(self.iterator())
|
---|
723 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
724 | for row in self.query.results_iter():
|
---|
725 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
726 | for rows in self.execute_sql(MULTI):
|
---|
727 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
728 | cursor.execute(sql, params)
|
---|
729 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
730 |
|
---|
731 |
|
---|
732 | ======================================================================
|
---|
733 | ERROR: Tests geographic feeds using GeoRSS over RSSv2.
|
---|
734 | ----------------------------------------------------------------------
|
---|
735 | Traceback (most recent call last):
|
---|
736 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\test_feeds.py", line 19, in test_geofeed_rss
|
---|
737 | doc1 = minidom.parseString(self.client.get('/geoapp/feeds/rss1/').content)
|
---|
738 | File "D:\dev\django\Django-1.0.2\django\test\client.py", line 272, in get
|
---|
739 | return self.request(**r)
|
---|
740 | File "D:\dev\django\Django-1.0.2\django\core\handlers\base.py", line 86, in get_response
|
---|
741 | response = callback(request, *callback_args, **callback_kwargs)
|
---|
742 | File "D:\dev\django\Django-1.0.2\django\contrib\syndication\views.py", line 19, in feed
|
---|
743 | feedgen = f(slug, request).get_feed(param)
|
---|
744 | File "D:\dev\django\Django-1.0.2\django\contrib\syndication\feeds.py", line 129, in get_feed
|
---|
745 | for item in self.__get_dynamic_attr('items', obj):
|
---|
746 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 185, in _result_iter
|
---|
747 | self._fill_cache()
|
---|
748 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 618, in _fill_cache
|
---|
749 | self._result_cache.append(self._iter.next())
|
---|
750 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
751 | for row in self.query.results_iter():
|
---|
752 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
753 | for rows in self.execute_sql(MULTI):
|
---|
754 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
755 | cursor.execute(sql, params)
|
---|
756 | ProgrammingError: column geoapp_city.point does not exist
|
---|
757 | LINE 1: SELECT "geoapp_city"."id", "geoapp_city"."name", "geoapp_cit...
|
---|
758 | ^
|
---|
759 |
|
---|
760 |
|
---|
761 | ======================================================================
|
---|
762 | ERROR: Testing geographic feeds using W3C Geo.
|
---|
763 | ----------------------------------------------------------------------
|
---|
764 | Traceback (most recent call last):
|
---|
765 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\test_feeds.py", line 62, in test_geofeed_w3c
|
---|
766 | doc = minidom.parseString(self.client.get('/geoapp/feeds/w3cgeo1/').content)
|
---|
767 | File "D:\dev\django\Django-1.0.2\django\test\client.py", line 272, in get
|
---|
768 | return self.request(**r)
|
---|
769 | File "D:\dev\django\Django-1.0.2\django\core\handlers\base.py", line 86, in get_response
|
---|
770 | response = callback(request, *callback_args, **callback_kwargs)
|
---|
771 | File "D:\dev\django\Django-1.0.2\django\contrib\syndication\views.py", line 19, in feed
|
---|
772 | feedgen = f(slug, request).get_feed(param)
|
---|
773 | File "D:\dev\django\Django-1.0.2\django\contrib\syndication\feeds.py", line 129, in get_feed
|
---|
774 | for item in self.__get_dynamic_attr('items', obj):
|
---|
775 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 185, in _result_iter
|
---|
776 | self._fill_cache()
|
---|
777 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 618, in _fill_cache
|
---|
778 | self._result_cache.append(self._iter.next())
|
---|
779 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
780 | for row in self.query.results_iter():
|
---|
781 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
782 | for rows in self.execute_sql(MULTI):
|
---|
783 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
784 | cursor.execute(sql, params)
|
---|
785 | ProgrammingError: column geoapp_city.point does not exist
|
---|
786 | LINE 1: SELECT "geoapp_city"."id", "geoapp_city"."name", "geoapp_cit...
|
---|
787 | ^
|
---|
788 |
|
---|
789 |
|
---|
790 | ======================================================================
|
---|
791 | ERROR: Tests KML/KMZ geographic sitemaps.
|
---|
792 | ----------------------------------------------------------------------
|
---|
793 | Traceback (most recent call last):
|
---|
794 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\geoapp\test_sitemaps.py", line 47, in test_geositemap_kml
|
---|
795 | kml_doc = minidom.parseString(self.client.get(kml_url).content)
|
---|
796 | File "D:\dev\django\Django-1.0.2\django\test\client.py", line 272, in get
|
---|
797 | return self.request(**r)
|
---|
798 | File "D:\dev\django\Django-1.0.2\django\core\handlers\base.py", line 86, in get_response
|
---|
799 | response = callback(request, *callback_args, **callback_kwargs)
|
---|
800 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\sitemaps\views.py", line 102, in kml
|
---|
801 | return render('gis/kml/placemarks.kml', {'places' : placemarks})
|
---|
802 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\shortcuts.py", line 16, in render_to_kml
|
---|
803 | return HttpResponse(loader.render_to_string(*args, **kwargs),
|
---|
804 | File "D:\dev\django\Django-1.0.2\django\template\loader.py", line 107, in render_to_string
|
---|
805 | return t.render(context_instance)
|
---|
806 | File "D:\dev\django\Django-1.0.2\django\test\utils.py", line 15, in instrumented_test_render
|
---|
807 | return self.nodelist.render(context)
|
---|
808 | File "D:\dev\django\Django-1.0.2\django\template\__init__.py", line 768, in render
|
---|
809 | bits.append(self.render_node(node, context))
|
---|
810 | File "D:\dev\django\Django-1.0.2\django\template\debug.py", line 71, in render_node
|
---|
811 | result = node.render(context)
|
---|
812 | File "D:\dev\django\Django-1.0.2\django\template\loader_tags.py", line 97, in render
|
---|
813 | return compiled_parent.render(context)
|
---|
814 | File "D:\dev\django\Django-1.0.2\django\test\utils.py", line 15, in instrumented_test_render
|
---|
815 | return self.nodelist.render(context)
|
---|
816 | File "D:\dev\django\Django-1.0.2\django\template\__init__.py", line 768, in render
|
---|
817 | bits.append(self.render_node(node, context))
|
---|
818 | File "D:\dev\django\Django-1.0.2\django\template\debug.py", line 71, in render_node
|
---|
819 | result = node.render(context)
|
---|
820 | File "D:\dev\django\Django-1.0.2\django\template\loader_tags.py", line 24, in render
|
---|
821 | result = self.nodelist.render(context)
|
---|
822 | File "D:\dev\django\Django-1.0.2\django\template\__init__.py", line 768, in render
|
---|
823 | bits.append(self.render_node(node, context))
|
---|
824 | File "D:\dev\django\Django-1.0.2\django\template\debug.py", line 81, in render_node
|
---|
825 | raise wrapped
|
---|
826 | TemplateSyntaxError: Caught an exception while rendering: column geoapp_city.point does not exist
|
---|
827 | LINE 1: SELECT (ST_AsKML("geoapp_city"."point",8)) AS "kml", "geoapp...
|
---|
828 | ^
|
---|
829 |
|
---|
830 |
|
---|
831 | Original Traceback (most recent call last):
|
---|
832 | File "D:\dev\django\Django-1.0.2\django\template\debug.py", line 71, in render_node
|
---|
833 | result = node.render(context)
|
---|
834 | File "D:\dev\django\Django-1.0.2\django\template\defaulttags.py", line 123, in render
|
---|
835 | len_values = len(values)
|
---|
836 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
837 | self._result_cache = list(self.iterator())
|
---|
838 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
839 | for row in self.query.results_iter():
|
---|
840 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
841 | for rows in self.execute_sql(MULTI):
|
---|
842 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
843 | cursor.execute(sql, params)
|
---|
844 | ProgrammingError: column geoapp_city.point does not exist
|
---|
845 | LINE 1: SELECT (ST_AsKML("geoapp_city"."point",8)) AS "kml", "geoapp...
|
---|
846 | ^
|
---|
847 |
|
---|
848 |
|
---|
849 |
|
---|
850 | ======================================================================
|
---|
851 | ERROR: Initialization of distance models.
|
---|
852 | ----------------------------------------------------------------------
|
---|
853 | Traceback (most recent call last):
|
---|
854 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\distapp\tests.py", line 38, in test01_init
|
---|
855 | load_cities(SouthTexasCity, stx_cities)
|
---|
856 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\distapp\tests.py", line 36, in load_cities
|
---|
857 | c.save()
|
---|
858 | File "D:\dev\django\Django-1.0.2\django\db\models\base.py", line 311, in save
|
---|
859 | self.save_base(force_insert=force_insert, force_update=force_update)
|
---|
860 | File "D:\dev\django\Django-1.0.2\django\db\models\base.py", line 383, in save_base
|
---|
861 | result = manager._insert(values, return_id=update_pk)
|
---|
862 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 138, in _insert
|
---|
863 | return insert_query(self.model, values, **kwargs)
|
---|
864 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 894, in insert_query
|
---|
865 | return query.execute_sql(return_id)
|
---|
866 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\subqueries.py", line 309, in execute_sql
|
---|
867 | cursor = super(InsertQuery, self).execute_sql(None)
|
---|
868 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
869 | cursor.execute(sql, params)
|
---|
870 | ProgrammingError: column "point" of relation "distapp_southtexascity" does not exist
|
---|
871 | LINE 1: INSERT INTO "distapp_southtexascity" ("name", "point") VALUE...
|
---|
872 | ^
|
---|
873 |
|
---|
874 |
|
---|
875 | ======================================================================
|
---|
876 | ERROR: Testing the `dwithin` lookup type.
|
---|
877 | ----------------------------------------------------------------------
|
---|
878 | Traceback (most recent call last):
|
---|
879 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\distapp\tests.py", line 79, in test02_dwithin
|
---|
880 | self.assertEqual(tx_cities, self.get_names(qs))
|
---|
881 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\distapp\tests.py", line 25, in get_names
|
---|
882 | cities = [c.name for c in qs]
|
---|
883 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 185, in _result_iter
|
---|
884 | self._fill_cache()
|
---|
885 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 618, in _fill_cache
|
---|
886 | self._result_cache.append(self._iter.next())
|
---|
887 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
888 | for row in self.query.results_iter():
|
---|
889 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
890 | for rows in self.execute_sql(MULTI):
|
---|
891 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
892 | cursor.execute(sql, params)
|
---|
893 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
894 |
|
---|
895 |
|
---|
896 | ======================================================================
|
---|
897 | ERROR: Testing the `distance` GeoQuerySet method on projected coordinate systems.
|
---|
898 | ----------------------------------------------------------------------
|
---|
899 | Traceback (most recent call last):
|
---|
900 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\distapp\tests.py", line 128, in test03a_distance_method
|
---|
901 | for i, c in enumerate(qs):
|
---|
902 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 185, in _result_iter
|
---|
903 | self._fill_cache()
|
---|
904 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 618, in _fill_cache
|
---|
905 | self._result_cache.append(self._iter.next())
|
---|
906 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
907 | for row in self.query.results_iter():
|
---|
908 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
909 | for rows in self.execute_sql(MULTI):
|
---|
910 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
911 | cursor.execute(sql, params)
|
---|
912 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
913 |
|
---|
914 |
|
---|
915 | ======================================================================
|
---|
916 | ERROR: Testing the `distance` GeoQuerySet method on geodetic coordnate systems.
|
---|
917 | ----------------------------------------------------------------------
|
---|
918 | Traceback (most recent call last):
|
---|
919 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\distapp\tests.py", line 138, in test03b_distance_method
|
---|
920 | hillsdale = AustraliaCity.objects.get(name='Hillsdale')
|
---|
921 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 93, in get
|
---|
922 | return self.get_query_set().get(*args, **kwargs)
|
---|
923 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
924 | num = len(clone)
|
---|
925 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
926 | self._result_cache = list(self.iterator())
|
---|
927 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
928 | for row in self.query.results_iter():
|
---|
929 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
930 | for rows in self.execute_sql(MULTI):
|
---|
931 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
932 | cursor.execute(sql, params)
|
---|
933 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
934 |
|
---|
935 |
|
---|
936 | ======================================================================
|
---|
937 | ERROR: Testing the `distance` GeoQuerySet method used with `transform` on a geographic field.
|
---|
938 | ----------------------------------------------------------------------
|
---|
939 | Traceback (most recent call last):
|
---|
940 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\distapp\tests.py", line 172, in test03c_distance_method
|
---|
941 | z = SouthTexasZipcode.objects.get(name='77005')
|
---|
942 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 93, in get
|
---|
943 | return self.get_query_set().get(*args, **kwargs)
|
---|
944 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
945 | num = len(clone)
|
---|
946 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
947 | self._result_cache = list(self.iterator())
|
---|
948 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
949 | for row in self.query.results_iter():
|
---|
950 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
951 | for rows in self.execute_sql(MULTI):
|
---|
952 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
953 | cursor.execute(sql, params)
|
---|
954 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
955 |
|
---|
956 |
|
---|
957 | ======================================================================
|
---|
958 | ERROR: Testing the `distance_lt`, `distance_gt`, `distance_lte`, and `distance_gte` lookup types.
|
---|
959 | ----------------------------------------------------------------------
|
---|
960 | Traceback (most recent call last):
|
---|
961 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\distapp\tests.py", line 199, in test04_distance_lookups
|
---|
962 | cities = self.get_names(qs)
|
---|
963 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\distapp\tests.py", line 25, in get_names
|
---|
964 | cities = [c.name for c in qs]
|
---|
965 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 185, in _result_iter
|
---|
966 | self._fill_cache()
|
---|
967 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 618, in _fill_cache
|
---|
968 | self._result_cache.append(self._iter.next())
|
---|
969 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
970 | for row in self.query.results_iter():
|
---|
971 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
972 | for rows in self.execute_sql(MULTI):
|
---|
973 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
974 | cursor.execute(sql, params)
|
---|
975 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
976 |
|
---|
977 |
|
---|
978 | ======================================================================
|
---|
979 | ERROR: Testing distance lookups on geodetic coordinate systems.
|
---|
980 | ----------------------------------------------------------------------
|
---|
981 | Traceback (most recent call last):
|
---|
982 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\distapp\tests.py", line 227, in test05_geodetic_distance_lookups
|
---|
983 | hobart = AustraliaCity.objects.get(name='Hobart')
|
---|
984 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 93, in get
|
---|
985 | return self.get_query_set().get(*args, **kwargs)
|
---|
986 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 304, in get
|
---|
987 | num = len(clone)
|
---|
988 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
989 | self._result_cache = list(self.iterator())
|
---|
990 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
991 | for row in self.query.results_iter():
|
---|
992 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
993 | for rows in self.execute_sql(MULTI):
|
---|
994 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
995 | cursor.execute(sql, params)
|
---|
996 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
997 |
|
---|
998 |
|
---|
999 | ======================================================================
|
---|
1000 | ERROR: Testing the `area` GeoQuerySet method.
|
---|
1001 | ----------------------------------------------------------------------
|
---|
1002 | Traceback (most recent call last):
|
---|
1003 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\distapp\tests.py", line 266, in test06_area
|
---|
1004 | for i, z in enumerate(SouthTexasZipcode.objects.area()):
|
---|
1005 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 185, in _result_iter
|
---|
1006 | self._fill_cache()
|
---|
1007 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 618, in _fill_cache
|
---|
1008 | self._result_cache.append(self._iter.next())
|
---|
1009 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
1010 | for row in self.query.results_iter():
|
---|
1011 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
1012 | for rows in self.execute_sql(MULTI):
|
---|
1013 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
1014 | cursor.execute(sql, params)
|
---|
1015 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
1016 |
|
---|
1017 |
|
---|
1018 | ======================================================================
|
---|
1019 | ERROR: Testing the `length` GeoQuerySet method.
|
---|
1020 | ----------------------------------------------------------------------
|
---|
1021 | Traceback (most recent call last):
|
---|
1022 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\distapp\tests.py", line 277, in test07_length
|
---|
1023 | self.assertAlmostEqual(len_m, qs[0].length.m, tol)
|
---|
1024 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 238, in __getitem__
|
---|
1025 | return list(qs)[0]
|
---|
1026 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 162, in __len__
|
---|
1027 | self._result_cache.extend(list(self._iter))
|
---|
1028 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
1029 | for row in self.query.results_iter():
|
---|
1030 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
1031 | for rows in self.execute_sql(MULTI):
|
---|
1032 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
1033 | cursor.execute(sql, params)
|
---|
1034 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
1035 |
|
---|
1036 |
|
---|
1037 | ======================================================================
|
---|
1038 | ERROR: Testing the `perimeter` GeoQuerySet method.
|
---|
1039 | ----------------------------------------------------------------------
|
---|
1040 | Traceback (most recent call last):
|
---|
1041 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\distapp\tests.py", line 286, in test08_perimeter
|
---|
1042 | for i, z in enumerate(SouthTexasZipcode.objects.perimeter()):
|
---|
1043 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 185, in _result_iter
|
---|
1044 | self._fill_cache()
|
---|
1045 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 618, in _fill_cache
|
---|
1046 | self._result_cache.append(self._iter.next())
|
---|
1047 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
1048 | for row in self.query.results_iter():
|
---|
1049 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
1050 | for rows in self.execute_sql(MULTI):
|
---|
1051 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
1052 | cursor.execute(sql, params)
|
---|
1053 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
1054 |
|
---|
1055 |
|
---|
1056 | ======================================================================
|
---|
1057 | ERROR: Testing LayerMapping initialization.
|
---|
1058 | ----------------------------------------------------------------------
|
---|
1059 | Traceback (most recent call last):
|
---|
1060 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\layermap\tests.py", line 48, in test01_init
|
---|
1061 | lm = LayerMapping(City, city_shp, city_mapping, encoding='foobar')
|
---|
1062 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\utils\layermapping.py", line 192, in __init__
|
---|
1063 | self.geo_col = self.geometry_column()
|
---|
1064 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\utils\layermapping.py", line 525, in geometry_column
|
---|
1065 | raise LayerMapError('Geometry column does not exist for model. (did you run syncdb?):\n %s' % msg)
|
---|
1066 | LayerMapError: Geometry column does not exist for model. (did you run syncdb?):
|
---|
1067 | current transaction is aborted, commands ignored until end of transaction block
|
---|
1068 |
|
---|
1069 |
|
---|
1070 | ======================================================================
|
---|
1071 | ERROR: Test LayerMapping import of a simple point shapefile.
|
---|
1072 | ----------------------------------------------------------------------
|
---|
1073 | Traceback (most recent call last):
|
---|
1074 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\layermap\tests.py", line 58, in test02_simple_layermap
|
---|
1075 | lm = LayerMapping(City, city_shp, city_mapping)
|
---|
1076 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\utils\layermapping.py", line 192, in __init__
|
---|
1077 | self.geo_col = self.geometry_column()
|
---|
1078 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\utils\layermapping.py", line 525, in geometry_column
|
---|
1079 | raise LayerMapError('Geometry column does not exist for model. (did you run syncdb?):\n %s' % msg)
|
---|
1080 | LayerMapError: Geometry column does not exist for model. (did you run syncdb?):
|
---|
1081 | current transaction is aborted, commands ignored until end of transaction block
|
---|
1082 |
|
---|
1083 |
|
---|
1084 | ======================================================================
|
---|
1085 | ERROR: Testing the `strict` keyword, and import of a LineString shapefile.
|
---|
1086 | ----------------------------------------------------------------------
|
---|
1087 | Traceback (most recent call last):
|
---|
1088 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\layermap\tests.py", line 85, in test03_layermap_strict
|
---|
1089 | lm = LayerMapping(Interstate, inter_shp, inter_mapping)
|
---|
1090 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\utils\layermapping.py", line 192, in __init__
|
---|
1091 | self.geo_col = self.geometry_column()
|
---|
1092 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\utils\layermapping.py", line 525, in geometry_column
|
---|
1093 | raise LayerMapError('Geometry column does not exist for model. (did you run syncdb?):\n %s' % msg)
|
---|
1094 | LayerMapError: Geometry column does not exist for model. (did you run syncdb?):
|
---|
1095 | current transaction is aborted, commands ignored until end of transaction block
|
---|
1096 |
|
---|
1097 |
|
---|
1098 | ======================================================================
|
---|
1099 | ERROR: Tests the `fid_range` keyword and the `step` keyword of .save().
|
---|
1100 | ----------------------------------------------------------------------
|
---|
1101 | Traceback (most recent call last):
|
---|
1102 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\layermap\tests.py", line 204, in test05_test_fid_range_step
|
---|
1103 | lm = LayerMapping(County, co_shp, co_mapping, transform=False, unique='name')
|
---|
1104 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\utils\layermapping.py", line 192, in __init__
|
---|
1105 | self.geo_col = self.geometry_column()
|
---|
1106 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\utils\layermapping.py", line 525, in geometry_column
|
---|
1107 | raise LayerMapError('Geometry column does not exist for model. (did you run syncdb?):\n %s' % msg)
|
---|
1108 | LayerMapError: Geometry column does not exist for model. (did you run syncdb?):
|
---|
1109 | current transaction is aborted, commands ignored until end of transaction block
|
---|
1110 |
|
---|
1111 |
|
---|
1112 | ======================================================================
|
---|
1113 | ERROR: Setting up for related model tests.
|
---|
1114 | ----------------------------------------------------------------------
|
---|
1115 | Traceback (most recent call last):
|
---|
1116 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\relatedapp\tests.py", line 18, in test01_setup
|
---|
1117 | loc.save()
|
---|
1118 | File "D:\dev\django\Django-1.0.2\django\db\models\base.py", line 311, in save
|
---|
1119 | self.save_base(force_insert=force_insert, force_update=force_update)
|
---|
1120 | File "D:\dev\django\Django-1.0.2\django\db\models\base.py", line 383, in save_base
|
---|
1121 | result = manager._insert(values, return_id=update_pk)
|
---|
1122 | File "D:\dev\django\Django-1.0.2\django\db\models\manager.py", line 138, in _insert
|
---|
1123 | return insert_query(self.model, values, **kwargs)
|
---|
1124 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 894, in insert_query
|
---|
1125 | return query.execute_sql(return_id)
|
---|
1126 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\subqueries.py", line 309, in execute_sql
|
---|
1127 | cursor = super(InsertQuery, self).execute_sql(None)
|
---|
1128 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
1129 | cursor.execute(sql, params)
|
---|
1130 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
1131 |
|
---|
1132 |
|
---|
1133 | ======================================================================
|
---|
1134 | ERROR: Testing `select_related` on geographic models (see #7126).
|
---|
1135 | ----------------------------------------------------------------------
|
---|
1136 | Traceback (most recent call last):
|
---|
1137 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\relatedapp\tests.py", line 29, in test02_select_related
|
---|
1138 | for ref, c in zip(cities, qs):
|
---|
1139 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 160, in __len__
|
---|
1140 | self._result_cache = list(self.iterator())
|
---|
1141 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
1142 | for row in self.query.results_iter():
|
---|
1143 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
1144 | for rows in self.execute_sql(MULTI):
|
---|
1145 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
1146 | cursor.execute(sql, params)
|
---|
1147 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
1148 |
|
---|
1149 |
|
---|
1150 | ======================================================================
|
---|
1151 | ERROR: Testing the `transform` GeoQuerySet method on related geographic models.
|
---|
1152 | ----------------------------------------------------------------------
|
---|
1153 | Traceback (most recent call last):
|
---|
1154 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\relatedapp\tests.py", line 66, in test03_transform_related
|
---|
1155 | qs = list(City.objects.filter(name=name).transform(srid, field_name='location__point'))
|
---|
1156 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 162, in __len__
|
---|
1157 | self._result_cache.extend(list(self._iter))
|
---|
1158 | File "D:\dev\django\Django-1.0.2\django\db\models\query.py", line 275, in iterator
|
---|
1159 | for row in self.query.results_iter():
|
---|
1160 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 206, in results_iter
|
---|
1161 | for rows in self.execute_sql(MULTI):
|
---|
1162 | File "D:\dev\django\Django-1.0.2\django\db\models\sql\query.py", line 1734, in execute_sql
|
---|
1163 | cursor.execute(sql, params)
|
---|
1164 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
1165 |
|
---|
1166 |
|
---|
1167 | ======================================================================
|
---|
1168 | ERROR: Testing the `extent` and `unionagg` GeoQuerySet aggregates on related geographic models.
|
---|
1169 | ----------------------------------------------------------------------
|
---|
1170 | Traceback (most recent call last):
|
---|
1171 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\relatedapp\tests.py", line 80, in test04_related_aggregate
|
---|
1172 | e1 = City.objects.extent(field_name='location__point')
|
---|
1173 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\db\models\manager.py", line 31, in extent
|
---|
1174 | return self.get_query_set().extent(*args, **kwargs)
|
---|
1175 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\db\models\query.py", line 114, in extent
|
---|
1176 | return self._spatial_aggregate('extent', convert_func=convert_extent, **kwargs)
|
---|
1177 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\db\models\query.py", line 362, in _spatial_aggregate
|
---|
1178 | cursor.execute(asql, params)
|
---|
1179 | InternalError: current transaction is aborted, commands ignored until end of transaction block
|
---|
1180 |
|
---|
1181 |
|
---|
1182 | ======================================================================
|
---|
1183 | FAIL: Testing the `unique`, and `transform`, geometry collection conversion, and ForeignKey mappings.
|
---|
1184 | ----------------------------------------------------------------------
|
---|
1185 | Traceback (most recent call last):
|
---|
1186 | File "D:\dev\django\Django-1.0.2\django\contrib\gis\tests\layermap\tests.py", line 147, in test04_layermap_unique_multigeometry_fk
|
---|
1187 | self.fail('No exception should be raised for proper use of keywords.')
|
---|
1188 | AssertionError: No exception should be raised for proper use of keywords.
|
---|
1189 |
|
---|
1190 | ----------------------------------------------------------------------
|
---|
1191 | Ran 155 tests in 6.610s
|
---|
1192 |
|
---|
1193 | FAILED (failures=1, errors=49)
|
---|
1194 | Destroying test database...
|
---|