#22744: inspectdb test failure on spatialite
-------------------------------------------+----------------------------
               Reporter:  timo             |          Owner:  nobody
                   Type:  Bug              |         Status:  new
              Component:  GIS              |        Version:  1.7-beta-2
               Severity:  Release blocker  |       Keywords:
           Triage Stage:  Accepted         |      Has patch:  0
    Needs documentation:  0                |    Needs tests:  0
Patch needs improvement:  0                |  Easy pickings:  0
                  UI/UX:  0                |
-------------------------------------------+----------------------------
 New in 1.7:
 {{{
 ======================================================================
 ERROR [0.001s]: test_special_column_name_introspection
 (inspectdb.tests.InspectDBTestCase)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/var/lib/jenkins/workspace/django-
 spatialite/database/spatialite/python/python2.7/tests/inspectdb/tests.py",
 line 177, in test_special_column_name_introspection
     call_command('inspectdb', stdout=out)
   File "/var/lib/jenkins/workspace/django-
 
spatialite/database/spatialite/python/python2.7/django/core/management/__init__.py",
 line 112, in call_command
     return klass.execute(*args, **defaults)
   File "/var/lib/jenkins/workspace/django-
 
spatialite/database/spatialite/python/python2.7/django/core/management/base.py",
 line 337, in execute
     output = self.handle(*args, **options)
   File "/var/lib/jenkins/workspace/django-
 
spatialite/database/spatialite/python/python2.7/django/core/management/base.py",
 line 532, in handle
     return self.handle_noargs(**options)
   File "/var/lib/jenkins/workspace/django-
 
spatialite/database/spatialite/python/python2.7/django/core/management/commands/inspectdb.py",
 line 27, in handle_noargs
     for line in self.handle_inspection(options):
   File "/var/lib/jenkins/workspace/django-
 
spatialite/database/spatialite/python/python2.7/django/core/management/commands/inspectdb.py",
 line 63, in handle_inspection
     relations = connection.introspection.get_relations(cursor, table_name)
   File "/var/lib/jenkins/workspace/django-
 
spatialite/database/spatialite/python/python2.7/django/db/backends/sqlite3/introspection.py",
 line 82, in get_relations
     results = cursor.fetchone()[0].strip()
 TypeError: 'NoneType' object has no attribute '__getitem__'
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22744>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/047.2e806dc8d7acd0e282737f767c85e34c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to