inspectdb test failure on spatialite
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__'
I never managed to compile spatialite and I assume I'm not the only one :-/
If you had the time to bisect the failure, someone would then feel responsible for fixing it ;-)