Skip to main content
AdvancedHelp
Known Participant
January 18, 2021
Question

Batch compile spotty in RH 2020v3

  • January 18, 2021
  • 16 replies
  • 1908 views

Hi,

I've just finished converting a large project that has 43 separate projects in it.

This is output into three regions of the UK, so that's 129 times it has to compile.

So I've create a batch file, as I did with RH Classic. 

 

Only, it works sometimes, and not others. I think I've had it twice run through the first region, and never through the second and third all the way through. It might work after a reboot-- or not. It fails at different points. Some were explained by mistakes I made in the batch file, some not.

 

I've split it into three batches, it will still not work reliably. Most of the time it just hangs...suggesting that RH has crashed in the background.  This morning, for example, on a freshly started laptop, it got four projects in before coming to a halt mid-topic.

 

They will compile from the project, though I'm going to tediously run through them again to see if there are any issues, but as it will go right through occasionally, I'm guessing it's just RH crashing. I'm not running RH while running the batch, either.

 

Basically, it isn't working. 

 

This is a sample of my batch from one region:


@4628292 off

 

cd "C:\Program Files\Adobe\Adobe RoboHelp 2020"

RoboHelp.exe --cl "C:\1TechAuthoring\ALB\300\Help_3.3.0\Master\ALB_Master.rhpj" -o Responsive -p "C:\1TechAuthoring\ALB\300\Output\Help\EWNI"

 

Suggestions?

 

Thanks,

 

Nicola

This topic has been closed for replies.

16 replies

AdvancedHelp
Known Participant
January 19, 2021

Hi,

I tried adding TIMEOUT /T 30 between each compilation...and it after about 3/4.

I then tried TIMEOUT /T 100, and it worked! Once. When I tried again, it failed about 1/3 of the way through.

I thought perhaps I should reboot after each try, so I waited until this morning, and it failed after only three projects.

I might try a longer timeout and see what happens, but I'm not hopeful. I'll also log a case, thanks.

 

Nicola

Peter Grainge
Community Expert
Community Expert
January 18, 2021

It has been suggested that you add a delay of say 20 seconds between each output.

 

If that doesn't help, then try Support. See https://helpx.adobe.com/contact/enterprise-support.other.html#robohelp for your support contact options.

________________________________________________________
See www.grainge.org for free Authoring and RoboHelp Information

Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
AdvancedHelp
Known Participant
January 18, 2021

Yes, I use a batch file to generate the help.

 

Thanks, I hope they can work this one out.

 

Nicola

Peter Grainge
Community Expert
Community Expert
January 18, 2021

Ah! You mean Command Line Generation rather than Batch Generation. I'll see what I can find out.

________________________________________________________
See www.grainge.org for free Authoring and RoboHelp Information

Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
AdvancedHelp
Known Participant
January 18, 2021

That won't work. There are 43 separate RH projects, not presets. They are all one large Responsive system.

So I would still have to go into 43 separate projects to compile the help. Unless it does it over separate projects? That's a feature I could get behind!

And I'd have to create presets for them all, which is ok, (currently most share) but what about when a version number changes? Then I'd have to go through all 129 to change it. 

If they are removing the batch capability, then that's fine. But they don't appear to be, and it should work.

Thanks for the suggestion,

Nicola 

Peter Grainge
Community Expert
Community Expert
January 18, 2021

You don't need a batch file. Configure all your presets so that they generate correctly. After that look in the top right corner when you are in Outputs mode and click Quick Generate. Select the top check box to select all the presets and click Generate.

________________________________________________________
See www.grainge.org for free Authoring and RoboHelp Information

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