Source: planet-venus
Version: 0~bzr116-1
Severity: important
Usertags: serious

When using Django templates, planet-venus fails with:
| Traceback (most recent call last):
|   File "/usr/bin/planet", line 138, in <module>
|     splice.apply(doc.toxml('utf-8'))
|   File "/usr/lib/pymodules/python2.7/planet/splice.py", line 118, in apply
|     output_file = shell.run(template_file, doc)
|   File "/usr/lib/pymodules/python2.7/planet/shell/__init__.py", line 66, in 
run
|     module.run(template_resolved, doc, output_file, options)
|   File "/usr/lib/pymodules/python2.7/planet/shell/dj.py", line 26, in run
|     TEMPLATE_DIRS=(os.path.dirname(script),)
|   File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 51, 
in configure
|     raise RuntimeError('Settings already configured.')
| RuntimeError: Settings already configured.

Note that this is caught by the test suite:
| $ ./runtests.py
| libxml2 is not available => can't test xpath_sifter
| Genshi is not available => can't test genshi filters
| 
.............E...........................................................................................................................................................................................................
| ======================================================================
| ERROR: test_django_entry_title (tests.test_filter_django.DjangoFilterTests)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/tmp/planet-venus-0~bzr116/tests/test_filter_django.py", line 26, in 
test_django_entry_title
|     os.path.realpath('tests/data/filter/django/title.html.dj'), input)
|   File "/tmp/planet-venus-0~bzr116/planet/shell/dj.py", line 25, in run
|     TEMPLATE_DIRS=(os.path.dirname(script),)
|   File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 51, 
in configure
|     raise RuntimeError('Settings already configured.')
| RuntimeError: Settings already configured.
|
| ----------------------------------------------------------------------
| Ran 217 tests in 5.010s
|
| FAILED (errors=1)

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to