mediamicroservices/mm

makemetatadata - warning: failed to load external entity

Closed this issue · 5 comments

Script appears to be working fine, so I'm wondering why it is giving this warning.

/Users/medialab
≈:≈ makemetadata /Volumes/06a_SD_Video_01/_COLLECTIONS/2012_79_Pearl_Bowser/AIPS/2012_79_2_269_1a__PM /Volumes/06a_SD_Video_01/_COLLECTIONS/2012_79_Pearl_Bowser/AIPS/2012_79_2_270_1a__PM
2016-07-07T12:45:32 - Making metadata reports for /Volumes/06a_SD_Video_01/_COLLECTIONS/2012_79_Pearl_Bowser/AIPS/2012_79_2_269_1a__PM.
[makemetadata] 2016-07-07T12:45:32 - Running: mkdir -p ./metadata/fileMeta/./objects
warning: failed to load external entity "/Volumes/06a_SD_Video_01/_COLLECTIONS/2012_79_Pearl_Bowser/AIPS/2012_79_2_269_1a__PM/metadata/fileMeta/.DS_Store_mediainfo.xml"
warning: failed to load external entity "/Volumes/06a_SD_Video_01/_COLLECTIONS/2012_79_Pearl_Bowser/AIPS/2012_79_2_269_1a__PM/metadata/fileMeta/metadata/fileMeta/objects/2012_79_2_269_1a__PM.mov_exiftool.xml_mediainfo.xml"
warning: failed to load external entity "/Volumes/06a_SD_Video_01/_COLLECTIONS/2012_79_Pearl_Bowser/AIPS/2012_79_2_269_1a__PM/metadata/fileMeta/metadata/fileMeta/objects/2012_79_2_269_1a__PM.mov_ffprobe.xml_mediainfo.xml"
warning: failed to load external entity "/Volumes/06a_SD_Video_01/_COLLECTIONS/2012_79_Pearl_Bowser/AIPS/2012_79_2_269_1a__PM/metadata/fileMeta/metadata/fileMeta/objects/2012_79_2_269_1a__PM.mov_mediainfo.xml_mediainfo.xml"
warning: failed to load external entity "/Volumes/06a_SD_Video_01/_COLLECTIONS/2012_79_Pearl_Bowser/AIPS/2012_79_2_269_1a__PM/metadata/fileMeta/metadata/fileMeta/objects/2012_79_2_269_1a__PM.mov_mediatrace.xml_mediainfo.xml"
[makemetadata] 2016-07-07T12:45:34 - Running: rm -r -f /tmp/makemetadata.DZbrYZ
2016-07-07T12:45:34 - Making metadata reports for /Volumes/06a_SD_Video_01/_COLLECTIONS/2012_79_Pearl_Bowser/AIPS/2012_79_2_270_1a__PM.
[makemetadata] 2016-07-07T12:45:34 - Running: mkdir -p ./metadata/fileMeta/./objects
warning: failed to load external entity "/Volumes/06a_SD_Video_01/_COLLECTIONS/2012_79_Pearl_Bowser/AIPS/2012_79_2_270_1a__PM/metadata/fileMeta/.DS_Store_mediainfo.xml"
warning: failed to load external entity "/Volumes/06a_SD_Video_01/_COLLECTIONS/2012_79_Pearl_Bowser/AIPS/2012_79_2_270_1a__PM/metadata/fileMeta/metadata/fileMeta/objects/2012_79_2_270_1a__PM.mov_exiftool.xml_mediainfo.xml"
warning: failed to load external entity "/Volumes/06a_SD_Video_01/_COLLECTIONS/2012_79_Pearl_Bowser/AIPS/2012_79_2_270_1a__PM/metadata/fileMeta/metadata/fileMeta/objects/2012_79_2_270_1a__PM.mov_ffprobe.xml_mediainfo.xml"
warning: failed to load external entity "/Volumes/06a_SD_Video_01/_COLLECTIONS/2012_79_Pearl_Bowser/AIPS/2012_79_2_270_1a__PM/metadata/fileMeta/metadata/fileMeta/objects/2012_79_2_270_1a__PM.mov_mediainfo.xml_mediainfo.xml"
warning: failed to load external entity "/Volumes/06a_SD_Video_01/_COLLECTIONS/2012_79_Pearl_Bowser/AIPS/2012_79_2_270_1a__PM/metadata/fileMeta/metadata/fileMeta/objects/2012_79_2_270_1a__PM.mov_mediatrace.xml_mediainfo.xml"
[makemetadata] 2016-07-07T12:45:35 - Running: rm -r -f /tmp/makemetadata.YZKOL4

only because I'm lazy. The process to wrap metadata in METS looks for metadata for all the files, but obviously some files should have a metadata file (or there would be a loop), so there's an error when it looks for anticipated metadata. I should adjust it.

ok. is that why the METS file is separated from the other object metadata files -

screen shot 2016-07-07 at 1 00 25 pm

don't metadata that metadata

fixed in #80