Skip to main content
Inspiring
July 26, 2012
Answered

Has anyone else experienced this problem?

  • July 26, 2012
  • 2 replies
  • 1529 views

My project crashed again (second time in 3 weeks) when I was editing a topic in HTML view.

Just like last time, I had just deleted the <?rh-glo-start> tag on one of the lines in the topic (this is leftover "junk code" as a result of having imported a help topic generated from a RH output by mistake).

Also just like last time, I couldn't open the project after it crashed, using all the hints and tools suggested to me earlier (see http://forums.adobe.com/message/4551128#4551128). Consequently, I had to go back to my last archived version from the night before (and lost a 1/2 day's work in the process).

I can't reproduce the problem on demand. However, both incidents occurred when I did a "Save Component" while in HTML view mode.

Perhaps as a test (or a workaround), I should try switching to Design mode before I do a save (if I am editing HTML code)?

This topic has been closed for replies.
Correct answer Peter Grainge

When you switch from HTML View to Design View, RoboHelp does some code cleaning. For example, if you remove an opening span tag in HTML View, you don't need to remove the closing span tag, RoboHelp will do it for you.

Concurring with what Willam has said, I suspect that somewhere along the line you made an unintended change and by not going back to Design View, you didn't allow RoboHelp to fix it. In the case RoboHelp could not fix it, you would likely have found something wrong in Design View that you could either fix or escape from by closing that one topic unsaved.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

2 replies

Peter Grainge
Community Expert
Peter GraingeCommunity ExpertCorrect answer
Community Expert
July 27, 2012

When you switch from HTML View to Design View, RoboHelp does some code cleaning. For example, if you remove an opening span tag in HTML View, you don't need to remove the closing span tag, RoboHelp will do it for you.

Concurring with what Willam has said, I suspect that somewhere along the line you made an unintended change and by not going back to Design View, you didn't allow RoboHelp to fix it. In the case RoboHelp could not fix it, you would likely have found something wrong in Design View that you could either fix or escape from by closing that one topic unsaved.


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.
Inspiring
July 27, 2012

Willam/Peter - thanks for your insightful info. It confirms my theory that switching back to Design view before saving will most likely avoid these mysterious crashes. I did that for the rest of the day and had no more issues (after I restored my project, that is).

The one thing that still perplexes me is why my project crashes so badly that even doing all of the recommended things of:

  • deleing the CPD and use the existing XPJ file to open it
  • using RoboHelp to browse to the HHP file to open it
  • removing the topic from the project folder that I did the HTML editing

does not allow me to bring the project back up. Can one topic's code have the ability to totally corrupt an entire project to the point where it is unusable? (I guess so!)

Peter Grainge
Community Expert
Community Expert
July 30, 2012

Yes it can be the case that you simply cannot reopen a project but mercifully it is not that common. It does not mean the other topics are corrupted though, just that the rogue topic is preventing opening. Deleting it in Windows Explorer should fix that as RoboHelp should open and just show the topic as missing. Not sure what is wrong here at the moment.

You haven't started the thread with you version of RoboHelp. Also do you have all the patches applied.


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.
Willam van Weelden
Inspiring
July 27, 2012

Hi,

I have noticed that RH sometimes freezes when you create such invalid HTML that even RH chokes. In those cases I found that thrashing the CPD and replacing the last modified topic with one from a backup normally fixes the problem. You would then only have to modify the last topic again.

Greet,

Willam