Ticket #29483: gdal-2.3-failures.txt

File gdal-2.3-failures.txt, 56.7 KB (added by Tim Graham, 6 years ago)
Line 
1..ss.....E....EE...sssssss...ss....E.s.E.E....EE.....ss......ss.s.ss..........E............E......ss...s..s...E.........s..s.ssE......FsEEE.EEEEE.E..E..........................F....EFFEF..F........E.......EF..E.EEEFEEF...............F.E..........................E....E.................................................EE....................s.ss..sssssssssssssssss..E....E.......EEEEEEEsssssssss.............................E...........................................................
2======================================================================
3ERROR: test_distance_transform (gis_tests.distapp.tests.DistanceFunctionsTests)
4----------------------------------------------------------------------
5Traceback (most recent call last):
6 File "/media/sf_django/django/test/testcases.py", line 1096, in skip_wrapper
7 return test_func(*args, **kwargs)
8 File "/media/sf_django/tests/gis_tests/distapp/tests.py", line 437, in test_distance_transform
9 buf2 = buf1.transform(4269, clone=True)
10 File "/media/sf_django/django/contrib/gis/geos/geometry.py", line 466, in transform
11 g.transform(ct)
12 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
13 capi.geom_transform_to(self.ptr, sr.ptr)
14 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
15 check_err(result, cpl=cpl)
16 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
17 raise e(msg)
18django.contrib.gis.gdal.error.GDALException: OGR failure.
19
20======================================================================
21ERROR: test_distance_lookups (gis_tests.distapp.tests.DistanceTest)
22----------------------------------------------------------------------
23Traceback (most recent call last):
24 File "/media/sf_django/django/test/testcases.py", line 1096, in skip_wrapper
25 return test_func(*args, **kwargs)
26 File "/media/sf_django/tests/gis_tests/distapp/tests.py", line 113, in test_distance_lookups
27 stx_pnt = self.stx_pnt.transform(model._meta.get_field('point').srid, clone=True)
28 File "/media/sf_django/django/contrib/gis/geos/geometry.py", line 466, in transform
29 g.transform(ct)
30 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
31 capi.geom_transform_to(self.ptr, sr.ptr)
32 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
33 check_err(result, cpl=cpl)
34 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
35 raise e(msg)
36django.contrib.gis.gdal.error.GDALException: OGR failure.
37
38======================================================================
39ERROR: test_distance_lookups_with_expression_rhs (gis_tests.distapp.tests.DistanceTest)
40----------------------------------------------------------------------
41Traceback (most recent call last):
42 File "/media/sf_django/django/test/testcases.py", line 1096, in skip_wrapper
43 return test_func(*args, **kwargs)
44 File "/media/sf_django/tests/gis_tests/distapp/tests.py", line 190, in test_distance_lookups_with_expression_rhs
45 stx_pnt = self.stx_pnt.transform(SouthTexasCity._meta.get_field('point').srid, clone=True)
46 File "/media/sf_django/django/contrib/gis/geos/geometry.py", line 466, in transform
47 g.transform(ct)
48 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
49 capi.geom_transform_to(self.ptr, sr.ptr)
50 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
51 check_err(result, cpl=cpl)
52 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
53 raise e(msg)
54django.contrib.gis.gdal.error.GDALException: OGR failure.
55
56======================================================================
57ERROR: test_olwidget_has_changed (gis_tests.geoadmin.tests.GeoAdminTest)
58----------------------------------------------------------------------
59Traceback (most recent call last):
60 File "/media/sf_django/tests/gis_tests/geoadmin/tests.py", line 68, in test_olwidget_has_changed
61 self.assertFalse(has_changed(initial, data_same))
62 File "/media/sf_django/django/contrib/gis/forms/fields.py", line 93, in has_changed
63 data.transform(initial.srid)
64 File "/media/sf_django/django/contrib/gis/geos/geometry.py", line 466, in transform
65 g.transform(ct)
66 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
67 capi.geom_transform_to(self.ptr, sr.ptr)
68 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
69 check_err(result, cpl=cpl)
70 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
71 raise e(msg)
72django.contrib.gis.gdal.error.GDALException: OGR failure.
73
74======================================================================
75ERROR: test_geometry_value_annotation_different_srid (gis_tests.geoapp.test_expressions.GeoExpressionsTests)
76----------------------------------------------------------------------
77Traceback (most recent call last):
78 File "/media/sf_django/django/test/testcases.py", line 1096, in skip_wrapper
79 return test_func(*args, **kwargs)
80 File "/media/sf_django/tests/gis_tests/geoapp/test_expressions.py", line 25, in test_geometry_value_annotation_different_srid
81 self.assertTrue(point.equals_exact(p.transform(4326, clone=True), 10 ** -5))
82 File "/media/sf_django/django/contrib/gis/geos/geometry.py", line 466, in transform
83 g.transform(ct)
84 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
85 capi.geom_transform_to(self.ptr, sr.ptr)
86 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
87 check_err(result, cpl=cpl)
88 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
89 raise e(msg)
90django.contrib.gis.gdal.error.GDALException: OGR failure.
91
92======================================================================
93ERROR: test_update_from_other_field (gis_tests.geoapp.test_expressions.GeoExpressionsTests)
94----------------------------------------------------------------------
95Traceback (most recent call last):
96 File "/media/sf_django/tests/gis_tests/geoapp/test_expressions.py", line 40, in test_update_from_other_field
97 point3=p2.transform(3857, clone=True),
98 File "/media/sf_django/django/contrib/gis/geos/geometry.py", line 466, in transform
99 g.transform(ct)
100 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
101 capi.geom_transform_to(self.ptr, sr.ptr)
102 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
103 check_err(result, cpl=cpl)
104 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
105 raise e(msg)
106django.contrib.gis.gdal.error.GDALException: OGR failure.
107
108======================================================================
109ERROR: test_area_lookups (gis_tests.geoapp.test_functions.GISFunctionsTests)
110----------------------------------------------------------------------
111Traceback (most recent call last):
112 File "/media/sf_django/django/test/testcases.py", line 1096, in skip_wrapper
113 return test_func(*args, **kwargs)
114 File "/media/sf_django/tests/gis_tests/geoapp/test_functions.py", line 303, in test_area_lookups
115 for c in Country.objects.all()
116 File "/media/sf_django/django/db/models/manager.py", line 82, in manager_method
117 return getattr(self.get_queryset(), name)(*args, **kwargs)
118 File "/media/sf_django/django/db/models/query.py", line 454, in bulk_create
119 objs = list(objs)
120 File "/media/sf_django/tests/gis_tests/geoapp/test_functions.py", line 303, in <genexpr>
121 for c in Country.objects.all()
122 File "/media/sf_django/django/contrib/gis/geos/geometry.py", line 466, in transform
123 g.transform(ct)
124 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
125 capi.geom_transform_to(self.ptr, sr.ptr)
126 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
127 check_err(result, cpl=cpl)
128 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
129 raise e(msg)
130django.contrib.gis.gdal.error.GDALException: OGR failure.
131
132======================================================================
133ERROR: test_area_with_regular_aggregate (gis_tests.geoapp.test_functions.GISFunctionsTests)
134----------------------------------------------------------------------
135Traceback (most recent call last):
136 File "/media/sf_django/django/test/testcases.py", line 1096, in skip_wrapper
137 return test_func(*args, **kwargs)
138 File "/media/sf_django/tests/gis_tests/geoapp/test_functions.py", line 286, in test_area_with_regular_aggregate
139 CountryWebMercator.objects.create(name=c.name, mpoly=c.mpoly.transform(3857, clone=True))
140 File "/media/sf_django/django/contrib/gis/geos/geometry.py", line 466, in transform
141 g.transform(ct)
142 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
143 capi.geom_transform_to(self.ptr, sr.ptr)
144 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
145 check_err(result, cpl=cpl)
146 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
147 raise e(msg)
148django.contrib.gis.gdal.error.GDALException: OGR failure.
149
150======================================================================
151ERROR: test_union_mixed_srid (gis_tests.geoapp.test_functions.GISFunctionsTests)
152The result SRID depends on the order of parameters.
153----------------------------------------------------------------------
154Traceback (most recent call last):
155 File "/media/sf_django/django/test/testcases.py", line 1096, in skip_wrapper
156 return test_func(*args, **kwargs)
157 File "/media/sf_django/tests/gis_tests/geoapp/test_functions.py", line 553, in test_union_mixed_srid
158 geom_3857 = geom.transform(3857, clone=True)
159 File "/media/sf_django/django/contrib/gis/geos/geometry.py", line 466, in transform
160 g.transform(ct)
161 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
162 capi.geom_transform_to(self.ptr, sr.ptr)
163 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
164 check_err(result, cpl=cpl)
165 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
166 raise e(msg)
167django.contrib.gis.gdal.error.GDALException: OGR failure.
168
169======================================================================
170ERROR: test_srid_option (gis_tests.geoapp.test_serializers.GeoJSONSerializerTests)
171----------------------------------------------------------------------
172Traceback (most recent call last):
173 File "/media/sf_django/tests/gis_tests/geoapp/test_serializers.py", line 78, in test_srid_option
174 geojson = serializers.serialize('geojson', City.objects.all().order_by('name'), srid=2847)
175 File "/media/sf_django/django/core/serializers/__init__.py", line 128, in serialize
176 s.serialize(queryset, **options)
177 File "/media/sf_django/django/core/serializers/base.py", line 112, in serialize
178 self.end_object(obj)
179 File "/media/sf_django/django/core/serializers/json.py", line 53, in end_object
180 json.dump(self.get_dump_object(obj), self.stream, **self.json_kwargs)
181 File "/media/sf_django/django/contrib/gis/serializers/geojson.py", line 51, in get_dump_object
182 self._cts[self._geometry.srid] = CoordTransform(self._geometry.srs, srs)
183 File "/media/sf_django/django/contrib/gis/gdal/srs.py", line 330, in __init__
184 self.ptr = capi.new_ct(source._ptr, target._ptr)
185 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 100, in check_srs
186 raise SRSException('Invalid spatial reference pointer returned from "%s".' % func.__name__)
187django.contrib.gis.gdal.error.SRSException: Invalid spatial reference pointer returned from "OCTNewCoordinateTransformation".
188
189======================================================================
190ERROR: test_lookup_insert_transform (gis_tests.geoapp.tests.GeoModelTest)
191Testing automatic transform for lookups and inserts.
192----------------------------------------------------------------------
193Traceback (most recent call last):
194 File "/media/sf_django/django/test/testcases.py", line 1096, in skip_wrapper
195 return test_func(*args, **kwargs)
196 File "/media/sf_django/tests/gis_tests/geoapp/tests.py", line 103, in test_lookup_insert_transform
197 other_srid_pnt = wgs_pnt.transform(3857, clone=True)
198 File "/media/sf_django/django/contrib/gis/geos/geometry.py", line 466, in transform
199 g.transform(ct)
200 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
201 capi.geom_transform_to(self.ptr, sr.ptr)
202 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
203 check_err(result, cpl=cpl)
204 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
205 raise e(msg)
206django.contrib.gis.gdal.error.GDALException: OGR failure.
207
208======================================================================
209ERROR: test05_geography_layermapping (gis_tests.geogapp.tests.GeographyTest)
210Testing LayerMapping support on models with geography fields.
211----------------------------------------------------------------------
212Traceback (most recent call last):
213 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 455, in coord_transform
214 return CoordTransform(self.source_srs, target_srs)
215 File "/media/sf_django/django/contrib/gis/gdal/srs.py", line 330, in __init__
216 self.ptr = capi.new_ct(source._ptr, target._ptr)
217 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 100, in check_srs
218 raise SRSException('Invalid spatial reference pointer returned from "%s".' % func.__name__)
219django.contrib.gis.gdal.error.SRSException: Invalid spatial reference pointer returned from "OCTNewCoordinateTransformation".
220
221The above exception was the direct cause of the following exception:
222
223Traceback (most recent call last):
224 File "/media/sf_django/tests/gis_tests/geogapp/tests.py", line 79, in test05_geography_layermapping
225 lm = LayerMapping(County, co_shp, co_mapping, source_srs=4269, unique='name')
226 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 120, in __init__
227 self.transform = self.coord_transform()
228 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 459, in coord_transform
229 ) from exc
230django.contrib.gis.utils.layermapping.LayerMapError: Could not translate between the data source and model geometry.
231
232======================================================================
233ERROR: test_layermapping_default_db (gis_tests.layermap.tests.LayerMapRouterTest)
234----------------------------------------------------------------------
235Traceback (most recent call last):
236 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 455, in coord_transform
237 return CoordTransform(self.source_srs, target_srs)
238 File "/media/sf_django/django/contrib/gis/gdal/srs.py", line 330, in __init__
239 self.ptr = capi.new_ct(source._ptr, target._ptr)
240 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 100, in check_srs
241 raise SRSException('Invalid spatial reference pointer returned from "%s".' % func.__name__)
242django.contrib.gis.gdal.error.SRSException: Invalid spatial reference pointer returned from "OCTNewCoordinateTransformation".
243
244The above exception was the direct cause of the following exception:
245
246Traceback (most recent call last):
247 File "/media/sf_django/tests/gis_tests/layermap/tests.py", line 337, in test_layermapping_default_db
248 lm = LayerMapping(City, city_shp, city_mapping)
249 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 120, in __init__
250 self.transform = self.coord_transform()
251 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 459, in coord_transform
252 ) from exc
253django.contrib.gis.utils.layermapping.LayerMapError: Could not translate between the data source and model geometry.
254
255======================================================================
256ERROR: test_charfield_too_short (gis_tests.layermap.tests.LayerMapTest)
257----------------------------------------------------------------------
258Traceback (most recent call last):
259 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 455, in coord_transform
260 return CoordTransform(self.source_srs, target_srs)
261 File "/media/sf_django/django/contrib/gis/gdal/srs.py", line 330, in __init__
262 self.ptr = capi.new_ct(source._ptr, target._ptr)
263 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 100, in check_srs
264 raise SRSException('Invalid spatial reference pointer returned from "%s".' % func.__name__)
265django.contrib.gis.gdal.error.SRSException: Invalid spatial reference pointer returned from "OCTNewCoordinateTransformation".
266
267The above exception was the direct cause of the following exception:
268
269Traceback (most recent call last):
270 File "/media/sf_django/tests/gis_tests/layermap/tests.py", line 292, in test_charfield_too_short
271 lm = LayerMapping(City, city_shp, mapping)
272 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 120, in __init__
273 self.transform = self.coord_transform()
274 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 459, in coord_transform
275 ) from exc
276django.contrib.gis.utils.layermapping.LayerMapError: Could not translate between the data source and model geometry.
277
278======================================================================
279ERROR: test_encoded_name (gis_tests.layermap.tests.LayerMapTest)
280Test a layer containing utf-8-encoded name
281----------------------------------------------------------------------
282Traceback (most recent call last):
283 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 455, in coord_transform
284 return CoordTransform(self.source_srs, target_srs)
285 File "/media/sf_django/django/contrib/gis/gdal/srs.py", line 330, in __init__
286 self.ptr = capi.new_ct(source._ptr, target._ptr)
287 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 100, in check_srs
288 raise SRSException('Invalid spatial reference pointer returned from "%s".' % func.__name__)
289django.contrib.gis.gdal.error.SRSException: Invalid spatial reference pointer returned from "OCTNewCoordinateTransformation".
290
291The above exception was the direct cause of the following exception:
292
293Traceback (most recent call last):
294 File "/media/sf_django/tests/gis_tests/layermap/tests.py", line 308, in test_encoded_name
295 lm = LayerMapping(City, city_shp, city_mapping)
296 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 120, in __init__
297 self.transform = self.coord_transform()
298 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 459, in coord_transform
299 ) from exc
300django.contrib.gis.utils.layermapping.LayerMapError: Could not translate between the data source and model geometry.
301
302======================================================================
303ERROR: test_invalid_layer (gis_tests.layermap.tests.LayerMapTest)
304Tests LayerMapping on invalid geometries. See #15378.
305----------------------------------------------------------------------
306Traceback (most recent call last):
307 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 455, in coord_transform
308 return CoordTransform(self.source_srs, target_srs)
309 File "/media/sf_django/django/contrib/gis/gdal/srs.py", line 330, in __init__
310 self.ptr = capi.new_ct(source._ptr, target._ptr)
311 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 100, in check_srs
312 raise SRSException('Invalid spatial reference pointer returned from "%s".' % func.__name__)
313django.contrib.gis.gdal.error.SRSException: Invalid spatial reference pointer returned from "OCTNewCoordinateTransformation".
314
315The above exception was the direct cause of the following exception:
316
317Traceback (most recent call last):
318 File "/media/sf_django/tests/gis_tests/layermap/tests.py", line 286, in test_invalid_layer
319 source_srs=4326)
320 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 120, in __init__
321 self.transform = self.coord_transform()
322 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 459, in coord_transform
323 ) from exc
324django.contrib.gis.utils.layermapping.LayerMapError: Could not translate between the data source and model geometry.
325
326======================================================================
327ERROR: test_layermap_strict (gis_tests.layermap.tests.LayerMapTest)
328Testing the `strict` keyword, and import of a LineString shapefile.
329----------------------------------------------------------------------
330Traceback (most recent call last):
331 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 455, in coord_transform
332 return CoordTransform(self.source_srs, target_srs)
333 File "/media/sf_django/django/contrib/gis/gdal/srs.py", line 330, in __init__
334 self.ptr = capi.new_ct(source._ptr, target._ptr)
335 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 100, in check_srs
336 raise SRSException('Invalid spatial reference pointer returned from "%s".' % func.__name__)
337django.contrib.gis.gdal.error.SRSException: Invalid spatial reference pointer returned from "OCTNewCoordinateTransformation".
338
339The above exception was the direct cause of the following exception:
340
341Traceback (most recent call last):
342 File "/media/sf_django/tests/gis_tests/layermap/tests.py", line 88, in test_layermap_strict
343 lm = LayerMapping(Interstate, inter_shp, inter_mapping)
344 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 120, in __init__
345 self.transform = self.coord_transform()
346 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 459, in coord_transform
347 ) from exc
348django.contrib.gis.utils.layermapping.LayerMapError: Could not translate between the data source and model geometry.
349
350======================================================================
351ERROR: test_layermap_unique_multigeometry_fk (gis_tests.layermap.tests.LayerMapTest)
352Testing the `unique`, and `transform`, geometry collection conversion, and ForeignKey mappings.
353----------------------------------------------------------------------
354Traceback (most recent call last):
355 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 455, in coord_transform
356 return CoordTransform(self.source_srs, target_srs)
357 File "/media/sf_django/django/contrib/gis/gdal/srs.py", line 330, in __init__
358 self.ptr = capi.new_ct(source._ptr, target._ptr)
359 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 100, in check_srs
360 raise SRSException('Invalid spatial reference pointer returned from "%s".' % func.__name__)
361django.contrib.gis.gdal.error.SRSException: Invalid spatial reference pointer returned from "OCTNewCoordinateTransformation".
362
363The above exception was the direct cause of the following exception:
364
365Traceback (most recent call last):
366 File "/media/sf_django/tests/gis_tests/layermap/tests.py", line 139, in test_layermap_unique_multigeometry_fk
367 lm = LayerMapping(County, co_shp, co_mapping, source_srs=4269)
368 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 120, in __init__
369 self.transform = self.coord_transform()
370 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 459, in coord_transform
371 ) from exc
372django.contrib.gis.utils.layermapping.LayerMapError: Could not translate between the data source and model geometry.
373
374======================================================================
375ERROR: test_model_inheritance (gis_tests.layermap.tests.LayerMapTest)
376Tests LayerMapping on inherited models. See #12093.
377----------------------------------------------------------------------
378Traceback (most recent call last):
379 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 455, in coord_transform
380 return CoordTransform(self.source_srs, target_srs)
381 File "/media/sf_django/django/contrib/gis/gdal/srs.py", line 330, in __init__
382 self.ptr = capi.new_ct(source._ptr, target._ptr)
383 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 100, in check_srs
384 raise SRSException('Invalid spatial reference pointer returned from "%s".' % func.__name__)
385django.contrib.gis.gdal.error.SRSException: Invalid spatial reference pointer returned from "OCTNewCoordinateTransformation".
386
387The above exception was the direct cause of the following exception:
388
389Traceback (most recent call last):
390 File "/media/sf_django/tests/gis_tests/layermap/tests.py", line 272, in test_model_inheritance
391 lm1 = LayerMapping(ICity1, city_shp, icity_mapping)
392 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 120, in __init__
393 self.transform = self.coord_transform()
394 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 459, in coord_transform
395 ) from exc
396django.contrib.gis.utils.layermapping.LayerMapError: Could not translate between the data source and model geometry.
397
398======================================================================
399ERROR: test_simple_layermap (gis_tests.layermap.tests.LayerMapTest)
400Test LayerMapping import of a simple point shapefile.
401----------------------------------------------------------------------
402Traceback (most recent call last):
403 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 455, in coord_transform
404 return CoordTransform(self.source_srs, target_srs)
405 File "/media/sf_django/django/contrib/gis/gdal/srs.py", line 330, in __init__
406 self.ptr = capi.new_ct(source._ptr, target._ptr)
407 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 100, in check_srs
408 raise SRSException('Invalid spatial reference pointer returned from "%s".' % func.__name__)
409django.contrib.gis.gdal.error.SRSException: Invalid spatial reference pointer returned from "OCTNewCoordinateTransformation".
410
411The above exception was the direct cause of the following exception:
412
413Traceback (most recent call last):
414 File "/media/sf_django/tests/gis_tests/layermap/tests.py", line 62, in test_simple_layermap
415 lm = LayerMapping(City, city_shp, city_mapping)
416 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 120, in __init__
417 self.transform = self.coord_transform()
418 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 459, in coord_transform
419 ) from exc
420django.contrib.gis.utils.layermapping.LayerMapError: Could not translate between the data source and model geometry.
421
422======================================================================
423ERROR: test_textfield (gis_tests.layermap.tests.LayerMapTest)
424String content fits also in a TextField
425----------------------------------------------------------------------
426Traceback (most recent call last):
427 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 455, in coord_transform
428 return CoordTransform(self.source_srs, target_srs)
429 File "/media/sf_django/django/contrib/gis/gdal/srs.py", line 330, in __init__
430 self.ptr = capi.new_ct(source._ptr, target._ptr)
431 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 100, in check_srs
432 raise SRSException('Invalid spatial reference pointer returned from "%s".' % func.__name__)
433django.contrib.gis.gdal.error.SRSException: Invalid spatial reference pointer returned from "OCTNewCoordinateTransformation".
434
435The above exception was the direct cause of the following exception:
436
437Traceback (most recent call last):
438 File "/media/sf_django/tests/gis_tests/layermap/tests.py", line 300, in test_textfield
439 lm = LayerMapping(City, city_shp, mapping)
440 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 120, in __init__
441 self.transform = self.coord_transform()
442 File "/media/sf_django/django/contrib/gis/utils/layermapping.py", line 459, in coord_transform
443 ) from exc
444django.contrib.gis.utils.layermapping.LayerMapError: Could not translate between the data source and model geometry.
445
446======================================================================
447ERROR: test06_f_expressions (gis_tests.relatedapp.tests.RelatedGeoModelTest)
448Testing F() expressions on GeometryFields.
449----------------------------------------------------------------------
450Traceback (most recent call last):
451 File "/media/sf_django/tests/gis_tests/relatedapp/tests.py", line 124, in test06_f_expressions
452 c2 = c1.transform(2276, clone=True)
453 File "/media/sf_django/django/contrib/gis/geos/geometry.py", line 466, in transform
454 g.transform(ct)
455 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
456 capi.geom_transform_to(self.ptr, sr.ptr)
457 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
458 check_err(result, cpl=cpl)
459 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
460 raise e(msg)
461django.contrib.gis.gdal.error.GDALException: OGR failure.
462
463======================================================================
464ERROR: test_closepolygons (gis_tests.gdal_tests.test_geom.OGRGeomTest)
465Testing closing Polygon objects.
466----------------------------------------------------------------------
467Traceback (most recent call last):
468 File "/media/sf_django/tests/gis_tests/gdal_tests/test_geom.py", line 258, in test_closepolygons
469 self.assertEqual(OGRGeometry('POINT(2.5 2.5)'), poly.centroid)
470 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 639, in centroid
471 capi.get_centroid(self.ptr, p.ptr)
472 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
473 check_err(result, cpl=cpl)
474 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
475 raise e(msg)
476django.contrib.gis.gdal.error.GDALException: OGR failure.
477
478======================================================================
479ERROR: test_difference (gis_tests.gdal_tests.test_geom.OGRGeomTest)
480Testing difference().
481----------------------------------------------------------------------
482Traceback (most recent call last):
483 File "/media/sf_django/tests/gis_tests/gdal_tests/test_geom.py", line 376, in test_difference
484 d2 = a.difference(b)
485 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 485, in difference
486 return self._geomgen(capi.geom_diff, other)
487 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 463, in _geomgen
488 return OGRGeometry(gen_func(self.ptr, other.ptr), self.srs)
489 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 84, in check_geom
490 raise GDALException('Invalid geometry pointer returned from "%s".' % func.__name__)
491django.contrib.gis.gdal.error.GDALException: Invalid geometry pointer returned from "OGR_G_Difference".
492
493======================================================================
494ERROR: test_intersection (gis_tests.gdal_tests.test_geom.OGRGeomTest)
495Testing intersects() and intersection().
496----------------------------------------------------------------------
497Traceback (most recent call last):
498 File "/media/sf_django/tests/gis_tests/gdal_tests/test_geom.py", line 389, in test_intersection
499 i2 = a.intersection(b)
500 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 492, in intersection
501 return self._geomgen(capi.geom_intersection, other)
502 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 463, in _geomgen
503 return OGRGeometry(gen_func(self.ptr, other.ptr), self.srs)
504 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 84, in check_geom
505 raise GDALException('Invalid geometry pointer returned from "%s".' % func.__name__)
506django.contrib.gis.gdal.error.GDALException: Invalid geometry pointer returned from "OGR_G_Intersection".
507
508======================================================================
509ERROR: test_ogrgeometry_transform_workaround (gis_tests.gdal_tests.test_geom.OGRGeomTest)
510Testing coordinate dimensions on geometries after transformation.
511----------------------------------------------------------------------
512Traceback (most recent call last):
513 File "/media/sf_django/tests/gis_tests/gdal_tests/test_geom.py", line 488, in test_ogrgeometry_transform_workaround
514 geom.transform(srid)
515 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
516 capi.geom_transform_to(self.ptr, sr.ptr)
517 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
518 check_err(result, cpl=cpl)
519 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
520 raise e(msg)
521django.contrib.gis.gdal.error.GDALException: OGR failure.
522
523======================================================================
524ERROR: test_polygons (gis_tests.gdal_tests.test_geom.OGRGeomTest)
525Testing Polygon objects.
526----------------------------------------------------------------------
527Traceback (most recent call last):
528 File "/media/sf_django/tests/gis_tests/gdal_tests/test_geom.py", line 223, in test_polygons
529 x, y = poly.centroid.tuple
530 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 639, in centroid
531 capi.get_centroid(self.ptr, p.ptr)
532 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
533 check_err(result, cpl=cpl)
534 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
535 raise e(msg)
536django.contrib.gis.gdal.error.GDALException: OGR failure.
537
538======================================================================
539ERROR: test_srs (gis_tests.gdal_tests.test_geom.OGRGeomTest)
540Testing OGR Geometries with Spatial Reference objects.
541----------------------------------------------------------------------
542Traceback (most recent call last):
543 File "/media/sf_django/tests/gis_tests/gdal_tests/test_geom.py", line 300, in test_srs
544 diff = a.difference(b)
545 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 485, in difference
546 return self._geomgen(capi.geom_diff, other)
547 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 463, in _geomgen
548 return OGRGeometry(gen_func(self.ptr, other.ptr), self.srs)
549 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 84, in check_geom
550 raise GDALException('Invalid geometry pointer returned from "%s".' % func.__name__)
551django.contrib.gis.gdal.error.GDALException: Invalid geometry pointer returned from "OGR_G_Difference".
552
553======================================================================
554ERROR: test_srs_transform (gis_tests.gdal_tests.test_geom.OGRGeomTest)
555Testing transform().
556----------------------------------------------------------------------
557Traceback (most recent call last):
558 File "/media/sf_django/tests/gis_tests/gdal_tests/test_geom.py", line 342, in test_srs_transform
559 t1.transform(trans.srid)
560 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
561 capi.geom_transform_to(self.ptr, sr.ptr)
562 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
563 check_err(result, cpl=cpl)
564 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
565 raise e(msg)
566django.contrib.gis.gdal.error.GDALException: OGR failure.
567
568======================================================================
569ERROR: test_symdifference (gis_tests.gdal_tests.test_geom.OGRGeomTest)
570Testing sym_difference().
571----------------------------------------------------------------------
572Traceback (most recent call last):
573 File "/media/sf_django/tests/gis_tests/gdal_tests/test_geom.py", line 401, in test_symdifference
574 d2 = a.sym_difference(b)
575 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 499, in sym_difference
576 return self._geomgen(capi.geom_sym_diff, other)
577 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 463, in _geomgen
578 return OGRGeometry(gen_func(self.ptr, other.ptr), self.srs)
579 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 84, in check_geom
580 raise GDALException('Invalid geometry pointer returned from "%s".' % func.__name__)
581django.contrib.gis.gdal.error.GDALException: Invalid geometry pointer returned from "OGR_G_SymmetricDifference".
582
583======================================================================
584ERROR: test_transform_dim (gis_tests.gdal_tests.test_geom.OGRGeomTest)
585Testing coordinate dimension is the same on transformed geometries.
586----------------------------------------------------------------------
587Traceback (most recent call last):
588 File "/media/sf_django/tests/gis_tests/gdal_tests/test_geom.py", line 364, in test_transform_dim
589 ls_orig.transform(ls_trans.srs)
590 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 408, in transform
591 capi.geom_transform_to(self.ptr, coord_trans.ptr)
592 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
593 check_err(result, cpl=cpl)
594 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
595 raise e(msg)
596django.contrib.gis.gdal.error.GDALException: OGR failure.
597
598======================================================================
599ERROR: test_union (gis_tests.gdal_tests.test_geom.OGRGeomTest)
600Testing union().
601----------------------------------------------------------------------
602Traceback (most recent call last):
603 File "/media/sf_django/tests/gis_tests/gdal_tests/test_geom.py", line 413, in test_union
604 u2 = a.union(b)
605 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 506, in union
606 return self._geomgen(capi.geom_union, other)
607 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 463, in _geomgen
608 return OGRGeometry(gen_func(self.ptr, other.ptr), self.srs)
609 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 84, in check_geom
610 raise GDALException('Invalid geometry pointer returned from "%s".' % func.__name__)
611django.contrib.gis.gdal.error.GDALException: Invalid geometry pointer returned from "OGR_G_Union".
612
613======================================================================
614ERROR: test_raster_transform (gis_tests.gdal_tests.test_raster.GDALRasterTests)
615----------------------------------------------------------------------
616Traceback (most recent call last):
617 File "/media/sf_django/tests/gis_tests/gdal_tests/test_raster.py", line 516, in test_raster_transform
618 target = source.transform(3086)
619 File "/media/sf_django/django/contrib/gis/gdal/raster/source.py", line 435, in transform
620 algorithm, max_error, c_void_p()
621 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 128, in check_pointer
622 raise GDALException('Invalid pointer returned from "%s"' % func.__name__)
623django.contrib.gis.gdal.error.GDALException: Invalid pointer returned from "GDALAutoCreateWarpedVRT"
624
625======================================================================
626ERROR: test_custom_srid (gis_tests.geos_tests.test_geos.GEOSTest)
627Test with a null srid and a srid unknown to GDAL.
628----------------------------------------------------------------------
629Traceback (most recent call last):
630 File "/media/sf_django/tests/gis_tests/geos_tests/test_geos.py", line 798, in test_custom_srid
631 gdal.SpatialReference(4326))
632 File "/media/sf_django/django/contrib/gis/gdal/srs.py", line 330, in __init__
633 self.ptr = capi.new_ct(source._ptr, target._ptr)
634 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 100, in check_srs
635 raise SRSException('Invalid spatial reference pointer returned from "%s".' % func.__name__)
636django.contrib.gis.gdal.error.SRSException: Invalid spatial reference pointer returned from "OCTNewCoordinateTransformation".
637
638======================================================================
639ERROR: test_empty_point (gis_tests.geos_tests.test_geos.GEOSTest)
640----------------------------------------------------------------------
641Traceback (most recent call last):
642 File "/media/sf_django/tests/gis_tests/geos_tests/test_geos.py", line 1403, in test_empty_point
643 self.assertEqual(p.transform(2774, clone=True), Point(srid=2774))
644 File "/media/sf_django/django/contrib/gis/geos/geometry.py", line 466, in transform
645 g.transform(ct)
646 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
647 capi.geom_transform_to(self.ptr, sr.ptr)
648 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
649 check_err(result, cpl=cpl)
650 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
651 raise e(msg)
652django.contrib.gis.gdal.error.GDALException: OGR failure.
653
654======================================================================
655ERROR: test_transform (gis_tests.geos_tests.test_geos.GEOSTest)
656Testing `transform` method.
657----------------------------------------------------------------------
658Traceback (most recent call last):
659 File "/media/sf_django/tests/gis_tests/geos_tests/test_geos.py", line 1102, in test_transform
660 t1.transform(trans.srid)
661 File "/media/sf_django/django/contrib/gis/geos/geometry.py", line 466, in transform
662 g.transform(ct)
663 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
664 capi.geom_transform_to(self.ptr, sr.ptr)
665 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
666 check_err(result, cpl=cpl)
667 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
668 raise e(msg)
669django.contrib.gis.gdal.error.GDALException: OGR failure.
670
671======================================================================
672ERROR: test_transform_3d (gis_tests.geos_tests.test_geos.GEOSTest)
673----------------------------------------------------------------------
674Traceback (most recent call last):
675 File "/media/sf_django/tests/gis_tests/geos_tests/test_geos.py", line 1120, in test_transform_3d
676 p3d.transform(2774)
677 File "/media/sf_django/django/contrib/gis/geos/geometry.py", line 466, in transform
678 g.transform(ct)
679 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
680 capi.geom_transform_to(self.ptr, sr.ptr)
681 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
682 check_err(result, cpl=cpl)
683 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
684 raise e(msg)
685django.contrib.gis.gdal.error.GDALException: OGR failure.
686
687======================================================================
688ERROR: test_field_string_value (gis_tests.test_geoforms.GeometryFieldTest)
689----------------------------------------------------------------------
690Traceback (most recent call last):
691 File "/media/sf_django/tests/gis_tests/test_geoforms.py", line 129, in test_field_string_value
692 pt1_expected = GEOSGeometry(form.data['pt1']).transform(3857, clone=True)
693 File "/media/sf_django/django/contrib/gis/geos/geometry.py", line 466, in transform
694 g.transform(ct)
695 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
696 capi.geom_transform_to(self.ptr, sr.ptr)
697 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
698 check_err(result, cpl=cpl)
699 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
700 raise e(msg)
701django.contrib.gis.gdal.error.GDALException: OGR failure.
702
703======================================================================
704ERROR: test_srid (gis_tests.test_geoforms.GeometryFieldTest)
705Testing GeometryField with a SRID set.
706----------------------------------------------------------------------
707Traceback (most recent call last):
708 File "/media/sf_django/tests/gis_tests/test_geoforms.py", line 26, in test_srid
709 geom = fld.clean('POINT(5 23)')
710 File "/media/sf_django/django/contrib/gis/forms/fields.py", line 75, in clean
711 geom.transform(self.srid)
712 File "/media/sf_django/django/contrib/gis/geos/geometry.py", line 466, in transform
713 g.transform(ct)
714 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
715 capi.geom_transform_to(self.ptr, sr.ptr)
716 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
717 check_err(result, cpl=cpl)
718 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
719 raise e(msg)
720django.contrib.gis.gdal.error.GDALException: OGR failure.
721
722======================================================================
723ERROR: test_geometrycollectionfield (gis_tests.test_geoforms.SpecializedFieldTest)
724----------------------------------------------------------------------
725Traceback (most recent call last):
726 File "/media/sf_django/tests/gis_tests/test_geoforms.py", line 315, in test_geometrycollectionfield
727 self.assertTextarea(geom, form.as_p())
728 File "/media/sf_django/tests/gis_tests/test_geoforms.py", line 223, in assertTextarea
729 ogr.transform(3857)
730 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
731 capi.geom_transform_to(self.ptr, sr.ptr)
732 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
733 check_err(result, cpl=cpl)
734 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
735 raise e(msg)
736django.contrib.gis.gdal.error.GDALException: OGR failure.
737
738======================================================================
739ERROR: test_linestringfield (gis_tests.test_geoforms.SpecializedFieldTest)
740----------------------------------------------------------------------
741Traceback (most recent call last):
742 File "/media/sf_django/tests/gis_tests/test_geoforms.py", line 263, in test_linestringfield
743 self.assertTextarea(geom, form.as_p())
744 File "/media/sf_django/tests/gis_tests/test_geoforms.py", line 223, in assertTextarea
745 ogr.transform(3857)
746 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
747 capi.geom_transform_to(self.ptr, sr.ptr)
748 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
749 check_err(result, cpl=cpl)
750 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
751 raise e(msg)
752django.contrib.gis.gdal.error.GDALException: OGR failure.
753
754======================================================================
755ERROR: test_multilinestringfield (gis_tests.test_geoforms.SpecializedFieldTest)
756----------------------------------------------------------------------
757Traceback (most recent call last):
758 File "/media/sf_django/tests/gis_tests/test_geoforms.py", line 276, in test_multilinestringfield
759 self.assertTextarea(geom, form.as_p())
760 File "/media/sf_django/tests/gis_tests/test_geoforms.py", line 223, in assertTextarea
761 ogr.transform(3857)
762 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
763 capi.geom_transform_to(self.ptr, sr.ptr)
764 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
765 check_err(result, cpl=cpl)
766 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
767 raise e(msg)
768django.contrib.gis.gdal.error.GDALException: OGR failure.
769
770======================================================================
771ERROR: test_multipointfield (gis_tests.test_geoforms.SpecializedFieldTest)
772----------------------------------------------------------------------
773Traceback (most recent call last):
774 File "/media/sf_django/tests/gis_tests/test_geoforms.py", line 250, in test_multipointfield
775 self.assertTextarea(geom, form.as_p())
776 File "/media/sf_django/tests/gis_tests/test_geoforms.py", line 223, in assertTextarea
777 ogr.transform(3857)
778 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
779 capi.geom_transform_to(self.ptr, sr.ptr)
780 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
781 check_err(result, cpl=cpl)
782 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
783 raise e(msg)
784django.contrib.gis.gdal.error.GDALException: OGR failure.
785
786======================================================================
787ERROR: test_multipolygonfield (gis_tests.test_geoforms.SpecializedFieldTest)
788----------------------------------------------------------------------
789Traceback (most recent call last):
790 File "/media/sf_django/tests/gis_tests/test_geoforms.py", line 302, in test_multipolygonfield
791 self.assertTextarea(geom, form.as_p())
792 File "/media/sf_django/tests/gis_tests/test_geoforms.py", line 223, in assertTextarea
793 ogr.transform(3857)
794 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
795 capi.geom_transform_to(self.ptr, sr.ptr)
796 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
797 check_err(result, cpl=cpl)
798 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
799 raise e(msg)
800django.contrib.gis.gdal.error.GDALException: OGR failure.
801
802======================================================================
803ERROR: test_pointfield (gis_tests.test_geoforms.SpecializedFieldTest)
804----------------------------------------------------------------------
805Traceback (most recent call last):
806 File "/media/sf_django/django/test/utils.py", line 367, in inner
807 return func(*args, **kwargs)
808 File "/media/sf_django/tests/gis_tests/test_geoforms.py", line 234, in test_pointfield
809 self.assertTextarea(geom, form.as_p())
810 File "/media/sf_django/tests/gis_tests/test_geoforms.py", line 223, in assertTextarea
811 ogr.transform(3857)
812 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
813 capi.geom_transform_to(self.ptr, sr.ptr)
814 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
815 check_err(result, cpl=cpl)
816 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
817 raise e(msg)
818django.contrib.gis.gdal.error.GDALException: OGR failure.
819
820======================================================================
821ERROR: test_polygonfield (gis_tests.test_geoforms.SpecializedFieldTest)
822----------------------------------------------------------------------
823Traceback (most recent call last):
824 File "/media/sf_django/tests/gis_tests/test_geoforms.py", line 289, in test_polygonfield
825 self.assertTextarea(geom, form.as_p())
826 File "/media/sf_django/tests/gis_tests/test_geoforms.py", line 223, in assertTextarea
827 ogr.transform(3857)
828 File "/media/sf_django/django/contrib/gis/gdal/geometries.py", line 411, in transform
829 capi.geom_transform_to(self.ptr, sr.ptr)
830 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 118, in check_errcode
831 check_err(result, cpl=cpl)
832 File "/media/sf_django/django/contrib/gis/gdal/error.py", line 59, in check_err
833 raise e(msg)
834django.contrib.gis.gdal.error.GDALException: OGR failure.
835
836======================================================================
837ERROR: test12_coordtransform (gis_tests.gdal_tests.test_srs.SpatialRefTest)
838Testing initialization of a CoordTransform.
839----------------------------------------------------------------------
840Traceback (most recent call last):
841 File "/media/sf_django/tests/gis_tests/gdal_tests/test_srs.py", line 246, in test12_coordtransform
842 CoordTransform(SpatialReference(srlist[0].wkt), target)
843 File "/media/sf_django/django/contrib/gis/gdal/srs.py", line 330, in __init__
844 self.ptr = capi.new_ct(source._ptr, target._ptr)
845 File "/media/sf_django/django/contrib/gis/gdal/prototypes/errcheck.py", line 100, in check_srs
846 raise SRSException('Invalid spatial reference pointer returned from "%s".' % func.__name__)
847django.contrib.gis.gdal.error.SRSException: Invalid spatial reference pointer returned from "OCTNewCoordinateTransformation".
848
849======================================================================
850FAIL: test_poly_multi (gis_tests.inspectapp.tests.OGRInspectTest)
851----------------------------------------------------------------------
852Traceback (most recent call last):
853 File "/media/sf_django/tests/gis_tests/inspectapp/tests.py", line 91, in test_poly_multi
854 self.assertIn('geom = models.MultiLineStringField(srid=-1)', model_def)
855AssertionError: 'geom = models.MultiLineStringField(srid=-1)' not found in '# This is an auto-generated Django model module created by ogrinspect.\nfrom django.contrib.gis.db import models\n\n\nclass MyModel(models.Model):\n laenge = models.FloatField()\n breite = models.FloatField()\n nummer = models.BigIntegerField()\n geom = models.MultiLineStringField(srid=31253)'
856
857======================================================================
858FAIL: test05_geometries (gis_tests.gdal_tests.test_ds.DataSourceTest)
859Testing Geometries from Data Source Features.
860----------------------------------------------------------------------
861Traceback (most recent call last):
862 File "/media/sf_django/tests/gis_tests/gdal_tests/test_ds.py", line 230, in test05_geometries
863 self.assertIsNotNone(re.match(wgs_84_wkt_regex, g.srs.wkt))
864AssertionError: unexpectedly None
865
866======================================================================
867FAIL: test_contains (gis_tests.gdal_tests.test_geom.OGRGeomTest)
868----------------------------------------------------------------------
869Traceback (most recent call last):
870 File "/media/sf_django/tests/gis_tests/gdal_tests/test_geom.py", line 507, in test_contains
871 self.assertIs(OGRGeometry('POINT(0 0)').contains(OGRGeometry('POINT(0 0)')), True)
872AssertionError: False is not True
873
874======================================================================
875FAIL: test_crosses (gis_tests.gdal_tests.test_geom.OGRGeomTest)
876----------------------------------------------------------------------
877Traceback (most recent call last):
878 File "/media/sf_django/tests/gis_tests/gdal_tests/test_geom.py", line 511, in test_crosses
879 self.assertIs(OGRGeometry('LINESTRING(0 0, 1 1)').crosses(OGRGeometry('LINESTRING(0 1, 1 0)')), True)
880AssertionError: False is not True
881
882======================================================================
883FAIL: test_disjoint (gis_tests.gdal_tests.test_geom.OGRGeomTest)
884----------------------------------------------------------------------
885Traceback (most recent call last):
886 File "/media/sf_django/tests/gis_tests/gdal_tests/test_geom.py", line 516, in test_disjoint
887 self.assertIs(OGRGeometry('LINESTRING(0 0, 0 1)').disjoint(OGRGeometry('LINESTRING(1 0, 1 1)')), True)
888AssertionError: False is not True
889
890======================================================================
891FAIL: test_equals (gis_tests.gdal_tests.test_geom.OGRGeomTest)
892----------------------------------------------------------------------
893Traceback (most recent call last):
894 File "/media/sf_django/tests/gis_tests/gdal_tests/test_geom.py", line 519, in test_equals
895 self.assertIs(OGRGeometry('POINT(0 0)').contains(OGRGeometry('POINT(0 0)')), True)
896AssertionError: False is not True
897
898======================================================================
899FAIL: test_overlaps (gis_tests.gdal_tests.test_geom.OGRGeomTest)
900----------------------------------------------------------------------
901Traceback (most recent call last):
902 File "/media/sf_django/tests/gis_tests/gdal_tests/test_geom.py", line 530, in test_overlaps
903 ), True
904AssertionError: False is not True
905
906======================================================================
907FAIL: test_touches (gis_tests.gdal_tests.test_geom.OGRGeomTest)
908----------------------------------------------------------------------
909Traceback (most recent call last):
910 File "/media/sf_django/tests/gis_tests/gdal_tests/test_geom.py", line 536, in test_touches
911 OGRGeometry('POLYGON ((0 0, 0 1, 1 1, 1 0, 0 0))').touches(OGRGeometry('LINESTRING(0 2, 2 0)')), True
912AssertionError: False is not True
913
914======================================================================
915FAIL: test_within (gis_tests.gdal_tests.test_geom.OGRGeomTest)
916----------------------------------------------------------------------
917Traceback (most recent call last):
918 File "/media/sf_django/tests/gis_tests/gdal_tests/test_geom.py", line 542, in test_within
919 OGRGeometry('POINT(0.5 0.5)').within(OGRGeometry('POLYGON ((0 0, 0 1, 1 1, 1 0, 0 0))')), True
920AssertionError: False is not True
921
922======================================================================
923FAIL: test_raster_info_accessor (gis_tests.gdal_tests.test_raster.GDALRasterTests)
924----------------------------------------------------------------------
925Traceback (most recent call last):
926 File "/media/sf_django/tests/gis_tests/gdal_tests/test_raster.py", line 373, in test_raster_info_accessor
927 self.assertEqual(info_dyn, info_ref)
928AssertionError: Lists differ: ['Dri[1182 chars].377)', 'Lower Left ( 511700.468, 417703.37[198 chars]=15'] != ['Dri[1182 chars].377) ( 82d51\'46.16"W, 27d55\' 1.53"N)', 'Low[368 chars]=15']
929
930First differing element 35:
931'Upper Left ( 511700.468, 435103.377)'
932'Upper Left ( 511700.468, 435103.377) ( 82d51\'46.16"W, 27d55\' 1.53"N)'
933
934Diff is 1968 characters long. Set self.maxDiff to None to see it.
935
936----------------------------------------------------------------------
937Ran 482 tests in 10.951s
938
939FAILED (failures=10, errors=47, skipped=57)
940GEOS b'3.6.2-CAPI-1.10.2 4d2925d6'
941GDAL (2, 3, 0)
942Testing against Django installed in '/media/sf_django/django'
943Creating test database for alias 'default'...
944Creating test database for alias 'other'...
945System check identified no issues (1 silenced).
946Destroying test database for alias 'default'...
947Destroying test database for alias 'other'...
Back to Top