Actually, this failure might have nothing to do with unaligned access:
| $ python2.6 ./tests/runTestRunner.py -v 99 | testCheckMethods (basicTests.todoBasicTest) ... ok | testItemsReturnsListofTuples (basicTests.todoBasicTest) ... ok | testKeysReturnsList (basicTests.todoBasicTest) ... ok | testSaving (basicTests.todoBasicTest) ... ok | testSearching (basicTests.todoBasicTest) ... ok | testSetCategory (basicTests.todoBasicTest) ... python2.6(19216): unaligned access to 0x60000000008dcdbc, ip=0x2000000006877f80 | python2.6(19216): unaligned access to 0x60000000008dcdbc, ip=0x20000000068779b1 | python2.6(19216): unaligned access to 0x6000000000a2b09c, ip=0x20000000068779b1 | python2.6(19216): unaligned access to 0x60000000008dcdbc, ip=0x2000000006877f80 | python2.6(19216): unaligned access to 0x60000000008dcdbc, ip=0x20000000068779b1 | ok | testSizelimit (basicTests.todoBasicTest) ... ok | testUpdating (basicTests.todoBasicTest) ... ok | testValuesReturnsList (basicTests.todoBasicTest) ... ok | testValuesReturnsValue (basicTests.todoBasicTest) ... ok | testCheckMethods (basicTests.memoBasicTest) ... ok | testItemsReturnsListofTuples (basicTests.memoBasicTest) ... ok | testKeysReturnsList (basicTests.memoBasicTest) ... ok | testSaving (basicTests.memoBasicTest) ... ok | testSearching (basicTests.memoBasicTest) ... ok | testSetCategory (basicTests.memoBasicTest) ... ok | testSizelimit (basicTests.memoBasicTest) ... ok | testUpdating (basicTests.memoBasicTest) ... ok | testValuesReturnsList (basicTests.memoBasicTest) ... ok | testValuesReturnsValue (basicTests.memoBasicTest) ... ok | testCheckMethods (basicTests.contactBasicTest) ... ok | testItemsReturnsListofTuples (basicTests.contactBasicTest) ... ok | testKeysReturnsList (basicTests.contactBasicTest) ... ok | testSaving (basicTests.contactBasicTest) ... ok | testSearching (basicTests.contactBasicTest) ... ok | testSetCategory (basicTests.contactBasicTest) ... ok | testSizelimit (basicTests.contactBasicTest) ... ok | testUpdating (basicTests.contactBasicTest) ... ok | testValuesReturnsList (basicTests.contactBasicTest) ... ok | testValuesReturnsValue (basicTests.contactBasicTest) ... ok | testImports (dependencyTests.dependencyTest) ... /usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display | warnings.warn(str(e), _gtk.Warning) | ok | testLabels (contactTests.contactTest) ... ok | testPictures (contactTests.contactTest) ... Segmentation faultIt turns out that tests fail with Python 2.5, too, but in a different way:
| $ python2.5 ./tests/runTestRunner.py -v 99 | testCheckMethods (basicTests.todoBasicTest) ... ok | testItemsReturnsListofTuples (basicTests.todoBasicTest) ... ok | testKeysReturnsList (basicTests.todoBasicTest) ... ok | testSaving (basicTests.todoBasicTest) ... ERROR | testSearching (basicTests.todoBasicTest) ... ERROR | testSetCategory (basicTests.todoBasicTest) ... ERROR | testSizelimit (basicTests.todoBasicTest) ... ERROR | testUpdating (basicTests.todoBasicTest) ... ERROR | testValuesReturnsList (basicTests.todoBasicTest) ... ok | testValuesReturnsValue (basicTests.todoBasicTest) ... ERROR | testCheckMethods (basicTests.memoBasicTest) ... ok | testItemsReturnsListofTuples (basicTests.memoBasicTest) ... ok | testKeysReturnsList (basicTests.memoBasicTest) ... ok | testSaving (basicTests.memoBasicTest) ... ERROR | testSearching (basicTests.memoBasicTest) ... ERROR | testSetCategory (basicTests.memoBasicTest) ... ERROR | testSizelimit (basicTests.memoBasicTest) ... ERROR | testUpdating (basicTests.memoBasicTest) ... ERROR | testValuesReturnsList (basicTests.memoBasicTest) ... ok | testValuesReturnsValue (basicTests.memoBasicTest) ... ERROR | testCheckMethods (basicTests.contactBasicTest) ... ok | testItemsReturnsListofTuples (basicTests.contactBasicTest) ... ok | testKeysReturnsList (basicTests.contactBasicTest) ... ok | testSaving (basicTests.contactBasicTest) ... ERROR | testSearching (basicTests.contactBasicTest) ... ERROR | testSetCategory (basicTests.contactBasicTest) ... ERROR | testSizelimit (basicTests.contactBasicTest) ... ERROR | testUpdating (basicTests.contactBasicTest) ... ERROR | testValuesReturnsList (basicTests.contactBasicTest) ... ok | testValuesReturnsValue (basicTests.contactBasicTest) ... ERROR | testImports (dependencyTests.dependencyTest) ... /usr/lib/pymodules/python2.5/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display | warnings.warn(str(e), _gtk.Warning) | ok | testLabels (contactTests.contactTest) ... ERROR | testPictures (contactTests.contactTest) ... ERROR | testVCard (contactTests.contactTest) ... ERROR | testExtra (eventTests.eventTest) ... ERROR | testGetValues (eventTests.eventTest) ... ERROR | testToday (eventTests.eventTest) ... ERROR | testWeek (eventTests.eventTest) ... ERROR | testSetTodoValues (todoTests.todoTest) ... ERROR | testTodoLengthBounds (todoTests.todoTest) ... ERROR | testTodoValueBounds (todoTests.todoTest) ... ERROR | runTest (printerTests.contactPrinterTest) ... ERROR | runTest (printerTests.todosPrinterTest) ... ERROR | testListAvailablePlugins (pluginTests.todoPluginsTest) ... ok | testListFieldsByPlugins (pluginTests.todoPluginsTest) ... ok | testUrgencyByPlugins (pluginTests.todoPluginsTest) ... ERROR | testPreSync (conduitTests.conduitTest) ... Sat, 20 Mar 2010 17:19:26 INFO Example conduit could do pre-sync data collection now. | ok | | ====================================================================== | ERROR: testSaving (basicTests.todoBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 56, in testSaving | record[record.keys()[0]] = "My record" | TypeError: key must be a String | | ====================================================================== | ERROR: testSearching (basicTests.todoBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 64, in testSearching | record[record.keys()[0]] = "12345" | TypeError: key must be a String | | ====================================================================== | ERROR: testSetCategory (basicTests.todoBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 22, in testSetCategory | assert len(self.book.records()) == 0 | File "./jppy/api.py", line 141, in records | self._metadata = self._appInfoFunction(self._database) | TypeError: in method 'w_read_ToDoAppInfo', argument 1 of type 'char *' | | ====================================================================== | ERROR: testSizelimit (basicTests.todoBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 83, in testSizelimit | record[record.keys()[0]] = "1" * 65000 | TypeError: key must be a String | | ====================================================================== | ERROR: testUpdating (basicTests.todoBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 73, in testUpdating | record[record.keys()[0]] = "12345" | TypeError: key must be a String | | ====================================================================== | ERROR: testValuesReturnsValue (basicTests.todoBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 50, in testValuesReturnsValue | record[record.keys()[0]] = "My record" | TypeError: key must be a String | | ====================================================================== | ERROR: testSaving (basicTests.memoBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 56, in testSaving | record[record.keys()[0]] = "My record" | TypeError: key must be a String | | ====================================================================== | ERROR: testSearching (basicTests.memoBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 64, in testSearching | record[record.keys()[0]] = "12345" | TypeError: key must be a String | | ====================================================================== | ERROR: testSetCategory (basicTests.memoBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 22, in testSetCategory | assert len(self.book.records()) == 0 | File "./jppy/api.py", line 141, in records | self._metadata = self._appInfoFunction(self._database) | TypeError: in method 'w_read_MemoAppInfo', argument 1 of type 'char *' | | ====================================================================== | ERROR: testSizelimit (basicTests.memoBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 83, in testSizelimit | record[record.keys()[0]] = "1" * 65000 | TypeError: key must be a String | | ====================================================================== | ERROR: testUpdating (basicTests.memoBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 73, in testUpdating | record[record.keys()[0]] = "12345" | TypeError: key must be a String | | ====================================================================== | ERROR: testValuesReturnsValue (basicTests.memoBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 50, in testValuesReturnsValue | record[record.keys()[0]] = "My record" | TypeError: key must be a String | | ====================================================================== | ERROR: testSaving (basicTests.contactBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 56, in testSaving | record[record.keys()[0]] = "My record" | TypeError: key must be a String | | ====================================================================== | ERROR: testSearching (basicTests.contactBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 64, in testSearching | record[record.keys()[0]] = "12345" | TypeError: key must be a String | | ====================================================================== | ERROR: testSetCategory (basicTests.contactBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 22, in testSetCategory | assert len(self.book.records()) == 0 | File "./jppy/api.py", line 141, in records | self._metadata = self._appInfoFunction(self._database) | TypeError: in method 'w_read_ContactAppInfo', argument 1 of type 'char *' | | ====================================================================== | ERROR: testSizelimit (basicTests.contactBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 83, in testSizelimit | record[record.keys()[0]] = "1" * 65000 | TypeError: key must be a String | | ====================================================================== | ERROR: testUpdating (basicTests.contactBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 73, in testUpdating | record[record.keys()[0]] = "12345" | TypeError: key must be a String | | ====================================================================== | ERROR: testValuesReturnsValue (basicTests.contactBasicTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/basicTests.py", line 50, in testValuesReturnsValue | record[record.keys()[0]] = "My record" | TypeError: key must be a String | | ====================================================================== | ERROR: testLabels (contactTests.contactTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/contactTests.py", line 15, in testLabels | assert type(self.book.getCategories()) == types.ListType | File "./jppy/api.py", line 154, in getCategories | self._metadata = self._appInfoFunction(self._database) | TypeError: in method 'w_read_ContactAppInfo', argument 1 of type 'char *' | | ====================================================================== | ERROR: testPictures (contactTests.contactTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/contactTests.py", line 27, in testPictures | c['firstname'] = "Jack" | TypeError: key must be a String | | ====================================================================== | ERROR: testVCard (contactTests.contactTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/contactTests.py", line 21, in testVCard | self.t["address1"] = "Flat 4\nSomewhere Street\nMore Street" | TypeError: key must be a String | | ====================================================================== | ERROR: testExtra (eventTests.eventTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/eventTests.py", line 39, in testExtra | for bbb in self.calendar.records(search="last tu")[0:10]: | File "./jppy/api.py", line 141, in records | self._metadata = self._appInfoFunction(self._database) | TypeError: in method 'w_read_DatebookAppInfo', argument 1 of type 'char *' | | ====================================================================== | ERROR: testGetValues (eventTests.eventTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/eventTests.py", line 14, in testGetValues | hits = self.calendar.records()[0:10] | File "./jppy/api.py", line 141, in records | self._metadata = self._appInfoFunction(self._database) | TypeError: in method 'w_read_DatebookAppInfo', argument 1 of type 'char *' | | ====================================================================== | ERROR: testToday (eventTests.eventTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/eventTests.py", line 25, in testToday | for time, event in self.calendar.eventsToday(): | File "./jppy/api.py", line 244, in eventsToday | return self.eventsOnDay(datetime.datetime.now()) | File "./jppy/api.py", line 252, in eventsOnDay | return self.eventsFromDate(day,days=1) | File "./jppy/api.py", line 226, in eventsFromDate | for e in self: | File "./jppy/api.py", line 117, in __iter__ | return iter(self.records()) | File "./jppy/api.py", line 141, in records | self._metadata = self._appInfoFunction(self._database) | TypeError: in method 'w_read_DatebookAppInfo', argument 1 of type 'char *' | | ====================================================================== | ERROR: testWeek (eventTests.eventTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/eventTests.py", line 32, in testWeek | for time, event in self.calendar.eventsThisWeek(): | File "./jppy/api.py", line 249, in eventsThisWeek | return self.eventsFromDate(startOfWeek, days=7) | File "./jppy/api.py", line 226, in eventsFromDate | for e in self: | File "./jppy/api.py", line 117, in __iter__ | return iter(self.records()) | File "./jppy/api.py", line 141, in records | self._metadata = self._appInfoFunction(self._database) | TypeError: in method 'w_read_DatebookAppInfo', argument 1 of type 'char *' | | ====================================================================== | ERROR: testSetTodoValues (todoTests.todoTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/todoTests.py", line 20, in testSetTodoValues | self.t[key] = "String" | TypeError: key must be a String | | ====================================================================== | ERROR: testTodoLengthBounds (todoTests.todoTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/todoTests.py", line 39, in testTodoLengthBounds | self.assertRaises(ValueError, setDescription, self.t, "X" * 257) | File "/usr/lib/python2.5/unittest.py", line 320, in failUnlessRaises | callableObj(*args, **kwargs) | File "/home/jwilk/jppy-0.0.55/tests/todoTests.py", line 38, in setDescription | t['description'] = v | TypeError: key must be a String | | ====================================================================== | ERROR: testTodoValueBounds (todoTests.todoTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/todoTests.py", line 29, in testTodoValueBounds | self.assertRaises(ValueError, setComplete, self.t, 2) | File "/usr/lib/python2.5/unittest.py", line 320, in failUnlessRaises | callableObj(*args, **kwargs) | File "/home/jwilk/jppy-0.0.55/tests/todoTests.py", line 26, in setComplete | t['complete'] = v | TypeError: key must be a String | | ====================================================================== | ERROR: runTest (printerTests.contactPrinterTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/printerTests.py", line 17, in runTest | contact['firstname'] = "Jack" | TypeError: key must be a String | | ====================================================================== | ERROR: runTest (printerTests.todosPrinterTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/printerTests.py", line 40, in runTest | t['description'] = "Todo item %d" % i | TypeError: key must be a String | | ====================================================================== | ERROR: testUrgencyByPlugins (pluginTests.todoPluginsTest) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/home/jwilk/jppy-0.0.55/tests/pluginTests.py", line 18, in testUrgencyByPlugins | todo['note'] = "12345" | TypeError: key must be a String | | ---------------------------------------------------------------------- | Ran 47 tests in 0.133s | | FAILED (errors=31) | Repeat dates | Today | This Week -- Jakub Wilk
signature.asc
Description: Digital signature