Source: python-django-localeurl
Version: 1.5-3
Severity: serious
Tags: sid jessie
Justification: fails to build from source
python-django-localeurl FTBFS:
| debian/rules override_dh_auto_test
| pyversions: missing X(S)-Python-Version in control file, fall back to
debian/pyversions
| pyversions: missing debian/pyversions file, fall back to supported versions
| make[1]: Entering directory
`/build/python-django-localeurl-4ocqCh/python-django-localeurl-1.5'
| for pyvers in 2.7; do \
| python$pyvers setup.py test; \
| done
| running test
| running egg_info
| writing django_localeurl.egg-info/PKG-INFO
| writing top-level names to django_localeurl.egg-info/top_level.txt
| writing dependency_links to django_localeurl.egg-info/dependency_links.txt
| reading manifest file 'django_localeurl.egg-info/SOURCES.txt'
| reading manifest template 'MANIFEST.in'
| writing manifest file 'django_localeurl.egg-info/SOURCES.txt'
| running build_ext
| ......................................EE........
| ======================================================================
| ERROR: test_locale_url_tag (localeurl.tests.tests.TagsTestCase)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File
"/build/python-django-localeurl-4ocqCh/python-django-localeurl-1.5/localeurl/tests/tests.py",
line 295, in test_locale_url_tag
| '{% locale_url "en-us" dummy0 %}'))
| File
"/build/python-django-localeurl-4ocqCh/python-django-localeurl-1.5/localeurl/tests/tests.py",
line 287, in render_template
| return t.render(c)
| File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 140,
in render
| return self._render(context)
| File "/usr/lib/python2.7/dist-packages/django/test/utils.py", line 65, in
instrumented_test_render
| return self.nodelist.render(context)
| File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 830,
in render
| bit = self.render_node(node, context)
| File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 844,
in render_node
| return node.render(context)
| File
"/build/python-django-localeurl-4ocqCh/python-django-localeurl-1.5/localeurl/templatetags/localeurl_tags.py",
line 68, in render
| path = self.urlnode.render(context)
| File "/usr/lib/python2.7/dist-packages/django/template/defaulttags.py",
line 402, in render
| raise NoReverseMatch("'url' requires a non-empty first argument. "
| NoReverseMatch: 'url' requires a non-empty first argument. The syntax changed
in Django 1.5, see the docs.
|
| ======================================================================
| ERROR: test_locale_url_tag_no_default_prefix
(localeurl.tests.tests.TagsTestCase)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File
"/build/python-django-localeurl-4ocqCh/python-django-localeurl-1.5/localeurl/tests/tests.py",
line 328, in test_locale_url_tag_no_default_prefix
| '{% locale_url "en-us" dummy0 %}'))
| File
"/build/python-django-localeurl-4ocqCh/python-django-localeurl-1.5/localeurl/tests/tests.py",
line 287, in render_template
| return t.render(c)
| File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 140,
in render
| return self._render(context)
| File "/usr/lib/python2.7/dist-packages/django/test/utils.py", line 65, in
instrumented_test_render
| return self.nodelist.render(context)
| File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 830,
in render
| bit = self.render_node(node, context)
| File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 844,
in render_node
| return node.render(context)
| File
"/build/python-django-localeurl-4ocqCh/python-django-localeurl-1.5/localeurl/templatetags/localeurl_tags.py",
line 68, in render
| path = self.urlnode.render(context)
| File "/usr/lib/python2.7/dist-packages/django/template/defaulttags.py",
line 402, in render
| raise NoReverseMatch("'url' requires a non-empty first argument. "
| NoReverseMatch: 'url' requires a non-empty first argument. The syntax changed
in Django 1.5, see the docs.
|
| ----------------------------------------------------------------------
| Ran 48 tests in 0.446s
|
| FAILED (errors=2)
| Creating test database for alias 'default'...
| Destroying test database for alias 'default'...
| make[1]: *** [override_dh_auto_test] Error 2
--
Jakub Wilk
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]