Source: djblets
Version: 0.7~git20120402+dfsg-1
Severity: serious
Justification: fails to build from source

djblets FTBFS:
| python2.7 tests/runtests.py
| nose.plugins.cover: ERROR: Coverage not available: unable to import coverage 
module
| Testing DateTimeSinceColumn ... ok
| Testing datagrids with custom column orders ... ERROR
| Testing basic datagrid rendering ... ERROR
| Testing rendering datagrid to HTTPResponse ... ERROR
| Testing datagrids with ascending sort ... ERROR
| Testing datagrids with descending sort ... ERROR
| An ExtensionHookPoint will remember some hook passed into it through ... ok
| A class that derives from ExtensionHook gets a hooks collection for ... ok
| An ExtensionHookPoint will forget some hook passed into it through ... ok
| Test to ensure that the ExtensionHook class knows about the ... ok
| Test to ensure that the Extension knows about the associated ... ok
| Test to ensure that the ExtensionHook knows about the ... ok
| Test to ensure that when a hook is shutdown, that it is removed ... ok
| Tests that an ExtensionInfo class is correctly generated ... ok
| An ExtensionManager gets added to the _extension_managers list ... ok
| An ExtensionManager should return an empty collection when asked ... ok
| An ExtensionManager should load any extensions that it finds ... ok
| Tests the Extension constructor, ensures the defaults are what we ... ok
| Tests that we can get and process admin URL configurations ... ok
| Tests that shutdown calls shutdown on all hooks ... ok
| Testing the Extension's Settings constructor ... ok
| Testing that Settings.load silently ignores invalid settings ... ok
| Testing that Settings.load correctly updates core dict ... ok
| Testing that Settings.save will correctly update registration ... ok
| If a TemplateHook was constructed without an apply_to collection, ... ok
| If a TemplateHook was constructed with an apply_to collection, ... ok
| If a TemplateHook was constructed with an apply_to collection, ... ok
| The TemplateHook should be added to the _by_name collection ... ok
| The TemplateHook should remove itself from the _by_name collection ... ok
| On shutdown, a URLHook's patterns should no longer be in its ... ok
| On initialization, a URLHook should extend its parent URL resolver's ... ok
| Testing view_feed with a URL error ... ok
| Testing view_feed with the feed-inline.html template ... ok
| Testing view_feed with the feed-page.html template ... ok
| Testing creation of WatchedFileHandler. ... ok
| Testing mail authentication settings deserialization ... ok
| Testing synchronizing SiteConfigurations through cache ... ok
| Testing synchronizing SiteConfigurations with an expired cache ... ok
| Testing ageid tag (yesterday) ... ok
| Testing ageid tag (two days ago) ... ok
| Testing ageid tag (three days ago) ... ok
| Testing ageid tag (four days ago) ... ok
| Testing ageid tag (non-datetime object) ... ok
| Testing ageid tag (now) ... ok
| Testing box tag (with extra class) ... ok
| Testing box tag (invalid usage) ... ok
| Testing box tag ... ok
| Testing cache_memoize ... ok
| Testing cache_memoize with large files ... ok
| Testing condense tag ... ok
| Testing errorbox tag (invalid usage) ... ok
| Testing errorbox tag (with id) ... ok
| Testing errorbox tag ... ok
| Testing djblets.http.get_requested_mimetype with no consensus between client 
and server ... ok
| Testing djblets.http.get_requested_mimetype with supported mimetype ... ok
| Testing djblets.http.get_requested_mimetype with unsupported mimetype ... ok
| Testing djblets.http.get_requested_mimetype with supported */* mimetype ... ok
| Testing djblets.http.get_http_accept_lists ... ok
| Testing djblets.util.http.is_mimetype_a ... ok
| Testing quote_text filter (level 2) ... ok
| Testing quote_text filter (default level) ... ok
| Testing quoted_email tag (invalid usage) ... ok
| Testing escapespaces filter ... ok
| Testing humanize_list filter (length 0) ... ok
| Testing humanize_list filter (length 1) ... ok
| Testing humanize_list filter (length 2) ... ok
| Testing humanize_list filter (length 3) ... ok
| Testing humanize_list filter (length 4) ... ok
| Testing indent filter ... ok
| Testing WebAPIResource with GET and vendor-specific mimetypes ... ERROR
| Testing WebAPIResource with vendor-specific mimetypes ... ok
| Testing WebAPIResource with vendor-specific and custom mimetypes ... ok
|
| ======================================================================
| ERROR: Testing datagrids with custom column orders
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File 
"/build/djblets-9486bG/djblets-0.7~git20120402+dfsg/djblets/datagrid/tests.py", 
line 139, in testCustomColumns
|     self.datagrid.render_listview()
|   File 
"/build/djblets-9486bG/djblets-0.7~git20120402+dfsg/djblets/datagrid/grids.py", 
line 693, in render_listview
|     'previous': self.page.previous_page_number(),
|   File "/usr/lib/python2.7/dist-packages/django/core/paginator.py", line 143, 
in previous_page_number
|     return self.paginator.validate_number(self.number - 1)
|   File "/usr/lib/python2.7/dist-packages/django/core/paginator.py", line 30, 
in validate_number
|     raise EmptyPage('That page number is less than 1')
| EmptyPage: That page number is less than 1
|
| ======================================================================
| ERROR: Testing basic datagrid rendering
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File 
"/build/djblets-9486bG/djblets-0.7~git20120402+dfsg/djblets/datagrid/tests.py", 
line 95, in testRender
|     self.datagrid.render_listview()
|   File 
"/build/djblets-9486bG/djblets-0.7~git20120402+dfsg/djblets/datagrid/grids.py", 
line 693, in render_listview
|     'previous': self.page.previous_page_number(),
|   File "/usr/lib/python2.7/dist-packages/django/core/paginator.py", line 143, 
in previous_page_number
|     return self.paginator.validate_number(self.number - 1)
|   File "/usr/lib/python2.7/dist-packages/django/core/paginator.py", line 30, 
in validate_number
|     raise EmptyPage('That page number is less than 1')
| EmptyPage: That page number is less than 1
|
| ======================================================================
| ERROR: Testing rendering datagrid to HTTPResponse
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File 
"/build/djblets-9486bG/djblets-0.7~git20120402+dfsg/djblets/datagrid/tests.py", 
line 99, in testRenderToResponse
|     self.datagrid.render_listview_to_response()
|   File 
"/build/djblets-9486bG/djblets-0.7~git20120402+dfsg/djblets/datagrid/grids.py", 
line 710, in render_listview_to_response
|     response = HttpResponse(unicode(self.render_listview()))
|   File 
"/build/djblets-9486bG/djblets-0.7~git20120402+dfsg/djblets/datagrid/grids.py", 
line 693, in render_listview
|     'previous': self.page.previous_page_number(),
|   File "/usr/lib/python2.7/dist-packages/django/core/paginator.py", line 143, 
in previous_page_number
|     return self.paginator.validate_number(self.number - 1)
|   File "/usr/lib/python2.7/dist-packages/django/core/paginator.py", line 30, 
in validate_number
|     raise EmptyPage('That page number is less than 1')
| EmptyPage: That page number is less than 1
|
| ======================================================================
| ERROR: Testing datagrids with ascending sort
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File 
"/build/djblets-9486bG/djblets-0.7~git20120402+dfsg/djblets/datagrid/tests.py", 
line 113, in testSortAscending
|     self.datagrid.render_listview()
|   File 
"/build/djblets-9486bG/djblets-0.7~git20120402+dfsg/djblets/datagrid/grids.py", 
line 693, in render_listview
|     'previous': self.page.previous_page_number(),
|   File "/usr/lib/python2.7/dist-packages/django/core/paginator.py", line 143, 
in previous_page_number
|     return self.paginator.validate_number(self.number - 1)
|   File "/usr/lib/python2.7/dist-packages/django/core/paginator.py", line 30, 
in validate_number
|     raise EmptyPage('That page number is less than 1')
| EmptyPage: That page number is less than 1
|
| ======================================================================
| ERROR: Testing datagrids with descending sort
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File 
"/build/djblets-9486bG/djblets-0.7~git20120402+dfsg/djblets/datagrid/tests.py", 
line 127, in testSortDescending
|     self.datagrid.render_listview()
|   File 
"/build/djblets-9486bG/djblets-0.7~git20120402+dfsg/djblets/datagrid/grids.py", 
line 693, in render_listview
|     'previous': self.page.previous_page_number(),
|   File "/usr/lib/python2.7/dist-packages/django/core/paginator.py", line 143, 
in previous_page_number
|     return self.paginator.validate_number(self.number - 1)
|   File "/usr/lib/python2.7/dist-packages/django/core/paginator.py", line 30, 
in validate_number
|     raise EmptyPage('That page number is less than 1')
| EmptyPage: That page number is less than 1
|
| ======================================================================
| ERROR: Testing WebAPIResource with GET and vendor-specific mimetypes
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File 
"/build/djblets-9486bG/djblets-0.7~git20120402+dfsg/djblets/webapi/tests.py", 
line 122, in test_get_with_vendor_mimetype
|     'application/vnd.djblets.testresources+xml')
|   File 
"/build/djblets-9486bG/djblets-0.7~git20120402+dfsg/djblets/webapi/tests.py", 
line 149, in _test_mimetype_responses
|     **kwargs)
|   File 
"/build/djblets-9486bG/djblets-0.7~git20120402+dfsg/djblets/webapi/tests.py", 
line 169, in _test_mimetype_response
|     response = resource(request, **view_kwargs)
|   File "/usr/lib/python2.7/dist-packages/django/views/decorators/vary.py", 
line 19, in inner_func
|     response = func(*args, **kwargs)
|   File 
"/build/djblets-9486bG/djblets-0.7~git20120402+dfsg/djblets/webapi/resources.py",
 line 448, in __call__
|     **self.build_response_args(request))
|   File 
"/build/djblets-9486bG/djblets-0.7~git20120402+dfsg/djblets/webapi/core.py", 
line 233, in __init__
|     status=status)
|   File "/usr/lib/python2.7/dist-packages/django/http/response.py", line 260, 
in __init__
|     self.content = content
|   File 
"/build/djblets-9486bG/djblets-0.7~git20120402+dfsg/djblets/webapi/core.py", 
line 292, in _set_content
|     super(WebAPIResponse, self)._set_content(value)
| AttributeError: 'super' object has no attribute '_set_content'
|
| ----------------------------------------------------------------------
| Ran 72 tests in 3.612s
|
| FAILED (errors=6)
| ['django.contrib.admin', 'django.contrib.auth', 
'django.contrib.contenttypes', 'django.contrib.sessions', 
'django.contrib.sites', 'django.contrib.staticfiles', 'djblets.util', 
'djblets.gravatars', 'djblets.auth', 'djblets.feedview', 'djblets.log', 
'djblets.webapi', 'djblets.extensions', 'djblets.testing', 'djblets.pipeline', 
'djblets.siteconfig', 'djblets.datagrid']
| Creating test database for alias 'default'...
| Creating tables ...
| Installing custom SQL ...
| Installing indexes ...
| Installed 0 object(s) from 0 fixture(s)
| make[1]: *** [test-python2.7] Error 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