Skip navigation
s4unders
Currently Being Moderated

Compiling WebHelp from command line fails with multiple Template Errors

Aug 29, 2012 7:17 AM

Tags: #robohelp_9 #webhelp #command_line #error_compiling

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!

 
Replies
  • Currently Being Moderated
    Aug 29, 2012 7:39 AM   in reply to s4unders

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 29, 2012 9:59 AM   in reply to s4unders

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 29, 2012 10:52 AM   in reply to Peter Grainge

    Hi folks. I don't have an answer, but I helped someone last year with something similar. I'm not sure if it was related to using the RHCL, an LNG file problem, or in anyway related to RoboHelp Server. But I'll ping the person at Adobe that I had worked with previously and see if we can resolve this.

     

    Ian, have you reported this to Adobe Technical Support? If so, it would help if you could send me any case numbers or contacts to my email (see my profile). Also, as Peter mentions, we need to know to what kind of server the RHCL is trying to communicate with. Were you ever able to publish from the RH client to your web server in the conventional way? This would help validate that the permissions from your machine are valid. I'm a networking novice, but it does have the look of a permission thing.

    Thanks

     

    John Daigle

    Adobe Certified RoboHelp and Captivate Instructor

    Evergreen, Colorado

    www.showmethedemo.com

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 25, 2012 12:12 AM   in reply to s4unders

    John did respond to you.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 25, 2012 7:08 AM   in reply to s4unders

    HI, Ian

    Sorry to be AWOL. I've been on the road for quite some time and I'm behind on this. Let me ask again and I'll get back.

    john

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 25, 2012 10:24 PM   in reply to s4unders

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 26, 2012 5:40 AM   in reply to s4unders

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

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 26, 2012 6:04 AM   in reply to s4unders

    If you've got a spare machine kicking around, it might be worth it to pull down the trial version & play with it using a copy of your project to see how it performs.

     

    Regarding the upgrade cost - our organization bought a 2 year upgrade plan (which includes bronze support thrown in too) for less than that I think.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 27, 2012 4:33 AM   in reply to s4unders

    HI Ian,

          Can you please confirm if you or anyone else has done any changes to the files kept in "whxdata" folder in your RoboHelp install folder or by any change you have updated the lng xml file of your project?

     

    by the way by update I just meant the RoboHelp 9 updates and not upgrading to RoboHelp10.

     

    but I would be tempted to talk about the new features like multiscreen output - it can produces highly customizable outputs which can be viewed on any modern device like tablets or smart phones.

     

    Regards

    Ashish

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points