Brandon Weigel
Brandon Weigel
It should be allowed for the directory to contain file numbers not mentioned in the CSV, but it should be illegal for the CSV to contain child_key values that are...
I'll hopefully get to testing this tomorrow. Looks like a promising feature.
Ran the first leg of the test (ini file unchanged), and got problem records for every object. Retrieved XML but no jpeg.
~[2018-05-03 12:49:02] ErrorException.ERROR: ErrorException {"message":"Undefined index: datastream_ids","code":{"settings":{"CONFIG":{"config_id":"oai-test","last_updated_on":"2017-02-21","last_update_by":"bw"},"SYSTEM":{"date_default_timezone":"America/Vancouver","verify_ca":"0"},"FETCHER":{"class":"Oaipmh","oai_endpoint":"https://nwcc.arcabc.ca/oai2/","set_spec":"nwcc_freda2","metadata_prefix":"oai_dc","temp_directory":"/tmp/oaitest_temp"},"METADATA_PARSER":{"class":"dc\\OaiToDc"},"FILE_GETTER":{"class":"OaipmhIslandoraObj","temp_directory":"/tmp/oaitest_temp"},"WRITER":{"class":"Oaipmh","output_directory":"/tmp/oaitest_output","postwritehooks":["/usr/bin/php extras/scripts/postwritehooks/oai_dc_to_mods.php"]},"MANIPULATORS":{"fetchermanipulators":["OaiMissingFileSet"]},"LOGGING":{"path_to_log":"/tmp/oaitest_output/mik.log","path_to_manipulator_log":"/tmp/oaitest_output/manipulator.log"}}},"severity":8,"file":"/Users/Brandon/mik/src/filegetters/OaipmhIslandoraObj.php","line":41} [] [2018-05-03 12:49:02] ErrorException.ERROR: ErrorException {"message":"problem instantiating fileGetterClass","details":"[object] (mik\\exceptions\\MikErrorException(code: 0): at /Users/Brandon/mik/mik:105)"} [] [2018-05-03 12:49:06] ErrorException.ERROR: ErrorException {"message":"Undefined variable: filtered_file_list","code":{"file_list":["/tmp/oaitest_output/mik.log"],"filetered_file_list":[],"pattern":"/tmp/oaitest_output/*","file_path":"/tmp/oaitest_output/mik.log"},"severity":8,"file":"/Users/Brandon/mik/src/fetchermanipulators/OaiMissingFileSet.php","line":131} [] [2018-05-03...
Sorry, I gave you the wrong log output! > [2018-05-03 20:04:22] ErrorException.ERROR: ErrorException {"message":"problem writing package","record_key":"oai%3Adigital.lib.sfu.ca%3Ahiv_1","details":"[object] (GuzzleHttp\\Exception\\RequestException(code: 0): No system CA bundle could be found in any of the the...
Set it to false, still problems. > [2018-05-03 20:30:40] ErrorException.ERROR: ErrorException {"message":"problem writing package","record_key":"oai%3Adigital.lib.sfu.ca%3Ahiv_1","details":"[object] (GuzzleHttp\\Exception\\RequestException(code: 0): No system CA bundle could be found in any of the the common system...
Another error -- I tried using the regular CSV Single File toolchain with this branch (by accident), got the following: > Fatal error: An iterator cannot be used with foreach...
@mjordan No, it's still the case for OAI toolchain. (Just ran it again to confirm.) Just an additional problem with this branch.
Note that on a Mac at least, it actually is easy enough to remove all these files with a command: `find /path/to/tree -name 'Thumbs.db' -delete` But this requires that you...
MIK does already appear to skip .DS_Store automatically; I've always had those in my packages without problems.