Hi there,
I have a library of templates that I want to generate documentation for. When I run the following command:
java -jar lutra.jar -m docttrLibrary -o output/docttr.html -L stottr -l broken_library --fetchMissing
On the library attached (made minimal for this example), lutra throws a FATAL error that reads:
Command didn't succeed: '[/bin/sh, -c, dot -Kcirco -Tsvg /var/folders/b1/vvzb33b52rd2zv3lgdn63jb80000gn/T/GraphvizJava/DotEngine10349423799543168374/dotfile.dot -ooutfile.svg]
If I remove some of the templates (it does not seem to matter which ones), then the command succeeds.
Thank you for your help and let me know if you need more information.
Kind Regards, Caitlin
Fix redirects.
Martin G. Skjæveland (2c355171) at 15 May 13:42
Merge branch 'staging' into 'master'
... and 3 more commits
Fix redirects.
Martin G. Skjæveland (7c6078d8) at 15 May 13:34
Merge remote-tracking branch 'origin/staging' into staging
... and 1 more commit
Martin G. Skjæveland (d9d57e5d) at 11 Apr 11:28
Update .gitlab-ci.yml
Martin G. Skjæveland (aa250634) at 11 Apr 11:17
Merge branch 'staging' into 'master'
... and 2 more commits
Martin G. Skjæveland (3dcd928b) at 11 Apr 11:07
Missing prefix declaration.
Martin G. Skjæveland (3489879d) at 11 Apr 10:53
Align default OTTR namespaces
Martin G. Skjæveland (e37eb21b) at 10 Apr 18:37
Merge branch 'staging' into 'master'
... and 1 more commit
The publishing setup of the template library requires --fetchMissing
, but it should be self-contained. The problem seems be be that the template library exists in both wottr and stottr, which are treated in a two step process. Is it possible to load all templates on different formats in one go? Since we are only formatting, it should not be necessary to fetchMissing, if is is/was possible to disable the check that require fetchMissing.
BTW, the problem of relying on fetchMissing is that some fecthed templates (ObjectUnionOf
) seem to sneak into the library to be published, as there are templates in the git repo that does not appear in the library.zip file.
Fixed by converting all templates to stOTTR format and removing fetching.
Martin G. Skjæveland (83f50318) at 10 Apr 16:47
Convert wOTTR tempates to stOTTR to avoid multiple formats and fetc...
Martin G. Skjæveland (0e750998) at 06 Apr 12:14
Merge branch 'staging' into 'master'
... and 4 more commits
Release for 0.6.17.
Release for 0.6.17.