[Python-modules-team] Bug#456832: python-axiom: FTBFS: exceptions.TypeError: set_progress_handler() takes exactly 2 arguments (1 given)
Lucas Nussbaum
lucas at lucas-nussbaum.net
Tue Dec 18 08:44:55 UTC 2007
Package: python-axiom
version: 0.5.26-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20071217 qa-ftbfs
Justification: FTBFS on i386
Hi,
During a rebuild of all packages in sid, your package failed to build on i386.
Relevant part:
> TestFindOrCreate
> testCreate ... [OK]
> testFind ... [OK]
> testFindFirst ... [OK]
> testIfNew ... [OK]
>
> ===============================================================================
> [SKIPPED]: axiom.test.test_apsw.ConnectionTestCase.test_cursor
>
> The APSW backend is currently unmaintained.
> ===============================================================================
> [SKIPPED]: axiom.test.test_apsw.ConnectionTestCase.test_identifyGenericError
>
> The APSW backend is currently unmaintained.
> ===============================================================================
> [SKIPPED]: axiom.test.test_apsw.ConnectionTestCase.test_identifyTableCreationError
>
> The APSW backend is currently unmaintained.
> ===============================================================================
> [SKIPPED]: axiom.test.test_apsw.ConnectionTestCase.test_timeoutExceeded
>
> The APSW backend is currently unmaintained.
> ===============================================================================
> [SKIPPED]: axiom.test.test_unavailable_type.UnavailableTypeTestCase.testUnavailable
>
> This test breaks EVERY subsequent test, because reloading item and store is not allowed
> ===============================================================================
> [TODO]: axiom.test.test_paginate.CrossTransactionIteration.test_moreThanOneColumnSort
>
> Reason: "There's no use-case for this yet, but it would be a consistent extension of the API."
> Traceback (most recent call last):
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_paginate.py", line 162, in test_moreThanOneColumnSort
> sort=[MultiColumnSortHelper.columnOne.ascending,
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/store.py", line 501, in paginate
> raise RuntimeError("%d-column sorts not supported yet with paginate" %(len(oc),))
> exceptions.RuntimeError: 2-column sorts not supported yet with paginate
> ===============================================================================
> [TODO]: axiom.test.test_sequence.TestMutableSequenceOperations.test_deleteSlice
>
> Reason: 'Slices are not supported yet'
> Traceback (most recent call last):
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_sequence.py", line 247, in test_deleteSlice
> del seq[1:3]
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/sequence.py", line 94, in __delitem__
> assert not isinstance(index, slice), 'slices are not supported (yet)'
> exceptions.AssertionError: slices are not supported (yet)
> ===============================================================================
> [TODO]: axiom.test.test_sequence.TestMutableSequenceOperations.test_deleteSliceStep
>
> Reason: 'Slices are not supported yet'
> Traceback (most recent call last):
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_sequence.py", line 281, in test_deleteSliceStep
> del seq[1:6:2]
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/sequence.py", line 94, in __delitem__
> assert not isinstance(index, slice), 'slices are not supported (yet)'
> exceptions.AssertionError: slices are not supported (yet)
> ===============================================================================
> [TODO]: axiom.test.test_sequence.TestMutableSequenceOperations.test_extendSliceSyntax
>
> Reason: 'Slices are not supported yet'
> Traceback (most recent call last):
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_sequence.py", line 317, in test_extendSliceSyntax
> L1[len(L1):len(L1)] = L2
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/sequence.py", line 67, in __setitem__
> index = self._fixIndex(index)
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/sequence.py", line 52, in _fixIndex
> assert not isinstance(index, slice), 'slices are not supported (yet)'
> exceptions.AssertionError: slices are not supported (yet)
> ===============================================================================
> [TODO]: axiom.test.test_sequence.TestMutableSequenceOperations.test_insertSliceSyntax
>
> Reason: 'Slices are not supported yet'
> Traceback (most recent call last):
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_sequence.py", line 370, in test_insertSliceSyntax
> seq[1:1] = self.i9
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/sequence.py", line 67, in __setitem__
> index = self._fixIndex(index)
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/sequence.py", line 52, in _fixIndex
> assert not isinstance(index, slice), 'slices are not supported (yet)'
> exceptions.AssertionError: slices are not supported (yet)
> ===============================================================================
> [TODO]: axiom.test.test_sequence.TestMutableSequenceOperations.test_sliceAssignment
>
> Reason: 'Slices are not supported yet'
> Traceback (most recent call last):
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_sequence.py", line 228, in test_sliceAssignment
> seq[1:3] = [self.i1, self.i2]
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/sequence.py", line 67, in __setitem__
> index = self._fixIndex(index)
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/sequence.py", line 52, in _fixIndex
> assert not isinstance(index, slice), 'slices are not supported (yet)'
> exceptions.AssertionError: slices are not supported (yet)
> ===============================================================================
> [TODO]: axiom.test.test_sequence.TestMutableSequenceOperations.test_sliceAssignmentStep
>
> Reason: 'Slices are not supported yet'
> Traceback (most recent call last):
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_sequence.py", line 262, in test_sliceAssignmentStep
> seq[1:5:2] = [self.i7, self.i7]
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/sequence.py", line 67, in __setitem__
> index = self._fixIndex(index)
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/sequence.py", line 52, in _fixIndex
> assert not isinstance(index, slice), 'slices are not supported (yet)'
> exceptions.AssertionError: slices are not supported (yet)
> ===============================================================================
> [TODO]: axiom.test.test_sequence.TestSequenceOfItems.test_appendSliceSyntax
>
> Reason: 'Slices are not supported yet'
> Traceback (most recent call last):
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_sequence.py", line 68, in test_appendSliceSyntax
> seq[len(seq):len(seq)] = [self.i0]
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/sequence.py", line 67, in __setitem__
> index = self._fixIndex(index)
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/sequence.py", line 52, in _fixIndex
> assert not isinstance(index, slice), 'slices are not supported (yet)'
> exceptions.AssertionError: slices are not supported (yet)
> ===============================================================================
> [TODO]: axiom.test.test_sequence.TestSequenceOperations.test_slice_with_step
>
> Reason: 'Slices are not supported yet'
> Traceback (most recent call last):
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_sequence.py", line 180, in test_slice_with_step
> self.assertEquals(seq[0:4:2], [self.i0, self.i2])
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/sequence.py", line 63, in __getitem__
> index = self._fixIndex(index)
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/sequence.py", line 52, in _fixIndex
> assert not isinstance(index, slice), 'slices are not supported (yet)'
> exceptions.AssertionError: slices are not supported (yet)
> ===============================================================================
> [TODO]: axiom.test.test_sequence.TestSequenceOperations.test_slices
>
> Reason: 'Slices are not supported yet'
> Traceback (most recent call last):
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_sequence.py", line 168, in test_slices
> self.assertEquals(seq[0:2], [self.i0, self.i1])
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/sequence.py", line 63, in __getitem__
> index = self._fixIndex(index)
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/sequence.py", line 52, in _fixIndex
> assert not isinstance(index, slice), 'slices are not supported (yet)'
> exceptions.AssertionError: slices are not supported (yet)
> ===============================================================================
> [ERROR]: axiom.test.test_paginate.CrossTransactionIteration.test_moreItemsNotMoreWork
>
> Traceback (most recent call last):
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_paginate.py", line 50, in test_moreItemsNotMoreWork
> self._checkEfficiency(s.query(SingleColumnSortHelper))
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_paginate.py", line 78, in _checkEfficiency
> qc = QueryCounter(s)
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/util.py", line 104, in __init__
> sph(self.progressHandler)
> exceptions.TypeError: set_progress_handler() takes exactly 2 arguments (1 given)
> ===============================================================================
> [ERROR]: axiom.test.test_paginate.CrossTransactionIteration.test_moreItemsNotMoreWorkRestricted
>
> Traceback (most recent call last):
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_paginate.py", line 66, in test_moreItemsNotMoreWorkRestricted
> sort=SingleColumnSortHelper.mainColumn.ascending))
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_paginate.py", line 78, in _checkEfficiency
> qc = QueryCounter(s)
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/util.py", line 104, in __init__
> sph(self.progressHandler)
> exceptions.TypeError: set_progress_handler() takes exactly 2 arguments (1 given)
> ===============================================================================
> [ERROR]: axiom.test.test_paginate.CrossTransactionIteration.test_moreItemsNotMoreWorkSorted
>
> Traceback (most recent call last):
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_paginate.py", line 59, in test_moreItemsNotMoreWorkSorted
> sort=SingleColumnSortHelper.mainColumn.ascending))
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_paginate.py", line 78, in _checkEfficiency
> qc = QueryCounter(s)
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/util.py", line 104, in __init__
> sph(self.progressHandler)
> exceptions.TypeError: set_progress_handler() takes exactly 2 arguments (1 given)
> ===============================================================================
> [ERROR]: axiom.test.test_query.QueryComplexity.test_firstTableOuterLoop
>
> Traceback (most recent call last):
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_query.py", line 1037, in setUp
> self.setProgressHandler(self.counter.increment)
> exceptions.TypeError: set_progress_handler() takes exactly 2 arguments (1 given)
> ===============================================================================
> [ERROR]: axiom.test.test_query.QueryComplexity.test_secondTableInnerLoop
>
> Traceback (most recent call last):
> File "/build/user/python-axiom-0.5.26/build/lib/axiom/test/test_query.py", line 1037, in setUp
> self.setProgressHandler(self.counter.increment)
> exceptions.TypeError: set_progress_handler() takes exactly 2 arguments (1 given)
> -------------------------------------------------------------------------------
> Ran 422 tests in 22.188s
>
> FAILED (skips=5, expectedFailures=10, errors=5, successes=402)
> make: *** [install/python-axiom] Error 1
> dpkg-buildpackage: failure: /usr/bin/fakeroot debian/rules binary gave error exit status 2
The full build log is available from:
http://people.debian.org/~lucas/logs/2007/12/17
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment. Internet was not accessible from the build systems.
--
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the Python-modules-team
mailing list