exit code 2; error indicates zip file can't be opened; checksum of bagged data OK.
I'd like to get a better understanding of what is happening.
I opened a ticket with the python bagit people, and they asked I contact this group. (https://github.com/edsu/bagit/issues/9)
Our archivematica ticket is open here (http://code.google.com/p/archivematica/issues/detail?id=485)
That has the log file attached to it here (http://code.google.com/p/archivematica/issues/attachmentText?id=485&aid=-8764417814086118828&name=bag-20110324-08%3A17%3A20.log&token=f2d59f2865ab9dc636d5dfa20225d8db)
We've seen this error consistently (with a specific set of files) on at least two machines. The error does occur consistently with these files, however they total over 3GB in size.
Also of note: one machine was ubuntu lucid (10.04), one was ubuntu maverick (10.10).
Versions of bagit: BagIt Library (BIL) Version 3.9, and a previous one 3.4 I think.
I realize it's been over a year since you first posted. If you're still having this issue, please reply. I'd like to help you figure out the cause of the error.