[Django] #21930: Regression with test django.contrib.gis.tests.test_spatialrefsys

7 views
Skip to first unread message

Django

unread,
Feb 2, 2014, 1:55:59 PM2/2/14
to django-...@googlegroups.com
#21930: Regression with test django.contrib.gis.tests.test_spatialrefsys
---------------------------------+--------------------
Reporter: manfre | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: master
Severity: Release blocker | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------
With sqlite on windows and python 2.7.5

{{{
======================================================================
ERROR: django.contrib.gis.tests.test_spatialrefsys
(unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module:
django.contrib.gis.tests.test_spatialrefsys
Traceback (most recent call last):
File "C:\Python27\Lib\unittest\loader.py", line 252, in _find_tests
module = self._get_module_from_name(name)
File "C:\Python27\Lib\unittest\loader.py", line 230, in
_get_module_from_name
__import__(name)
File
"D:\project\django\django\django\contrib\gis\tests\test_spatialrefsys.py",
line 6, in <module>
from django.contrib.gis.utils import add_srs_entry
ImportError: cannot import name add_srs_entry
}}}

Bisect
{{{
fabc678f930431fd6e502fe7930ee772eff96898 is the first bad commit
commit fabc678f930431fd6e502fe7930ee772eff96898
Author: Claude Paroz <cla...@2xlibre.net>
Date: Thu Jan 30 09:37:15 2014 +0100

Added new srs test and various cleaning

:040000 040000 59be96e70c8b3d819388f9ca6f4ead7e1de09ace
1213b8a9e92aba2134e64248c3038503f98e1d35 M django
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/21930>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 2, 2014, 1:58:31 PM2/2/14
to django-...@googlegroups.com
#21930: Regression with test django.contrib.gis.tests.test_spatialrefsys
---------------------------------+------------------------------------
Reporter: manfre | Owner: claudep
Type: Bug | Status: assigned
Component: GIS | Version: master
Severity: Release blocker | Resolution:
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 claudep):

* status: new => assigned
* needs_better_patch: => 0
* needs_tests: => 0
* owner: nobody => claudep
* needs_docs: => 0
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/21930#comment:1>

Django

unread,
Feb 2, 2014, 2:06:19 PM2/2/14
to django-...@googlegroups.com
#21930: Regression with test django.contrib.gis.tests.test_spatialrefsys
---------------------------------+------------------------------------
Reporter: manfre | Owner: claudep
Type: Bug | Status: closed
Component: GIS | Version: master
Severity: Release blocker | 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 <claude@…>):

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


Comment:

In [changeset:"9ab798a8d8911a431bcb28b0bd82e391e879077a"]:
{{{
#!CommitTicketReference repository=""
revision="9ab798a8d8911a431bcb28b0bd82e391e879077a"
Fixed #21930 -- Only import add_srs_entry if GDAL is installed

Fixed regression introduced by fabc678f93. Thanks Michael Manfre
for the report.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/21930#comment:2>

Reply all
Reply to author
Forward
0 new messages