mik icon indicating copy to clipboard operation
mik copied to clipboard

OAI toolchain error: "No such file or directory"

Open bondjimbond opened this issue 5 years ago • 1 comments

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?

bondjimbond avatar Jun 25 '19 20:06 bondjimbond

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?

bondjimbond avatar Mar 06 '20 15:03 bondjimbond