Re: [Django] #17611: django.contrib.gis raises exception on ./manage.py test

2012-03-26 Thread Django
#17611: django.contrib.gis raises exception on ./manage.py test
--+--
 Reporter:  andrey@…  |Owner:  nobody
 Type:  Bug   |   Status:  closed
Component:  GIS   |  Version:  SVN
 Severity:  Normal|   Resolution:  invalid
 Keywords:| Triage Stage:  Unreviewed
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+--

Comment (by geoffhing@…):

 I ran into this issue when switching from Django 1.3.1 to 1.4.0

 I wanted to add this comment to clarify the reason for getting the
 exception and my fix.

 The exception is thrown because I had set the test runner to the GeoDjango
 like this:

 {{{
 TEST_RUNNER='django.contrib.gis.tests.run_tests'
 }}}

 According to the
 [https://docs.djangoproject.com/en/dev/ref/contrib/gis/testing/#testing-
 geodjango-apps Testing GeoDjango Apps documentation]:

 In Django 1.2, the addition of Spatial Backends simplified the process
 of testing GeoDjango applications. The process is now the same as Testing
 Django applications.

 So, specifying the GeoDjango test runner is no longer required and now
 seems to break things.

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #17611: django.contrib.gis raises exception on ./manage.py test

2012-02-02 Thread Django
#17611: django.contrib.gis raises exception on ./manage.py test
--+--
 Reporter:  andrey@…  |Owner:  nobody
 Type:  Bug   |   Status:  closed
Component:  GIS   |  Version:  SVN
 Severity:  Normal|   Resolution:  invalid
 Keywords:| Triage Stage:  Unreviewed
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+--
Changes (by akaariai):

 * status:  reopened => closed
 * resolution:   => invalid


Comment:

 I am going to close this ticket, as it seems this should be invalid (as
 said in comment:1). I don't know why this was then reopened, a bit
 confusing... So if I am mistaken, please reopen.

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #17611: django.contrib.gis raises exception on ./manage.py test

2012-01-29 Thread Django
#17611: django.contrib.gis raises exception on ./manage.py test
--+--
 Reporter:  andrey@…  |Owner:  nobody
 Type:  Bug   |   Status:  reopened
Component:  GIS   |  Version:  SVN
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Unreviewed
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+--
Changes (by anonymous):

 * status:  closed => reopened
 * resolution:  invalid =>


-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #17611: django.contrib.gis raises exception on ./manage.py test

2012-01-29 Thread Django
#17611: django.contrib.gis raises exception on ./manage.py test
--+--
 Reporter:  andrey@…  |Owner:  nobody
 Type:  Bug   |   Status:  closed
Component:  GIS   |  Version:  SVN
 Severity:  Normal|   Resolution:  invalid
 Keywords:| Triage Stage:  Unreviewed
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+--
Changes (by anonymous):

 * status:  new => closed
 * needs_docs:   => 0
 * resolution:   => invalid
 * needs_tests:   => 0
 * needs_better_patch:   => 0


Comment:

 it was my fail. Can you throw exception with instructions how to change
 user's settings.py?

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



[Django] #17611: django.contrib.gis raises exception on ./manage.py test

2012-01-29 Thread Django
#17611: django.contrib.gis raises exception on ./manage.py test
+
 Reporter:  andrey@…|  Owner:  nobody
 Type:  Bug | Status:  new
Component:  GIS |Version:  SVN
 Severity:  Normal  |   Keywords:
 Triage Stage:  Unreviewed  |  Has patch:  0
Easy pickings:  0   |  UI/UX:  0
+
 from django.test.simple import run_tests as base_run_tests
 ImportError: cannot import name run_tests
 {{{
 [15:32:04]: [Step 2/2] Starting:
 /opt/TeamCity/buildAgent/temp/agentTmp/custom_script7587252072882195123
 [15:32:04]: [Step 2/2] in directory:
 /opt/TeamCity/buildAgent/work/a2bf5278fd80ad01
 [15:32:05]: [Step 2/2] Traceback (most recent call last):
 [15:32:05]: [Step 2/2]   File "./manage.py", line 11, in 
 [15:32:05]: [Step 2/2] execute_manager(settings)
 [15:32:05]: [Step 2/2]   File "/tmp/visamap-tc-
 virtualenv/src/django/django/core/management/__init__.py", line 435, in
 execute_manager
 [15:32:05]: [Step 2/2] utility.execute()
 [15:32:05]: [Step 2/2]   File "/tmp/visamap-tc-
 virtualenv/src/django/django/core/management/__init__.py", line 358, in
 execute
 [15:32:05]: [Step 2/2]
 self.fetch_command(subcommand).run_from_argv(self.argv)
 [15:32:05]: [Step 2/2]   File "/tmp/visamap-tc-
 virtualenv/src/django/django/core/management/commands/test.py", line 49,
 in run_from_argv
 [15:32:05]: [Step 2/2] super(Command, self).run_from_argv(argv)
 [15:32:05]: [Step 2/2]   File "/tmp/visamap-tc-
 virtualenv/src/django/django/core/management/base.py", line 196, in
 run_from_argv
 [15:32:05]: [Step 2/2] self.execute(*args, **options.__dict__)
 [15:32:05]: [Step 2/2]   File "/tmp/visamap-tc-
 virtualenv/src/django/django/core/management/base.py", line 232, in
 execute
 [15:32:05]: [Step 2/2] output = self.handle(*args, **options)
 [15:32:05]: [Step 2/2]   File "/tmp/visamap-tc-
 virtualenv/local/lib/python2.7/site-
 packages/south/management/commands/test.py", line 8, in handle
 [15:32:05]: [Step 2/2] super(Command, self).handle(*args, **kwargs)
 [15:32:05]: [Step 2/2]   File "/tmp/visamap-tc-
 virtualenv/src/django/django/core/management/commands/test.py", line 71,
 in handle
 [15:32:05]: [Step 2/2] test_runner = TestRunner(**options)
 [15:32:05]: [Step 2/2]   File "/tmp/visamap-tc-
 virtualenv/src/django/django/contrib/gis/tests/__init__.py", line 6, in
 run_tests
 [15:32:05]: [Step 2/2] from django.test.simple import run_tests as
 base_run_tests
 [15:32:05]: [Step 2/2] ImportError: cannot import name run_tests
 [15:32:05]: [Step 2/2] Process exited with code 1
 [15:32:06]: [Step 2/2] Step Command Line failed
 }}}

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.