Skip to main content
March 14, 2011
Answered

RoboHelp HTML 9 frequently crashes

  • March 14, 2011
  • 3 replies
  • 6672 views

Hi,

I'm using the latest version of RoboHelp 9. While doing the most rudimentary tasks in my project, like formatting text using the Design window and editing HTML code, RoboHelp will either hang or crash unexpectedly. This is happening at least five times a day recently. Many of the pages incidentally contain Word HTML tags and other junk code from Word that I remove manually--don't know if that has to do with the crashing. I can't figure out what's going on.

My computer's specs are the following:

Pentium Dual-Core CPU 2.5 GHz

4GB installed memory

Windows 7 Ultimate 64-bit OS

Any feedback would be much appreciated.

Thanks,

Chris

This topic has been closed for replies.
Correct answer

The problem is deleting the MS Word 2007 style tags. I don't know if Word 2000 tags and 2007 tags are the same, I believe they aren't. So I cannot delete the following types of text automatically using TidyHTML:

   <w:WrapTextWithPunct/>

   <w:UseAsianBreakRules/>

   <w:DontGrowAutofit/>

   <w:SplitPgBreakAndParaMark/>

   <w:DontVertAlignCellWithSp/>

   <w:DontBreakConstrainedForcedTables/>

   <w:DontVertAlignInTxbx/>

   <w:Word11KerningPairs/>

   <w:CachedColBalance/>

  </w:Compatibility>

...

which continues seemingly forever, then:

<style>

<!--

/* Font Definitions */

@font-face

    {font-family:"Cambria Math";

    panose-1:2 4 5 3 5 4 6 3 2 4;}

/* Style Definitions */

p.MsoNormal, li.MsoNormal, div.MsoNormal

    {margin:0in;

    margin-bottom:.0001pt;

    font-size:12.0pt;

    font-family:"Times New Roman","serif";}

a:link, span.MsoHyperlink

    {color:blue;

    text-decoration:underline;}

a:visited, span.MsoHyperlinkFollowed

    {color:purple;

    text-decoration:underline;}

.MsoChpDefault

    {font-size:10.0pt;}

@page Section1

    {size:8.5in 11.0in;

    margin:1.0in 1.25in 1.0in 1.25in;}

div.Section1

    {page:Section1;}

-->

</style>

and this:

<p class=MsoNormal style='margin-left:1.0in;text-indent:-1.0in'>

and this:

<span class=SpellE><span class=GramE>

This is the junk I've been talking about, and TidyHTML will not get rid of it. I tried the TidyHTML web site, I tried the Tidy command line tool and other Tidy tools available with a GUI. It does not strip out this junk. And when I try to do it in RoboHelp, it crashes. I don't know what else I can write to better explain what I mean.

Thanks,

Chris


Chrissy_1234 wrote:

The problem is deleting the MS Word 2007 style tags. I don't know if Word 2000 tags and 2007 tags are the same, I believe they aren't. So I cannot delete the following types of text automatically using TidyHTML:

[Examples snipped]

I took the liberty of looking a little deeper into this for you. As others here have suggested, saving the files from M$Word as "filtered" HTML might help you get past your problem. I know you don't have access to the original M$Word documents, but that probably isn't a problem--you see, the reason that M$Word embedds all that junk into the HTML file is because it thinks you're going to want to re-open the file in Word, and not lose any of the word-specific information. If you have access to M$Word you could simply open the saved HTML in Word, then resave it "filtered". Of course, even Micro$oft "filtered" output still contains more junk that what you want, and for reasons that I once knew but have since forgotten, Tidy does a better job cleaning the unfiltered output than it does the filtered output.

Examining the M$Word output, however, I noticed that most of the junk was embedded in comment tags (<!-- -->). Tidy has the option of removing comment blocks: "--hide-comments yes". So I took a simple 7 page M$Word document and saved it as HTML from Word 2007. I then added these two lines to my "tidy.cfg" file:

hide-comments: y

word-2000: y

After running Tidy on my text document it was very, very clean, and had been reduced in size by about 2/3. All of the elements from the "w:", "m:", and "o:" namespaces were removed, as were all of M$Word's excessive use of the "style" attribute. My build of Tidy is from December 2008.

I would suggest you try Tidy again on your original M$Word .htm files using the foregoing configuration options.This might get you over the hump; if not, let me know and I'll see if I can make some changes to Tidy that will get rid of what is still bothering you.

(If, after importing clean HTML RoboHelp is still crashing on you, I can't offer any further help; at that point it's clearly a RoboHelp problem, not an HTML problem).

3 replies

Participating Frequently
March 15, 2011

I will just repeat one of the question

1. Are you working on a project placed on a network location (then copy it locally and work on the local copy) - this seems to be the most likely cause in your case!

2. How many topics are there in your project

3. How many topics are opened in the RoboHelp editor (there should not be more that 20-25 topics open at a time in the Design editor)

The redundant code pertaining to word has a least possibilities of causing the crash

Ashish

March 15, 2011

Hi everyone,

My project as well as the program are running on the C drive. The project is contained in the default location--Documents, My RoboHelp Projects. Nothing related to my project resides on the network.

There are 76 topics in my project.

This is the first main project I am working on with this version of RoboHelp. I have no more than five topics open at any given time in the editor, but more often than not only one topic is open. The crashes happen if I have one page open or multiple ones, the number of topics that are opened at any given time doesn't seem to matter. And if I remember correctly the program crashes even if there is no Word HTML code contained in the file.

I will try deleting the file that one of the other respondents suggested and see what happens, then post again here.

Thanks.

Captiv8r
Legend
March 14, 2011

Welcome to our community, Chris

Where are your project files? Are you working on them while they are stored on a network drive? If so, that likely explains the crashes. Project files should only ever be edited while they are stored on local media such as your C drive. If they are on a network, you are engaging in a conversation that is causing issues.

Cheers... Rick

Helpful and Handy Links

RoboHelp Wish Form/Bug Reporting Form

Begin learning RoboHelp HTML 7, 8 or 9 within the day!

Adobe Certified RoboHelp HTML Training

SorcerStone Blog

RoboHelp eBooks

Participating Frequently
March 15, 2011

Hi Chris,

Can you please let us know if Robohelp is crashing for this particular project or Robohelp Crashes even when you try to edit a new project.

Thanks

Mona

Peter Grainge
Community Expert
Community Expert
March 14, 2011

Try simply deleting the CPD file so that RoboHelp creates a new when you open the project.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

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

Hi, Peter,

I deleted the file as you suggested, but it did not solve the problem. At the time I was editing a topic -- a "basic" HTML page riddled with Word HTML and other erroneous Word code. While simply deleting all that nonsensical and irrelevant code, RoboHelp crashed -- this has become a normal thing. And I don't want to find my project corrupted one day because of these crashes. 

I don't know if Adobe support is monitoring these forums, but can't anyone there simply replicate what I'm doing and see if they get the same results using my computer specs? The HTML files created in Word incidentally may or may not be saved using that "filtered" option by the way, it doesn't matter, RoboHelp will crash either way. Perhaps it's an application conflict with 64-bit Windows 7?

March 17, 2011

Hi Leon,

Your suggestion did not do anything except copy and paste the code from one application to another unchanged.

It seems there is no other solution other than going into the HTML code and deleting the junk that Word left in there. I found that some tags and attributes, especially the Span and the SpellE, GramE and so forth can be removed in the Design editor using the right click, Remove Attributes option, but still it's not an elegant solution. Or else the junk can be removed by using the Replace option in the HTML editor. But all the Word style attributes and junk at the top of the code has to be removed by hand it seems. And as a result of selecting and deleting that stuff, RoboHelp crashes, which is the problem I have.

Adobe developers should figure out a way to implement a "Clean HTML" feature to delete residual junk from files created in Word or any other word processor for that matter saved as HTML, or else figure out a way where the program doesn't crash when people do it themselves. I have tried such cleaning apps available online but none really get the job done.

Anyway, thanks.

Chris


This sounds like a job for HTML Tidy (http://tidy.sourceforge.net). Tidy is a command-line program, so you need to be comfortable with launching a program from a command window, but not only is it designed to clean invalid content, it has a specific option to clean M$ Word files (--word-2000 yes).

RoboHelp actually uses Tidy when you select "W3C Compliance" from the "File" menu (libtidy.dll is stored in C:\Program Files\Adobe\Adobe RoboHelp 8\RoboHTML). I haven't yet tried setting the environment variable to see if I can change RoboHelp's default Tidy configuration, but will do so when I get the chance, and report back.

If you have trouble figuring out how to use Tidy, check back and I will try to respond to any specific questions you may have.