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

p:log checks for a writable path too early? #234

ndw opened this issue Dec 30, 2015 · 0 comments

p:log checks for a writable path too early? #234

ndw opened this issue Dec 30, 2015 · 0 comments


Copy link

@ndw ndw commented Dec 30, 2015

Strasser writes on xproc-dev:

Using p:log for debugging my pipelines I remarked that the existence
of path is checked before everything else which disallow to create
subdirectory before the step that is logged is executed.
The attached example in Calabash 1.1.4 show in the first run:
Failed to create log: file: XXXXXX
Is this the correct behaviour?

<p:declare-step xmlns:p="" version="1.0"
    <p:output port="result" primary="true"/>
    <p:input port="source" primary="true">
    <p:import href=""/>

    <pxf:mkdir href="subdir" name='createdir'/>

    <p:identity cx:depends-on='createdir'>
        <p:input port="source">
            <p:pipe step="pipeline" port="source" />
        <p:log port="result" href="subdir/file" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.