On 11/30/2014 07:07 PM, Nikolaus Rath wrote: > On 11/30/2014 01:07 AM, Shannon Dealy wrote: >> >> Attached is the object_list.txt file from running fsck using your patch. >> >> Seems a little peculiar that the exception occurs at the 100000 object >> mark, though it may simply be chance and mean nothing: >> >> "..processed 100000 objects so far.." > > That does not make sense to me. The file that you attached has only > 99540 lines. > > As far as I can tell, there is no way for the above message to be > emitted before 100000 lines have been written to the file. > > Could you post the complete output of fsck.s3ql again, just to be sure?
If it really is failing with this message, please try the attached patch, run fsck.s3ql with "--debug-modules s3ql.fsck" and attach ~/.s3ql/fsck.log* (depending on the bucket size, there may be several log files). Best, -Nikolaus -- GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F »Time flies like an arrow, fruit flies like a Banana.«
diff --git a/src/s3ql/fsck.py b/src/s3ql/fsck.py --- a/src/s3ql/fsck.py +++ b/src/s3ql/fsck.py @@ -845,6 +845,7 @@ log.warning("Ignoring unexpected object %r", obj_name) continue + log.debug('i=%d, obj_name=%s, obj_id=%d', i, obj_name, obj_id) self.conn.execute('INSERT INTO obj_ids VALUES(?)', (obj_id,)) for (obj_id,) in self.conn.query('SELECT id FROM obj_ids '