From: SourceForge.net <no...@so...> - 2011-06-09 15:50:54
|
Bugs item #3314293, was opened at 2011-06-09 15:50 Message generated for change (Tracker Item Submitted) made by stefanorivera You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=456910&aid=3314293&group_id=49630 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Stefano Rivera (stefanorivera) Assigned to: Nobody/Anonymous (nobody) Summary: Tests fail under Python 2.7 Initial Comment: Noticed this due to an Ubuntu build failure: https://launchpadlibrarian.net/70811701/buildlog_ubuntu-oneiric-i386.archivemail_0.8.2-1_FAILEDTOBUILD.txt.gz Fails with current GIT head too $ git log -1 commit 39e6a532d0654440679fb5980352615a004f090c ... $ ./test_archivemail ....................................................EE.E...E................................... ====================================================================== ERROR: testMixed (__main__.TestMaildir) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_archivemail", line 1432, in testMixed self.verify() File "./test_archivemail", line 1275, in verify self._verify_archive() File "./test_archivemail", line 1337, in _verify_archive for msg in mb: File "/usr/lib/python2.7/mailbox.py", line 1998, in next self._search_start() File "/usr/lib/python2.7/mailbox.py", line 2019, in _search_start self.fp.seek(pos) File "./test_archivemail", line 95, in seek gzip.GzipFile.seek(self, offset) File "/usr/lib/python2.7/gzip.py", line 423, in seek count = offset - self.offset TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' ====================================================================== ERROR: testMixedExisting (__main__.TestMaildir) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_archivemail", line 1437, in testMixedExisting self.verify() File "./test_archivemail", line 1275, in verify self._verify_archive() File "./test_archivemail", line 1337, in _verify_archive for msg in mb: File "/usr/lib/python2.7/mailbox.py", line 1998, in next self._search_start() File "/usr/lib/python2.7/mailbox.py", line 2019, in _search_start self.fp.seek(pos) File "./test_archivemail", line 95, in seek gzip.GzipFile.seek(self, offset) File "/usr/lib/python2.7/gzip.py", line 423, in seek count = offset - self.offset TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' ====================================================================== ERROR: testOld (__main__.TestMaildir) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_archivemail", line 1422, in testOld self.verify() File "./test_archivemail", line 1275, in verify self._verify_archive() File "./test_archivemail", line 1337, in _verify_archive for msg in mb: File "/usr/lib/python2.7/mailbox.py", line 1998, in next self._search_start() File "/usr/lib/python2.7/mailbox.py", line 2019, in _search_start self.fp.seek(pos) File "./test_archivemail", line 95, in seek gzip.GzipFile.seek(self, offset) File "/usr/lib/python2.7/gzip.py", line 423, in seek count = offset - self.offset TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' ====================================================================== ERROR: testOld (__main__.TestMaildirCopy) archiving an old maildir mailbox with the 'copy' option ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_archivemail", line 1549, in testOld self.verify() File "./test_archivemail", line 1275, in verify self._verify_archive() File "./test_archivemail", line 1337, in _verify_archive for msg in mb: File "/usr/lib/python2.7/mailbox.py", line 1998, in next self._search_start() File "/usr/lib/python2.7/mailbox.py", line 2019, in _search_start self.fp.seek(pos) File "./test_archivemail", line 95, in seek gzip.GzipFile.seek(self, offset) File "/usr/lib/python2.7/gzip.py", line 423, in seek count = offset - self.offset TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' ---------------------------------------------------------------------- Ran 95 tests in 2.165s FAILED (errors=4) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=456910&aid=3314293&group_id=49630 |