Skip to main content
Participating Frequently
November 11, 2008
Question

RH not compiling

  • November 11, 2008
  • 9 replies
  • 1267 views
Hi,

I am having an issue with RoboHelp not completing the compile process.

As I compile WebHelp, the process stalls during the "Updating Files" part of the compile. Checking Task Manager at this point shows RH as "Not Responding", and RH will not finish the compile or respond again, even if I allow it hours. (For comparison, when things are fine, RH can/could compile the project in 10 or 15 minutes.)

In some cases, I can edit a few topics (maybe 10), and RH will compile successfully. In other instances, I may change fewer topics and RH will not compile. Lately, most RH compiles are unsuccessful.


Software Info
I am using RoboHelp 7 and running Windows XP Professional, Version 2002, Service Pack 3

PC Info
HP laptop with an AMD Athlon 64 Processor 3500+, 448 MHz, with 1 GB of RAM.

Project File Location
The project file for the WebHelp I am compiling is located on my hard drive.


Any ideas are appreciated.

Thanks
This topic has been closed for replies.

9 replies

RoboColum_n_
Legend
November 19, 2008
A quick look at the truecode makes me wonder whether this is a topic that has been imported from a WinHelp file. Is this right? Are all those Javascripts require? Some of them (the ones near the bottom) just duplicate each other. The topic also has <style> tags all over the place.
RoboWizard
Inspiring
November 19, 2008
Hi all

Colum, this appears to be a WebHelp created topic that was pulled back in used as a source topic. WebHelp output topics are rife with JavaScript code that shouldn't be in source topics.

Take a look here for how to correct it

Cheers... Rick
Peter Grainge
Community Expert
Community Expert
November 18, 2008
Thanks for posting that. Could well help someone else.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Known Participant
November 18, 2008
We've found the problem.
In general, this seems nothing to do with RH. It's the Microsoft HTMLHelp Compiler that crashes, and it crashed with this project when started outside of RH, too. The reason why it crashed was a missing quotation mark in an image tag (the quotation mark after the gif was missing):
<img src="..\Images\Heading.gif"

We found out because we went back to our project's version of Friday (we use Subversion for source control) and compiled that, and it went fine. It turned out that the error happened yesterday, so we had only 8 topics we needed to look at.

BTW: The file that caused the problem was a translated file created with ACROSS Translation Memory. In ACROSS you have to manually copy tags to the target text, and if you miss one, this is what can happen. We don't think this problem would have occurred when editing topics in RH.

TWSisters
Peter Grainge
Community Expert
Community Expert
November 18, 2008
Please look at the previous posts in this thread and try what has been covered there, then post back. It may not be bad topics.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Known Participant
November 18, 2008
Hi,
we're having the same problem compiling HTMLHelp from one of our projects. We have three large projects, only one of them causes the problem. It compiled fine until last week. Now RH7 crashes during the "Updating files" part on three different PCs. We would appreciate any clues how to locate any "bad" topics, because we've done a lot with RH7, but this project doesn't use any snippets, variables, conditional build tags whatsoever. We've deleted the cpd as the first thing we do whenever there's a problem.
@ ROBOHELPIST: Have you found out what the problem with the "bad" topics was?

Thanks!
TWSisters
Participating Frequently
November 18, 2008
@ TWSisters:

I used trial and error to find the bad topics. I would edit a few topics at a time, and then try and compile. If the compile worked I would proceed to the next group. If the compile did not work, then I knew I had come across one or more problem topics, and could further narrow it down (sometimes editing just one file at a time and then compiling) until I found the culprits.

Fortunately, in my case I did not need to edit every topic in the project, so that made the process faster (I was looking only for topics that had javascript so I could remove it, and that was only a small percentage of the project.) If EVERY topic in the project were suspect, then it would have been a very slow process. I always kept a copy of my most recent successful compile, so I could revert back to it once the compile failed. (And I wouldn't lose all the changes I had made up to that point in a possibly corrupted file.)

I am glad you found the problem with your project. Thanks for the explanation of the cause of the problem, that may come in handy.
RoboColum_n_
Legend
November 17, 2008
Can you tell us what is in your failing topics? DHTML? Image Maps? Perhaps you can paste the truecode?
Participating Frequently
November 18, 2008
@ Colum McAndrew

Hi Colum.

The problem topics do not have hotspots, and I don't think they have any DHTML. They all have javascript. Also, 2 of the 3 topics that would cause the compile to fail include a table. Below is the HTML from one of these topics. It contains a table, but I have removed all but one of rows to keep the code sample as short as possible. Hope that provides some clues about what is going wrong. Thanks.


Peter Grainge
Community Expert
Community Expert
November 13, 2008
That's not large. Have you tried Leon's suggestion? (Make sure the target folder is not the existing output folder)

If that fails, take a copy of the project. Delete half the topics and try again. Keep doing that until it compiles. When it starts to compile, whatever you just deleted contains the problem.

Are you sure there is no indication in the Output view of the topic where it is falling over?

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Participating Frequently
November 14, 2008
I have narrowed down the cause of RH's failure to compile my project to 3 "bad" topics. If I edit these 3 bad topics, the compile process is sure to fail. (That is, RH becomes unresponsive, and spins its wheels w/o ever completing the compile)

If I edit these topics, and then try compiling to a different output folder, the compile process still fails.

As a test, I edited the bad topics and compiled on a different computer, but the result was the same - RH failed to compile.

I haven't seen anything in the Output view that indicates which topic is failing. After the compile process copies the files, it then Updates the files, at which point RH freezes and no longer responds. The Output view only shows "Updating Files..." at the point it freezes up, it doesn't get as far a showing the actual file names scrolling past.

As a fix, I plan to delete and re-create the 3 bad topics. I don't see anything about the bad topics that looks different from any other topics in the project - but clearly something about them is causing RH problems.

Any ideas on how I could find the underlying cause of the problem?

Thanks
Peter Grainge
Community Expert
Community Expert
November 12, 2008
Locate one of the sample projects. Try to compile from that.

I want to establish the issue is your project. Don't worry about the CPU use, quite normal.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
MergeThis
Inspiring
November 12, 2008
Another workaround is to create an entirely new layout with a new generation path location.


Good luck,
Leon
Peter Grainge
Community Expert
Community Expert
November 12, 2008
Close RH, rename the CPD file. Open RH and try again.

Are you compiling to a local drive?

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Participating Frequently
November 12, 2008
Hi Peter,

Thanks for your quick response. Unfortunately, I am still having the same problem - after I closed RH, renamed the CPD file, re-opened RH and attempted to compile again, the compile process still stalls during the "Updating Files" part of the compile.

Although, the progress bar does not move after RH stalls, in the Task Manager I can see that the CPU usage is 100%, and RH is taking up 98-99% of the CPU time.

Also, my Project is on my local drive, and I am compiling to the same local drive.

Any other suggestions?

Thanks