Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAI toolchain error: "No such file or directory" #503

Open
bondjimbond opened this issue Jun 25, 2019 · 1 comment
Open

OAI toolchain error: "No such file or directory" #503

bondjimbond opened this issue Jun 25, 2019 · 1 comment

Comments

@bondjimbond
Copy link
Collaborator

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
Copy link
Collaborator Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant