mik
mik copied to clipboard
OAI toolchain error: "No such file or directory"
I'm getting errors in the OAI toolchain as MIK wants to put them into folders that don't yet exist.
[2019-06-25 20:30:29] ErrorException.ERROR: ErrorException {"message":"file_put_contents(/Volumes/Arca/tmp/oaitest_output/oai_mruir.mtroyal.ca_11205/434.xml): failed to open stream: No such file or directory"
Are we missing a mkdir
command or something?
I think the real problem here is that MIK is not escaping the special character found in the recodr identifier. The ID in this case is "oai_mruir.mtroyal.ca_11205/434" -- which is really terrible. Maybe we can escape the IDs when creating files?