Compiled CHM file disappears

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Carl
Posts: 53
Joined: Fri Oct 19, 2018 2:19 am

Compiled CHM file disappears

Post by Carl » Thu Jun 20, 2019 7:05 pm

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?

Radu
Posts: 6506
Joined: Fri Jul 09, 2004 5:18 pm

Re: Compiled CHM file disappears

Post by Radu » Mon Jun 24, 2019 8:40 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Carl
Posts: 53
Joined: Fri Oct 19, 2018 2:19 am

Re: Compiled CHM file disappears

Post by Carl » Thu Jun 27, 2019 11:48 pm

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

Radu
Posts: 6506
Joined: Fri Jul 09, 2004 5:18 pm

Re: Compiled CHM file disappears

Post by Radu » Mon Jul 01, 2019 8:37 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply