Skip to main content
Known Participant
August 29, 2012
Question

Compiling WebHelp from command line fails with multiple Template Errors

  • August 29, 2012
  • 2 replies
  • 3484 views

I am trying to compile a WebHelp project using the RHCL command. I have RoboHelp HTML 9.0.2.271, running on Windows 7, and the project compiles fine from within the GUI. However, although the first part of the compilation (processing, updating, etc.) works using RHCL, the part where the WebHelp 5.50 template is applied is full of errors. For example:

Template Error: can not resolve macro: WH_LNG_LoadingData

..Template Error: can not resolve macro: WH_LNG_MergeError1

Template Error: can not resolve macro: WH_LNG_MergeError2

Template Error: can not resolve macro: WH_LNG_JS_alert_ProjectLoadingFail

..Template Error: can not resolve macro: WH_LNG_PreTooltip in D:\CUACV9\Administ

rator WebHelp\!SSL!\WebHelp\whtopic.js

Template Error: can not resolve macro: WH_LNG_NextTooltip in D:\CUACV9\Administr

ator WebHelp\!SSL!\WebHelp\whtopic.js

Template Error: can not resolve macro: WH_LNG_Show_Navigation_Component in D:\CU

ACV9\Administrator WebHelp\!SSL!\WebHelp\whtopic.js

Template Error: can not resolve macro: WH_LNG_Hide_Navigation_Component in D:\CU

ACV9\Administrator WebHelp\!SSL!\WebHelp\whtopic.js

Template Error: can not resolve macro: WH_LNG_Show_Navigation_Component in D:\CU

ACV9\Administrator WebHelp\!SSL!\WebHelp\whtopic.js

Template Error: can not resolve macro: WH_LNG_Hide_Navigation_Component in D:\CU

ACV9\Administrator WebHelp\!SSL!\WebHelp\whtopic.js

Template Error: can not resolve macro: WH_LNG_SyncTocTooltip in D:\CUACV9\Admini

strator WebHelp\!SSL!\WebHelp\whtopic.js

If I delete my !Language! folder, I get what looks like the same errors within the RoboHelp GUI.

I have tried a couple of the "solutions" that I found online: copying RoboHHRE.lng from the relevant !Language! subfolder to the project folder, and changing the project to a different language and back to the one I want to use. But all to no avail.

Does anyone know of a solution, please.

Many thanks!

This topic has been closed for replies.

2 replies

Participating Frequently
September 26, 2012

HI

  even in older version of RoboHelp we do get such an error if we do not generate WebHelp output from RoboHelp UI even once and directly try to generate from RHCL.

for any new project at least generate WebHelp once and try RHCL after that, please update if you still get such errors.

Hope this will help

Ashish

s4undersAuthor
Known Participant
September 26, 2012

Hi Ashish,

The project I am trying to compile with RHCL is one I have compiled many times (and still can compile) using the GUI. It is not a new project.

What do you mean by "update"? I am using 9.0.2.271.

Thanks and regards.

Ian

Jeff_Coatsworth
Community Expert
Community Expert
September 26, 2012

RH9 is no longer the current version with the release of RH10 - maybe that's the "update" RoboAsh is talking about?

Peter Grainge
Community Expert
Community Expert
August 29, 2012

Macro errors are usually caused be permissions issues. There is a Command Line Generation article by Bill Albing hosted on my site.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
s4undersAuthor
Known Participant
August 29, 2012

Thanks Peter.

My cmd window is created with administrative privileges.

Yes, I have seen Bill's article (that's how I found out about RHCL!), but he doesn't mention privileges or permissions.

Regards

Ian

Peter Grainge
Community Expert
Community Expert
August 29, 2012

This thread seems to have the same errors at the end with no further response.

http://adobe.hosted.jivesoftware.com/message/3757759?tstart=0

I'll ping a couple of people to see if they can help.

Is your output WebHelp or WebHelp Pro?


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.