Stream: IG creation
Topic: Local build not generating files (while CI build is)
Jean Duteau (Aug 17 2020 at 21:36):
I have a weird situation where my local IG build is not generating any of the output files:
Jekyll: Source: /Users/jeanduteau/Documents/DDIWork/Gevity/Prior Authorization/davinci-pas/temp/pages (01:15.0326)
Jekyll: Generating... (01:15.0327)
Jekyll: done in 5.716 seconds. (01:21.0042)
Installing hl7.fhir.us.davinci-pas#dev to the package cache
Fetching:..
Installing: .. done.
Checking Output HTML (01:21.0519)
found 8 files (01:21.0520)
... 8 html files, 0 pages invalid xhtml (0%) (01:21.0533)
... 63 links, 63 broken links (100%) (01:21.0533)
On the CI build, all of the expected files are being generated:
Jekyll: Source: /scratch/ig-build-temp-2NX7U9/repo/temp/pages (00:57.0737)
Jekyll: Generating... (00:57.0737)
Jekyll: done in 2.249 seconds. (00:59.0986)
Checking Output HTML (01:01.0473)
found 1274 files (01:01.0478)
... 1274 html files, 0 pages invalid xhtml (0%) (01:14.0098)
... 370723 links, 8 broken links (0%) (01:14.0098)
My build log file looks exactly like the CI build log so I'm not sure what is happening.
Jean Duteau (Aug 17 2020 at 21:37):
Note: I have 1227 files in my temp/pages directory so I'm not sure why the jekyll run ends up with only 8 files in the output directory.
Grahame Grieve (Aug 17 2020 at 21:50):
Jekyll is failing locally.
Grahame Grieve (Aug 17 2020 at 21:50):
There's some circumstances where it fails but claims to succeed
Jean Duteau (Aug 17 2020 at 21:50):
where would the jekyll logs be so I can see what it is failing on?
Grahame Grieve (Aug 17 2020 at 21:51):
you have to run it manually in the terminal on the directory
Jean Duteau (Aug 17 2020 at 21:58):
when I ran it manually, it appears to have worked. no errors and the files are all generated
Jean Duteau (Aug 17 2020 at 21:59):
figured it out. i changed my directory structure and one of the parent directories has a space in it.
Grahame Grieve (Aug 17 2020 at 22:05):
should the IG publisher refuse to run in that circumstance?
Jean Duteau (Aug 17 2020 at 22:06):
well, either that or we need to figure out how to escape the output directory for jekyll so that it doesn't silently fail
Grahame Grieve (Aug 17 2020 at 22:07):
I can't fix that - that's some problem in the standard Apache executor class.
Grahame Grieve (Aug 17 2020 at 22:07):
it's the input directory, not the output directory
Jean Duteau (Aug 17 2020 at 22:08):
oh. then yeah, we should detect and stop with the message that the build path can't include a space in the directory name
Grahame Grieve (Aug 17 2020 at 22:09):
ok will do that next release
Last updated: Apr 12 2022 at 19:14 UTC