Re: [Django] #23757: Spatialite backend doesn't support 3d introspection

2015-03-18 Thread Django
#23757: Spatialite backend doesn't support 3d introspection
-+-
 Reporter:  claudep  |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  GIS  |  Version:  master
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Tim Graham ):

 In [changeset:"02d78bb1a80706d941ffc6c892cc75208eb6b782" 02d78bb]:
 {{{
 #!CommitTicketReference repository=""
 revision="02d78bb1a80706d941ffc6c892cc75208eb6b782"
 Fixed build failure introduced by refs #23757.
 }}}

--
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.40c9524f49bf10b4d74c0d4216f8ab97%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23757: Spatialite backend doesn't support 3d introspection

2015-03-18 Thread Django
#23757: Spatialite backend doesn't support 3d introspection
-+-
 Reporter:  claudep  |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  GIS  |  Version:  master
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for checkin
Has patch:  1|  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:"65129aac07022f23afa1df7ec7fad2216634cb38" 65129aa]:
 {{{
 #!CommitTicketReference repository=""
 revision="65129aac07022f23afa1df7ec7fad2216634cb38"
 Fixed #23757 -- Added 3D introspection support to Spatialite backend

 Thanks Tim Graham for the review.
 }}}

--
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.90d2d0f3c561399601a7632539024bcd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23757: Spatialite backend doesn't support 3d introspection

2015-03-17 Thread Django
#23757: Spatialite backend doesn't support 3d introspection
-+-
 Reporter:  claudep  |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  GIS  |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Ready for checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by timgraham):

 * needs_better_patch:  1 => 0
 * stage:  Accepted => Ready for checkin


--
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.a9e489a9a37ee900966c02522862499b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23757: Spatialite backend doesn't support 3d introspection

2014-11-04 Thread Django
#23757: Spatialite backend doesn't support 3d introspection
-+
 Reporter:  claudep  |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  GIS  |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+

Comment (by timgraham):

 If that's the case, it sounds good to me. I verified the new tests pass on
 Ubuntu 14.04 and added a new build to Jenkins "django-master-trusty" to
 help us going forward. We need some workaround on 1.7 and 1.6 (like
 skipping tests) before creating similar builds for those versions, or we
 can simply skip the Spatial builds there.

--
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.b65074acb0276dca6a49ec3f0a729579%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23757: Spatialite backend doesn't support 3d introspection

2014-11-04 Thread Django
#23757: Spatialite backend doesn't support 3d introspection
-+
 Reporter:  claudep  |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  GIS  |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+

Comment (by claudep):

 I *think* the remaining failures (unreproduceable on my system, even with
 Spatialite 3.0) are related to GEOS (see
 http://trac.osgeo.org/geos/ticket/292 which is fixed in GEOS 3.3). That is
 the GEOS version Spatialite is compiled with. In that case, we could
 simply skip those tests when GEOS < 3.3.

 Extract of a traceback of one of those errors happening on the CI server
 (django.contrib.gis.tests.geo3d.tests.Geo3DTest.test_3d_hasz):
 {{{
 Traceback (most recent call last):
   File ".../python2.7/django/contrib/gis/tests/geo3d/tests.py", line 116,
 in test_3d_hasz
 self._load_interstate_data()
   File ".../python2.7/django/contrib/gis/tests/geo3d/tests.py", line 95,
 in _load_interstate_data
 Interstate3D.objects.create(name=name, line=line_3d)
 ...
 File ".../python2.7/django/db/backends/sqlite3/base.py", line 507, in
 execute
 return Database.Cursor.execute(self, query, params)
 IntegrityError: geo3d_interstate3d.line violates Geometry constraint
 [geom-type or SRID not allowed]
 }}}

--
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.4bb1796535d0218c053cb437f12f10bc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23757: Spatialite backend doesn't support 3d introspection

2014-11-03 Thread Django
#23757: Spatialite backend doesn't support 3d introspection
-+
 Reporter:  claudep  |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  GIS  |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+
Changes (by claudep):

 * needs_better_patch:  0 => 1


Comment:

 Tests are failing on the CI server, probably due to a different Spatialite
 version than on my system (4.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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.62924da733d61e2e4af64eee3dca02cb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23757: Spatialite backend doesn't support 3d introspection

2014-11-03 Thread Django
#23757: Spatialite backend doesn't support 3d introspection
-+
 Reporter:  claudep  |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  GIS  |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+
Changes (by claudep):

 * has_patch:  0 => 1


Comment:

 https://github.com/django/django/pull/3462

--
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.abf10edc895ee37c0023644f6bf01e97%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #23757: Spatialite backend doesn't support 3d introspection

2014-11-03 Thread Django
#23757: Spatialite backend doesn't support 3d introspection
+
   Reporter:  claudep   |  Owner:  nobody
   Type:  Bug   | Status:  new
  Component:  GIS   |Version:  master
   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 |
+
 Currently, Django crashes with an error like the following while
 introspecting Spatialite 3D field:
 {{{
 Traceback (most recent call last):
   File "...python2.7/tests/inspectdb/tests.py", line 182, in
 test_special_column_name_introspection
 call_command('inspectdb', stdout=out)
   File "...python2.7/django/core/management/__init__.py", line 115, in
 call_command
 return klass.execute(*args, **defaults)
   File "...python2.7/django/core/management/base.py", line 338, in execute
 output = self.handle(*args, **options)
   File "...python2.7/django/core/management/base.py", line 533, in handle
 return self.handle_noargs(**options)
   File "...python2.7/django/core/management/commands/inspectdb.py", line
 27, in handle_noargs
 for line in self.handle_inspection(options):
   File "...python2.7/django/core/management/commands/inspectdb.py", line
 100, in handle_inspection
 field_type, field_params, field_notes =
 self.get_field_type(connection, table_name, row)
   File "...python2.7/django/contrib/gis/management/commands/inspectdb.py",
 line 14, in get_field_type
 field_type, geo_params =
 connection.introspection.get_geometry_type(table_name, geo_col)
   File
 "...python2.7/django/contrib/gis/db/backends/spatialite/introspection.py",
 line 42, in get_geometry_type
 field_type = OGRGeomType(row[2]).django
   File "...python2.7/django/contrib/gis/gdal/geomtype.py", line 46, in
 __init__
 raise OGRException('Invalid OGR Integer Type: %d' % type_input)
 OGRException: Invalid OGR Integer Type: 1001
 }}}

--
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.f7def319338d7ab6e91e1df5264a5f50%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.