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

"Build file compiles only de version..." #47

Closed
rdmueller opened this issue Apr 6, 2015 · 4 comments
Closed

"Build file compiles only de version..." #47

rdmueller opened this issue Apr 6, 2015 · 4 comments
Assignees

Comments

@rdmueller
Copy link
Member

It seems that the build does not work on a *nix OS

@rdmueller rdmueller added the bug label Apr 6, 2015
@rdmueller rdmueller self-assigned this Apr 6, 2015
@rdmueller
Copy link
Member Author

test@ubuntu:~/arc42-template$ ./gradlew arc42 --stacktrace
:/build/src_gen/EN/asciidoc/with-help/:convert2Docx
pandoc: Prelude.maximum: empty list
:/build/src_gen/EN/asciidoc/with-help/:convert2Docx FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':/build/src_gen/EN/asciidoc/with-help/:convert2Docx'.

    Process 'command 'pandoc'' finished with non-zero exit value 1

  • Try:
    Run with --info or --debug option to get more log output.

  • Exception is:
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':/build/src_gen/EN/asciidoc/with-help/:convert2Docx'.

@rdmueller
Copy link
Member Author

one problem was that - because of a missing dependency - the asciidoc files where not copied before another task tried to create the docx version. While testing, the tasks where always executed in the right order just by chance.

this problem is now fixed, but it seems that it was only part of the problem

@rdmueller rdmueller reopened this Apr 6, 2015
@rdmueller
Copy link
Member Author

it seems that the docbook/with-help version causes problems while executing pandoc on *nix.
The file is exactly the same on windows and on *nix, but pandoc will not convert it on my ubuntu instance.
pandoc version on windows: 1.12.4.2
pandoc version on ubuntu: 1.12.2.1

will now try to update my ubuntu version

@rdmueller
Copy link
Member Author

works with a newer pandoc version, so it's not a problem of the build and can be solved by updating pandoc

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

2 participants