Re: [Django] #18795: Failing GeoDjango tests

2012-09-13 Thread Django
#18795: Failing GeoDjango tests
+
 Reporter:  julien  |Owner:  nobody
 Type:  Bug |   Status:  closed
Component:  GIS |  Version:  1.4
 Severity:  Normal  |   Resolution:  fixed
 Keywords:  | Triage Stage:  Accepted
Has patch:  0   |  Needs documentation:  0
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  0   |UI/UX:  0
+
Changes (by Claude Paroz ):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7e5ebcce5365a172d802c76b57771c321430317f"]:
 {{{
 #!CommitTicketReference repository=""
 revision="7e5ebcce5365a172d802c76b57771c321430317f"
 Fixed #18795 -- Fixed failing GeoDjango tests

 Proj.4 and SRS strings may slightly vary depending on the installed
 libraries. Made some tests pass again with recent Proj.4/GDAL lib
 versions.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #18795: Failing GeoDjango tests (was: Failing GeoDjango tests with spatialite)

2012-08-24 Thread Django
#18795: Failing GeoDjango tests
+
 Reporter:  julien  |Owner:  nobody
 Type:  Bug |   Status:  new
Component:  GIS |  Version:  1.4
 Severity:  Normal  |   Resolution:
 Keywords:  | Triage Stage:  Accepted
Has patch:  0   |  Needs documentation:  0
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  0   |UI/UX:  0
+

Comment (by julien):

 Yes, I confirm that I can also see those failures with postgresql 8.4 and
 postgis 1.5.2.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #18795: Failing GeoDjango tests with spatialite

2012-08-22 Thread Django
#18795: Failing GeoDjango tests with spatialite
+
 Reporter:  julien  |Owner:  nobody
 Type:  Bug |   Status:  new
Component:  GIS |  Version:  1.4
 Severity:  Normal  |   Resolution:
 Keywords:  | Triage Stage:  Accepted
Has patch:  0   |  Needs documentation:  0
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  0   |UI/UX:  0
+

Comment (by claudep):

 #18831 was a duplicate with the following config:

 OS X Lion, Python 2.7.2, PostgreSQL 9.1.3, PostGIS 1.5.3, GEOS 3.3.2, PROJ
 4.7.0, GDAL 1.9.0.

 So it is not specific to spatialite.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #18795: Failing GeoDjango tests with spatialite

2012-08-19 Thread Django
#18795: Failing GeoDjango tests with spatialite
+
 Reporter:  julien  |Owner:  nobody
 Type:  Bug |   Status:  new
Component:  GIS |  Version:  1.4
 Severity:  Normal  |   Resolution:
 Keywords:  | Triage Stage:  Accepted
Has patch:  0   |  Needs documentation:  0
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  0   |UI/UX:  0
+

Old description:

> The failures seem minor. It looks like a formatting issue of the values
> returned.
>

> ==
> FAIL: test_json (django.contrib.gis.geos.tests.test_geos.GEOSTest)
> Testing GeoJSON input/output (via GDAL).
> --
> Traceback (most recent call last):
>   File "/home/vagrant/django/django/contrib/gis/geos/tests/test_geos.py",
> line 207, in test_json
> self.assertEqual(g.json, geom.json)
> AssertionError: u'{ "type": "Point", "coordinates": [ 100.00,
> 0.00 ] }' != '{ "type": "Point", "coordinates": [ 100.0, 0.0 ] }'
>
> ==
> FAIL: test05_geometries
> (django.contrib.gis.gdal.tests.test_ds.DataSourceTest)
> Testing Geometries from Data Source Features.
> --
> Traceback (most recent call last):
>   File "/home/vagrant/django/django/contrib/gis/gdal/tests/test_ds.py",
> line 184, in test05_geometries
> self.assertEqual(source.srs_wkt, g.srs.wkt)
> AssertionError:
> 'GEOGCS["GCS_WGS_1984",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]'
> !=
> 'GEOGCS["GCS_WGS_1984",DATUM["WGS_1984",SPHEROID["WGS_84",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]'
>
> ==
> FAIL: test01e_json (django.contrib.gis.gdal.tests.test_geom.OGRGeomTest)
> Testing GeoJSON input/output.
> --
> Traceback (most recent call last):
>   File "/home/vagrant/django/django/contrib/gis/gdal/tests/test_geom.py",
> line 114, in test01e_json
> self.assertEqual(g.json, geom.json)
> AssertionError: u'{ "type": "Point", "coordinates": [ 100.00,
> 0.00 ] }' != '{ "type": "Point", "coordinates": [ 100.0, 0.0 ] }'

New description:

 The failures seem minor. It looks like a formatting issue of the values
 returned.

 {{{
 ==
 FAIL: test_json (django.contrib.gis.geos.tests.test_geos.GEOSTest)
 Testing GeoJSON input/output (via GDAL).
 --
 Traceback (most recent call last):
   File "/home/vagrant/django/django/contrib/gis/geos/tests/test_geos.py",
 line 207, in test_json
 self.assertEqual(g.json, geom.json)
 AssertionError: u'{ "type": "Point", "coordinates": [ 100.00, 0.00
 ] }' != '{ "type": "Point", "coordinates": [ 100.0, 0.0 ] }'

 ==
 FAIL: test05_geometries
 (django.contrib.gis.gdal.tests.test_ds.DataSourceTest)
 Testing Geometries from Data Source Features.
 --
 Traceback (most recent call last):
   File "/home/vagrant/django/django/contrib/gis/gdal/tests/test_ds.py",
 line 184, in test05_geometries
 self.assertEqual(source.srs_wkt, g.srs.wkt)
 AssertionError:
 
'GEOGCS["GCS_WGS_1984",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]'
 !=
 
'GEOGCS["GCS_WGS_1984",DATUM["WGS_1984",SPHEROID["WGS_84",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]'

 ==
 FAIL: test01e_json (django.contrib.gis.gdal.tests.test_geom.OGRGeomTest)
 Testing GeoJSON input/output.
 --
 Traceback (most recent call last):
   File "/home/vagrant/django/django/contrib/gis/gdal/tests/test_geom.py",
 line 114, in test01e_json
 self.assertEqual(g.json, geom.json)
 AssertionError: u'{ "type": "Point", "coordinates": [ 100.00, 0.00
 ] }' != '{ "type": "Point", "coordinates": [ 100.0, 0.0 ] }'
 }}}

--

Comment (by julien):

 Fixed ticket description's formatting.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the 

[Django] #18795: Failing GeoDjango tests with spatialite

2012-08-19 Thread Django
#18795: Failing GeoDjango tests with spatialite
+
   Reporter:  julien|  Owner:  nobody
   Type:  Bug   | Status:  new
  Component:  GIS   |Version:  1.4
   Severity:  Normal|   Keywords:
   Triage Stage:  Accepted  |  Has patch:  0
Needs documentation:  0 |Needs tests:  0
Patch needs improvement:  0 |  Easy pickings:  0
  UI/UX:  0 |
+
 The failures seem minor. It looks like a formatting issue of the values
 returned.


 ==
 FAIL: test_json (django.contrib.gis.geos.tests.test_geos.GEOSTest)
 Testing GeoJSON input/output (via GDAL).
 --
 Traceback (most recent call last):
   File "/home/vagrant/django/django/contrib/gis/geos/tests/test_geos.py",
 line 207, in test_json
 self.assertEqual(g.json, geom.json)
 AssertionError: u'{ "type": "Point", "coordinates": [ 100.00, 0.00
 ] }' != '{ "type": "Point", "coordinates": [ 100.0, 0.0 ] }'

 ==
 FAIL: test05_geometries
 (django.contrib.gis.gdal.tests.test_ds.DataSourceTest)
 Testing Geometries from Data Source Features.
 --
 Traceback (most recent call last):
   File "/home/vagrant/django/django/contrib/gis/gdal/tests/test_ds.py",
 line 184, in test05_geometries
 self.assertEqual(source.srs_wkt, g.srs.wkt)
 AssertionError:
 
'GEOGCS["GCS_WGS_1984",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]'
 !=
 
'GEOGCS["GCS_WGS_1984",DATUM["WGS_1984",SPHEROID["WGS_84",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]'

 ==
 FAIL: test01e_json (django.contrib.gis.gdal.tests.test_geom.OGRGeomTest)
 Testing GeoJSON input/output.
 --
 Traceback (most recent call last):
   File "/home/vagrant/django/django/contrib/gis/gdal/tests/test_geom.py",
 line 114, in test01e_json
 self.assertEqual(g.json, geom.json)
 AssertionError: u'{ "type": "Point", "coordinates": [ 100.00, 0.00
 ] }' != '{ "type": "Point", "coordinates": [ 100.0, 0.0 ] }'

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.