DPN-Object-ID and First-Version-Object-ID not generated
Closed this issue · 1 comments
whikloj commented
When looking at #223 I wanted to try with the DPN BagIt profile, but when I generate a bag it never validates because it is not auto-generating the above mentioned fields.
These fields are not accessible in the form, so you (seemingly) can't use this profile unless you then un-tar the bag. Fix the dpn-tags/dpn-info.txt
and then re-tar the bag manually.
Log report
2020-02-27T17:17:06.268Z - info: package/start - Starting to build DPM Example
2020-02-27T17:17:06.278Z - info: package/fileAdded - data/BHSLP 2019 Dec.docx
2020-02-27T17:17:06.335Z - info: package/fileAdded - bag-info.txt
2020-02-27T17:17:06.336Z - info: package/fileAdded - bagit.txt
2020-02-27T17:17:06.337Z - info: package/fileAdded - dpn-tags/dpn-info.txt
2020-02-27T17:17:06.390Z - info: package/fileAdded - manifest-sha256.txt
2020-02-27T17:17:06.444Z - info: package/fileAdded - tagmanifest-sha256.txt
2020-02-27T17:17:06.499Z - info: package/completed - Bag created
2020-02-27T17:17:06.515Z - info: validate/start - /Users/whikloj/.dart/bags/DPM Example.tar
2020-02-27T17:17:06.524Z - info: validate/add - DPM Example/data/BHSLP 2019 Dec.docx
2020-02-27T17:17:06.524Z - info: validate/checksum - data/BHSLP 2019 Dec.docx
2020-02-27T17:17:06.525Z - info: validate/add - DPM Example/bag-info.txt
2020-02-27T17:17:06.525Z - info: validate/checksum - bag-info.txt
2020-02-27T17:17:06.526Z - info: validate/add - DPM Example/bagit.txt
2020-02-27T17:17:06.526Z - info: validate/checksum - bagit.txt
2020-02-27T17:17:06.527Z - info: validate/add - DPM Example/dpn-tags/dpn-info.txt
2020-02-27T17:17:06.527Z - info: validate/checksum - dpn-tags/dpn-info.txt
2020-02-27T17:17:06.528Z - info: validate/add - DPM Example/manifest-sha256.txt
2020-02-27T17:17:06.528Z - info: validate/checksum - manifest-sha256.txt
2020-02-27T17:17:06.529Z - info: validate/add - DPM Example/tagmanifest-sha256.txt
2020-02-27T17:17:06.529Z - info: validate/checksum - tagmanifest-sha256.txt
2020-02-27T17:17:06.530Z - info: validate/read - /Users/whikloj/.dart/bags/DPM Example.tar
2020-02-27T17:17:06.581Z - info: Validator: No Payload-Oxum in /Users/whikloj/.dart/bags/DPM Example.tar
2020-02-27T17:17:06.599Z - info: Process 5801 exited with code 1, signal null
2020-02-27T17:17:06.601Z - error: Job did not complete due to errors.
2020-02-27T17:17:06.601Z - error: {"packageName":"DPM Example","outputPath":"/Users/whikloj/.dart/bags/DPM Example.tar","packageFormat":"BagIt","bagItSerialization":".tar","pluginId":"BagIt","sourceFiles":["/Users/whikloj/Desktop/BHSLP 2019 Dec.docx"],"result":{"operation":"bagging","provider":"DART bagger","filepath":"/Users/whikloj/.dart/bags/DPM Example.tar","filesize":26624,"fileMtime":null,"remoteChecksum":null,"attempt":1,"started":"2020-02-27T17:17:06.268Z","completed":"2020-02-27T17:17:06.497Z","remoteURL":null,"info":null,"warning":null,"errors":[]},"payloadSize":0,"skipFiles":[],"_trimLeadingPaths":true,"errors":{}}
2020-02-27T17:17:06.601Z - error: {"pathToBag":"/Users/whikloj/.dart/bags/DPM Example.tar","result":{"operation":"validation","provider":"DART BagIt validator","filepath":"/Users/whikloj/.dart/bags/DPM Example.tar","filesize":26624,"fileMtime":"2020-02-27T17:17:06.444Z","remoteChecksum":null,"attempt":1,"started":"2020-02-27T17:17:06.514Z","completed":"2020-02-27T17:17:06.582Z","remoteURL":null,"info":null,"warning":null,"errors":["Value for tag 'Bag-Size' in bag-info.txt is missing.","Value for tag 'DPN-Object-ID' in dpn-tags/dpn-info.txt is missing.","Value for tag 'First-Version-Object-ID' in dpn-tags/dpn-info.txt is missing."]},"errors":{}}