@@ -118,7 +118,8 @@ on your local machine, you should be able to write to that folder inside Docker
118
118
Container also (provided same user initiated Docker). In all it is a file
119
119
permission issue.
120
120
121
- ### Workflows with Javascript Expressions occasionally give Timeout errors
121
+ ### Workflows with Javascript Expressions occasionally give Timeout errors
122
+
122
123
To evaluate Javascript Expressions, cwltool looks for Nodejs on your system.
123
124
In case Nodejs isn't installed, JS expressions are executed in a Docker Container.
124
125
In order to avoid waiting forever in case error occurs, cwltool times out js
@@ -127,6 +128,15 @@ provide a custom timeout period using `--eval-timeout` argument. So if you face
127
128
this error, the best option is to install Nodejs on your local system. If you
128
129
can't then use the ` --eval-timeout ` argument and set a higher timeout value.
129
130
131
+ ### Fatal error occurs when executing a ` python ` command Line instruction as a job on python version 3.
132
+
133
+ If your workflow creates a python command line instruction (like we do in this
134
+ unit test ) and you get a error `Fatal Python error: Failed to initialize Windows
135
+ random API (CryptoGen)` then try setting ` SYSTEMROOT` environment variable to
136
+ windows directory location (usually at ` C:\\WINDOWS ` ). The reason behind this error
137
+ is that when a python instance is created from current instance, it needs ` SYSTEMROOT `
138
+ env variable to starts its random generator on Windows OS.
139
+
130
140
* If you still have problems with setting up and using Docker on Windows, please
131
141
consult the online Docker Community. If the problem is specific to cwltool,
132
142
create an [ issue on cwltool] ( https://github.com/common-workflow-language/cwltool/issues ) .*
0 commit comments