Skip to main content
Inspiring
February 13, 2009
Answered

HTML Help Compiler stops

  • February 13, 2009
  • 5 replies
  • 7000 views
I've had this problem before and it seems totally random. When I try to compile HTML help, even Help that has easily compiled before, I suddenly get the following message. And the .chm is not compiled. The filename in the C:\ is the project I'm working on.

Warning: The size of stop file has to be limited in 512 bytes. - what does this mean? What is a stop file?


C:\Documents and Settings\kbaine\My Documents\My RoboHelp Projects\ICS Installation Manual for Mobile MMR Installations Manual\IMS_Installation_Operation_Maintenance\!SSL!\TeraHopConsole\!chm_tmp_folder_0\TeraHopConsole.hhp

Fatal Error: Unexpected error from Microsoft HTML compiler.
Finished compiling HTMLHELP in 4 sec(s)

Compilation complete.

I appreciate any help anyone can give me. Thanks.
Kathleen
This topic has been closed for replies.
Correct answer K_Baine
Yes, yes, yes! That fixed it. Putting the project at the root of my C\ folder did the trick. Thanks so much.

Kathleen

5 replies

Inspiring
September 22, 2011

I'm using RoboHelp 9 and get that error message even though my project is now at the root of drive C. It's just a warning at this time, though, and has existed ever since I created the project.

It's been two years since this thread was updated. Does anyone have any new info on this?

Jeff_Coatsworth
Brainiac
September 22, 2011

Which error are you getting - the "Warning: 512 character limit" one or the ".js" error?

Inspiring
September 23, 2011

This one:

Warning: The size of stop file has to be limited in 512 bytes.

December 12, 2009

Hello,

This is long but I am trying to give specifics and background. I am stuck with this problem despite search for a solution here and on the web. None of the possible solutions offered here worked for me.

RoboHelp 8 with .1 and .2 patches / upgrades installed in sequence and running on recent DELL with XP.

****************************************

Background:

I inherited a HTML help project which was stored on and run from a network drive (a big no-no) for 3/4 months. I was not aware that the project was run from the network. The previous help author had problems with performance and stability when the project was upgraded from Robohelp 7 to the initial 8 without the upgrades / patches which were not available yet.

I stored the active project on my local C: drive  and have zipped up the whole project at intervals and stored the backup on the network. I can revert back with the loss of about 1 days work but the concern is that there is something unstable with the whole project. I have Breadcrumb Browse Sequences implemented and this current version of our software was the first one to register the Adobe redist HHActiveX.dll during install. Everything worked fine with the .chm. from the application. I could call the help for the different objects plus the Breadcrumb displayed.

The help file also has some dropdown text DHTML effects which hide the content for a tab on an object. I am working with RoboHelp 8 with the two upgrades done in sequence .1 and .2.

Immediately before, I had this problem, I was assigning context ids to topics and plus created a number of new placeholder topics with an ID asigned. I was using Bughunter to see what context ID different parts of the interface was calling. I had also just imported a second map file with the IDs for the interface.

****************************************
When I Compile MS HTML Help Its Now Fails:


I get this problems when generating .chm help:
'Warning: The size of stop file has to be limited in 512 bytes.'

and then at the end

'ehlpdhtm.js
Fatal Error: Unexpected error from Microsoft HTML compiler.
Finished compiling HTMLHELP in 71 sec(s)

Compilation complete.'

Also
During compile I get some warning messages like this one:
'HHC4014: Warning:
The following map definition has an invalid context ID: #define HIDO_DIGITAL ANIMATION OBJECT                           21311000.'

****************************************
I Tried the Following to Fix This Problem(s):

1) I have Robohelp 8 with the .1 and .2 updates done.
2) I shortened the file path to:
Starting compilation...
HTMLHELP preprocessor 8.0.0.203

Compiling C:\RH8_Pjts\OWS340\!SSL!\MS_HTML_Help_Layout2_Dec8_2009\!chm_tmp_folder_0\Copy_of_helpfiles.chm ...

Warning: The size of stop file has to be limited in 512 bytes.
C:\RH8_Pjts\OWS340\!SSL!\MS_HTML_Help_Layout2_Dec8_2009\!chm_tmp_folder_0\Copy_of_helpfiles.hhp
Microsoft HTML Help Compiler 4.74.8702

3) I Reset to Default the stop list. File> Project Settings. Press Advanced Button and then Press Reset to Default.

4) I created (deleted the previous ones) a new version of two topics listed before and after the message.  'Warning: The size of stop file has to be limited in 512 bytes.' I excluded some topics from the build to see if I could generate a CHM and find a topic with possible problems.

5) I created a new layout from scratch but still the same problem.

6) I renamed the .cpd by appending _OLD to the name. When I generated a .chm, it gave the same behaviour. The file size did decrease from 3.2 MB to 1.5 MB. I am aware of the Tools > Options > general tab and the checkbox for 'Clear project cache (.cpd) file before opening any file'. For now, this is unchecked which is the default.

7) If I try to generate a chm from the same MS HTML project layout without shutting down, I get this message:
'Cannot create compiled file. It may be open in another window. Please close all HTML Help windows and try again.'
It will try to generate from a different MS HTML layout without restarting RoboHelp and you do not get this message.

****************************************
Other Possibe Things to Try:


If anyone has any suggestions, I would welcome them. I keep hoping for some simple recipe to heal my sick project!

One thing that I have not tried is to delete half the topics and then try to generate a chm. It is like what I do with long unstable Word doc files and sometimes it is just one tiny icon graphic that is bad or I just have to delete one line and type it in again and the file is immediately healed.

Clutching at straws!-- One thing that I notice is that the Project Properties have English (US) but some of the topics have None for language in the Topic Properties.

I can revert back and generate a chm to be sure it is ok and then redo my recent  changes but with frequent zips of the project and also generations of a chm.

Thanks

Robert

Peter Grainge
Brainiac
December 12, 2009

Let's see if anything here helps.

First thing to get out of the way is the warning. It is just a warning that the stop file must not exceed that size. It is not a statement that it does and as the previous posts show, it always appears. Create a brand new project with just the default topic and you will still see the warning.

What you will see has fixed the problem using Rick's advice is to shorten the path length. Now while the path I can see in your post is not excessively long, it does contain more characters than necessary and when you add that to the paths in your project, length could still be the problem.

Open one of the supplied sample projects and generate a CHM from that. If the new project and the sample project both compiled OK with just the warning, that confirms your installation can compile OK and then it all points to your project and I think path length is the first thing to consider.


See www.grainge.org for RoboHelp and Authoring tips

Follow me @petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Peter Grainge
Brainiac
December 12, 2009

... and don't worry about the language settings. Project settings defines the language to be applied to all topics except those that have another language applied. If the two languages are the same it will do no harm but it is a bit pointless.


See www.grainge.org for RoboHelp and Authoring tips

Follow me @petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
K_BaineAuthor
Inspiring
February 13, 2009
I deleted the .stp and restarted RH, and same problem.

I replaced the .stp with a new one from a New blank project. Same problem.

I'm also getting errors that the file is open in another window, yet nothing else is open. Weird.
I'll try rebooting my whole PC.

Thank you.
RoboWizard
Inspiring
February 13, 2009
Hi again

Perhaps try something I advise in all the RoboHelp classes I conduct.

Close your project in RoboHelp.
Open Windows Explorer.
Create a folder right off the root of C called "Projects".
Copy your project folder to this folder. After you do, the path would look like this:
C:\Projects\TeraHopConsole
Open the project in the new location and try to compile.

I'm thinking perhaps the super long path you currently have is possibly causing the issue.

Cheers... Rick
K_BaineAuthorCorrect answer
Inspiring
February 13, 2009
Yes, yes, yes! That fixed it. Putting the project at the root of my C\ folder did the trick. Thanks so much.

Kathleen
K_BaineAuthor
Inspiring
February 13, 2009
I looked, and my .stp file is only 4.0 KB, so size isn't the problem. Although I guess it could be corrupt.

If I just delete the .stp file from my project and close the project, will RoboHelp automatically regenerate it? like we can do with a .cpd file?

Thanks for your help.
RoboWizard
Inspiring
February 13, 2009
Hello again

You may certainly wish to try that but my gut tells me it probably won't work. That's why I suggested creating a new project to get a fresh one and copy that.

Cheers... Rick
RoboWizard
Inspiring
February 13, 2009
Hi Kathleen

The stop file contains a list of words that will be excluded from searching ability. You manipulate it from RoboHelp by clicking File > Project Settings > Advanced... button > Stop list.

If the compiler is balking at you over it, perhaps it will help to just replace the file. I might simply create a new blank project and locate its stop file. Copy it to your current project location.

The file should be found in your project folder. An easy way to get there is to right-click any topic, click the File tab and then the Open Folder button. The stop file has a file extension of .STP and the first part will be the name of your project. So once you locate a different one and copy it, you will need to change the name. (You will need to rename or delete the existing one first though)

Hopefully this helps... Rick