XC0012: XProc does not get access to directory on Mac
Posted: Tue Sep 19, 2023 6:35 pm
Hello,
I am new to XProc, and hope therefore that this is something elementary, which can be solved in two clicks.
I have added to my pipeline, which worked well, read and wrote files in its directory, a p:directory-list step.
(I have changed 'IN' to many different things including an empty string. It does not make a difference.)
Now it fails with the message:
I work on a Mac.
I have added OxygenXML as well as /opt/homebrew/calabash and also ruby to the "Full Disc Access" list.
What am I doing wrong?
Thank you in advance,
Alexey
I am new to XProc, and hope therefore that this is something elementary, which can be solved in two clicks.
I have added to my pipeline, which worked well, read and wrote files in its directory, a p:directory-list step.
Code: Select all
<p:directory-list path="'IN'"/>
Now it fails with the message:
Code: Select all
Engine name: Add-on for Calabash XProc Engine
Severity: error
Description: err:XC0012 : XC0012 It is a dynamic error if the contents of the directory path are not available to the step due to access restrictions in the environment in which the pipeline is run.
I have added OxygenXML as well as /opt/homebrew/calabash and also ruby to the "Full Disc Access" list.
What am I doing wrong?
Thank you in advance,
Alexey