Skip navigation
wksistemas
Currently Being Moderated

Compile error RH 9 (Microsoft Help HTML)

Jan 28, 2013 8:43 AM

Tags: #issue #robohelp_9 #chm #rh9 #microsoft_html_help #hhc #hha_version_4.74.8702

When I try to create the CHM file from a project of RoboHelp 9, the compilation presents an internal error approximately at 50%. When I close the message, the application also closes. The message mentions the .err  file wich has the following message:

 

HHA Version 4.74.8702

htmlproc.cpp(114) : Assertion failure: (pszTmp == m_pCompiler->m_pHtmlMem->psz)

 

Making some tests, it appears to me that the limitation is in the quantity os key words included in the project, but, I have another project much bigger wich doesn´t shows the error. I´ve already compared the configurations of each project and there is no difference.

 

I´m using Microsoft HTML Help as primary output and to generate the CHM I click at the icon Generate Primary Layout.

 

The applications it is been used in Windows 7 Ultimate 64 bits.

 

Has anyone faced this problem? Any suggestions?

 

Thank you.

 
Replies
  • RoboColum(n)
    5,358 posts
    Oct 8, 2004
    Currently Being Moderated
    Jan 28, 2013 9:05 AM   in reply to wksistemas

    This could be caused by the length of the path where your project source files are. The Microsoft HTML Help compiler has some issues if the path is too long. Try moving your source to a directory off your C: drive (e.g. C:\Source) and recompile.

     
    |
    Mark as:
  • RoboColum(n)
    5,358 posts
    Oct 8, 2004
    Currently Being Moderated
    Jan 28, 2013 9:42 AM   in reply to wksistemas

    Can you tell us what the path is you are using including the project directory name?

     
    |
    Mark as:
  • RoboColum(n)
    5,358 posts
    Oct 8, 2004
    Currently Being Moderated
    Jan 29, 2013 2:24 AM   in reply to wksistemas

    Thank you. That all looks OK. Im not sure if the keywords are the issue. How many do you have in the project? You can prove / disprove this by creating a new project with a couple of topics. Next create a new index file (right click on the Index in the Project Manager pod and select New Index) and copy the entried from the troublesome project into it. Now select the new index in the Microsoft HTML Help single source layout and compile. Don't worry about the fact that the topics do not exist.

     
    |
    Mark as:
  • RoboColum(n)
    5,358 posts
    Oct 8, 2004
    Currently Being Moderated
    Jan 29, 2013 4:03 AM   in reply to wksistemas

    That last test proves that the index keywords are not the issue. What is the part you are generating the CHM to? Does it have any spaces or special characters (e.g. $)? If it doesn't try created a new Microsoft HTML Help single source layout using the same settings - don't duplicate the existing one - and see if that helps.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 29, 2013 4:56 AM   in reply to wksistemas

    I think Colum meant "path" rather than "part".

     

    Try creating a temporary build tag and apply it to half the topics in the Topic List. You can multi select there. Then use your new layout and exclude those topics. If still a problem compiling, remove tag from those topics and try the other half.

     

    Hoping it will start to identify a problem topic.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 29, 2013 9:45 AM   in reply to wksistemas

    @ wksistemas Egh?

     


    See www.grainge.org for RoboHelp and Authoring tips

     

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 29, 2013 11:06 AM   in reply to wksistemas

    The objective here is to see if one half compiles and the other half fails. Of course the half tagged will be as if those topics were deleted. That's the point. If tagging them out then allows the compilier to run, you know the problem is in the half that was tagged out.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 30, 2013 2:18 AM   in reply to wksistemas

    So if you exclude half the topics, it is OK, if you exclude the other half it is OK, if you include all, it errors. Correct?

     


    See www.grainge.org for RoboHelp and Authoring tips

     

     

    @petergrainge

     
    |
    Mark as:
  • RoboColum(n)
    5,358 posts
    Oct 8, 2004
    Currently Being Moderated
    Jan 30, 2013 2:42 AM   in reply to wksistemas

    In that case there can't be anything wrong with the topic content. There must be a problem somewhere else. Try generating using a new TOC, Index, Glossary (if you have one) in turn and see if it compiles.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points