#20260: Geodjango - ogrinspect on spatialite deprecation warning and unknown 
field
type
-------------------------------------+-------------------------------------
     Reporter:  burton449geo@…       |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  new
    Component:  GIS                  |                  Version:  1.5
     Severity:  Normal               |               Resolution:
     Keywords:  geodjango,           |             Triage Stage:
  spatialite, ogrinspect             |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by claudep):

 * needs_docs:   => 0
 * needs_tests:   => 0
 * needs_better_patch:   => 0


Old description:

> I run ogrinspect on spatialite 4.0 where TM_WORLD_BORDERS-0.3.shp was
> loaded. I got two errors.
>
> This is the traceback:
>
> c:\mygeosite\geodjango>python manage.py ogrinspect
> c:/mygeosite/sqlite3/ezmappin
> g.sqlite test --srid=4326 --mapping --multi
> C:\python27\lib\site-packages\django\contrib\localflavor\__init__.py:2:
> Deprecat
> ionWarning: django.contrib.localflavor is deprecated. Use the separate
> django-lo
> calflavor-* packages instead.
>   warnings.warn("django.contrib.localflavor is deprecated. Use the
> separate djan
> go-localflavor-* packages instead.", DeprecationWarning)
>
> TypeError: Unknown field type <class
> 'django.contrib.gis.gdal.field.OFTBinary'>
> in search_frame

New description:

 I run ogrinspect on spatialite 4.0 where TM_WORLD_BORDERS-0.3.shp was
 loaded. I got two errors.

 This is the traceback:
 {{{
 c:\mygeosite\geodjango>python manage.py ogrinspect
 c:/mygeosite/sqlite3/ezmapping.sqlite test --srid=4326 --mapping --multi
 C:\python27\lib\site-packages\django\contrib\localflavor\__init__.py:2:
   DeprecationWarning: django.contrib.localflavor is deprecated. Use the
 separate django-localflavor-* packages instead.
   warnings.warn("django.contrib.localflavor is deprecated. Use the
 separate django-localflavor-* packages instead.", DeprecationWarning)

 TypeError: Unknown field type <class
 'django.contrib.gis.gdal.field.OFTBinary'>
 in search_frame

--

Comment:

 Please use proper Wiki markup for code snippets.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20260#comment:1>
Django <https://code.djangoproject.com/>
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to