Page 1 of 1

Compiled CHM file disappears

Posted: Thu Jun 20, 2019 7:05 pm
by Carl
I decided to try compiling our online help into CHM to see how it looks like. I chose the CHM transformation and it completed successfully:

Code: Select all

BUILD SUCCESSFUL
Total time: 27 seconds

The process finished with exit code: 0
Right after that, my browser opens and I see this message:

Code: Select all

File Not Found
Firefox can’t find the file at /home/clum/repos/docs-cust/PHEMI_Central/out/chm/phemi_central_spitfire_main.hhp.
I check the "chm" output directory and it is indeed empty.

I have several questions:
  • Why is no help displayed even though the build was successful?
  • Why is the output "chm" directory empty?
  • Why is it looking for a "hhp" file? I thought the CHM files had the "chm" extension?

Re: Compiled CHM file disappears

Posted: Mon Jun 24, 2019 8:40 am
by Radu
Hi Carl,

I'm not sure why this does not work for you. Do you have HTML Help Workshop installed? It might be necessary to compile the output HTML resources to CHM. Can you paste more information from the console log output? At least 10 lines before the build successful line?

Regards,
Radu

Re: Compiled CHM file disappears

Posted: Thu Jun 27, 2019 11:48 pm
by Carl
Hi Radu.

It just occurred to me maybe the reason why I can't create CHM is that I'm running on Linux?

I just upgraded to OxygenXML version 21 and now the CHM compile does result in output in the CHM directory, but it's just my source files as HTML files. Then there are three separate .hhc, .hhk, and .hhp files. But no .chm file is generated.

If this helps, here are the final few lines in the DITA-OT panel:

Code: Select all

[convert-lang] Processing /home/clum/repos/docs-cust/PHEMI_Central/temp/chm/temp_chm_dir/processes/process_concepts.html
[convert-lang] Processing /home/clum/repos/docs-cust/PHEMI_Central/temp/chm/temp_chm_dir/processes/change_editability_process.html
[convert-lang] Processing /home/clum/repos/docs-cust/PHEMI_Central/temp/chm/temp_chm_dir/processes/phemi_transform_language.html
[convert-lang] Processing /home/clum/repos/docs-cust/PHEMI_Central/temp/chm/temp_chm_dir/processes/configure_writer.html
[convert-lang] Processing /home/clum/repos/docs-cust/PHEMI_Central/temp/chm/temp_chm_dir/processes/processes_page.html
[convert-lang] Processing /home/clum/repos/docs-cust/PHEMI_Central/temp/chm/temp_chm_dir/processes/using_the_transformation_tool_bar.html
[convert-lang] Processing /home/clum/repos/docs-cust/PHEMI_Central/temp/chm/temp_chm_dir/processes/additional_examples_transformations.html
[convert-lang] Processing /home/clum/repos/docs-cust/PHEMI_Central/temp/chm/temp_chm_dir/processes/understanding_transform_statements.html
[convert-lang] Processing /home/clum/repos/docs-cust/PHEMI_Central/temp/chm/temp_chm_dir/processes/run_process.html

compile.HTML.Help:

dita.map.htmlhelp:

clean-temp:

BUILD SUCCESSFUL
Total time: 26 seconds

The process finished with exit code: 0

Re: Compiled CHM file disappears

Posted: Mon Jul 01, 2019 8:37 am
by Radu
Hi,

Right, for building CHM the pre-installed HTML Help Workshop application is used. And it is an application which works on Windows.

Regards,
Radu