if parallel=true, some files are not rendered
See original GitHub issueExpected Behavior
all files are rendered
Actual Behavior
some files are skipped with error “folder could not be created”. seemingly randomly in documents, but consistently between builds
Steps to Reproduce
render a document with a lot of topics in the same subfolder (?)
Copy of the error message, log file or stack trace
[xslt] Failed to transform document: Failed to transform document: Failed to create directory
Environment
- DITA-OT version: 3.7.1, 3.6.1
- Operating system and version: Linux, Windows
- How did you run DITA-OT?
dita
command - Transformation type: HTML5
Issue Analytics
- State:
- Created a year ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
pandoc: openBinaryFile: does not exist (No such file ... - GitHub
When I am using rmarkdown::render() in BiocParallel::bplapply() , Pandoc throws this error: pandoc: /tmp/RtmpW06rTD/rmarkdown-str3bc26dd971b5.
Read more >Parallel execution of test throws exception when parallel is set ...
Please, how do I get the test to execute successfully when parallel=true in dataprovider. I'm I missing something maybe the WebDriver instance ...
Read more >Create TestNG XML File & Execute Parallel Testing
This TestNG guide will help you in creating a TestNG XML file and then executing multiple test cases in parallel on a Selenium...
Read more >Debug a parallel application - Visual Studio (Windows)
Walkthrough: Debugging a Parallel Application in Visual Studio (C#, ... If the start window is not open, choose File > Start Window.
Read more >27 R Markdown | R for Data Science
When R Markdown renders your file, it will build and append a bibliography to the end of your document. The bibliography will contain...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found that for N topics, if I edit “do.sh” to put sqrt(N) topics in each directory:
then the probability for collision is maximized:
thus making a more effective testcase. And with this configuration, even my 12-core machine starts giving occasional failures too.
@raducoravu - with your suggested fix, the issue is completely resolved on both machines:
@jelovirt - Radu’s suggested fix is a one-word addition to line 238 at
https://github.com/dita-ot/dita-ot/blob/hotfix/3.7.2/src/main/java/org/dita/dost/store/StreamStore.java#L238
Do you want me to make a pull request, or is this simple enough to fix with a bare commit?
In general in our Oxygen user’s guide at least the parallel processing has not brought any significant time decrease so I have not used it much. The store-type=memory seems to help quite a lot on Windows though.