Stream: shorthand
Topic: Generating Output Files
Sheila Connelly (Jun 16 2020 at 19:07):
I am working on the DevDays Shorthand exercise.
I believe all the assorted software is installed correctly.
patient.fsh looks ok.
I run:
mycomputer$ sushi
mycomputer$ ./_updatePublisher.sh
mycomputer$ ./_genonce.sh
Runs without error, but there is no index.html in the output folder as the instructions claim.
Any guidance? Trying to get help before the DevDays session on this tomorrow.
Nick Freiter (Jun 16 2020 at 19:17):
So there is an output
folder, but is just doesn't contain an index.html
file? Are there any .html
files in that folder at all?
Sheila Connelly (Jun 16 2020 at 20:54):
I finally found an index.html file that looks like what was generated. Buried very deeply. The folder showing as '%22' is a doublequote. The folder showing as output%22 is output" ending with a double quote. Something must be wrong on my machine.
file:///Users/ssc-mbp/Library/Mobile%20Documents/com~apple~CloudDocs/FHIR_FSH_DevDays/fsh-devdays-exercise-0.0.1/temp/pages/%22/Users/ssc-mbp/Library/Mobile%20Documents/com~apple~CloudDocs/FHIR_FSH_DevDays/fsh-devdays-exercise-0.0.1/output%22/index.html
There is output here: fsh-devdays-exercise-0.0.1/output
The only HTML file is qa.html
There are other files named: validator, qa, package, expansions
Nick Freiter (Jun 16 2020 at 21:15):
That is odd, not sure what may have happened to cause that. I think the best bet may just be to remove the fsh-devdays-exercise-0.0.1
folder, and then unzip it again so that you have a completely fresh directory structure. Then again run the three commands
$ sushi
$ ./_updatePublisher.sh
$ ./_genonce.sh
making sure you run them from the fsh-devdays-exercise-0.0.1
folder, and we can see if the problem repeats.
Sheila Connelly (Jun 16 2020 at 21:29):
SUCCESS!
I think the trouble was that I used a folder on my iCloud Drive - I tried it on iCloud 3 times, deleting and unzipping the exercise.
Then, a fresh unzip the first time on my actual hard drive, it worked.
Perhaps iCloud does not like it, or it doesn't like iCloud.
Thank you for your help.
Last updated: Apr 12 2022 at 19:14 UTC