Copy link to clipboard
Copied
My project has several conditional build tags, and I use just two of them.
I have switched between conditions a million times when I generate output, but now RoboHelp crashes when I use "Condition B".
It is still successful on Condition A.
The Output View says:
Starting compilation ....
HTMLHELP preporcessor 8.0.0.203
Compiling
c:\HelpForGeomagicApps\!SSL!\Microsoft_HTML_Help\!chm_tmp_folder_4\ProjectName_EN.chm
Preparing to create HTMLHELP...
Clearing output folder...
Preparing files for HTML Help...
Copying files...
Updateing files....
AND THEN SHE CRASHES.
Any advice?
Copy link to clipboard
Copied
It might be worth renaming the projectname.pss file and then opening the project and compiling. If this doesn't work, try creating a new SSL (do not duplicate the existing one). Let us know if either of these work.
Copy link to clipboard
Copied
I renamed the .pss, and tried to compile the "defective" condition. RH8 took a few extra seconds to build itself a new .pss, and then it crashed exactly as previously described.Then I specified a different name for the .chm file (I think that's what you meant by "a new SSL"), and it crashed as previously described. Then I tried to verify that I can still compile the "good" condition, and when I started RH8, there is a message that Dr. Watrson Postmortem Debugger failed, and now I can't start RH8. So things are going from bad to worse and I don't know what to tell you. Let me panic for a while and try to get RH8 running, and I'll post again.
Copy link to clipboard
Copied
After reboot, RH8 is running.
I can still compile the "good" condition.
In addition to the Output View details that I typed above, a *successful* compilation also includes something like:
Finished preparing in 67 sec(s)
Initializing compiler...
Generating HTMLHELP (8.0.0.203)...
Updating topics...
topicname
topicname
topicname
.....
Finished compiling HTMLHELP in 113 sec(s)
Compilation complete.
In other words, I'm saying that compiling with the "bad" condition causes failure AFTER "Updating files..." and BEFORE "Finished Preparing in 67 sec(s)".
Copy link to clipboard
Copied
What I meant by "creating a new SSL" was right clicking in the Single Source Layouts pod and selecting New Layout. From the resulting dialog, select the required output type and set its properties the same as the other one. However the Dr.Watson reference may give us more of a clue as to the problem. See this link for further info.
Copy link to clipboard
Copied
I changed the output to WebHelp and it crashes just the same.
As for the microsoft KB article about Dr. Watson, I'll read it, but I don't know .....
I wish I could get the Output View to name the file that RH8 is choking on. ??
Copy link to clipboard
Copied
Assuming you have also tried deleting the CPD file (after backing up) you may have to resort to the half and half approach as below but first try two other ways of finding the rogue topic.
If no joy...
THE HALF AND HALF METHOD
Sounds worse than it is.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
The trashing technique is exactly what I was thinking about trying, so now I have confidence that I can think like Master Grainge. More better, I will start by trashing only the .htm files that changed since the most recent successful compilation. I'll let you know.
Copy link to clipboard
Copied
Mister Grainge would not use More better!
Starting with recently changed stuff is a good approach.
See www.grainge.org for RoboHelp and Authoring tips