Skip to main content
Participant
January 14, 2025
Question

Error when generating Word output in Robohelp Version 2022.5.28

  • January 14, 2025
  • 3 replies
  • 329 views

I have seen discussions about this here but no solutions. I'm wondering if anyone can advise, other than to say contact Support, as that does not seem to garner a solution either.

 

I have four seperate RH projects, all created by me on the same local drive on the same version of RH. For two of these projects, I am able to generate Word output without issue. But when I try to output to Word on the other two, RH snags at the "Converting mergedHTML.htm" stage and the log contains the following:

 

 . . . . . . .

Merging contents/microcontent/Transaction_Inquiries_Reports_and_Logs.htm...

Merging contents/microcontent/Roles.htm...

Merging contents/microcontent/Fleet_Card_Programs.htm...

Converting mergedHTML.htm

ENOENT: no such file or directory, lstat 'C:\Users\SAMUEL~1\AppData\Local\Temp\RHTMP\Word DocumentpdBiCJ\Fleet 360 Help Word Version.docx'

Failed to generate Word Document. Check log for more details.

= == == == == == == == == =

 

I know that the "file or directory" the error says does not exist does exist because I can watch it being created in the RHTMP folder when I genrate output. Plus, since the output generation fails, the folder is not auto-deleted and remains in the RHTMP directory even after the failure. How is RH not seeing a folder that it is creating?!?!

 

Does anyone here have any insight into this issue?

    3 replies

    Community Expert
    March 3, 2025

    I have found that "fancy" css can trip up the word conversion.

     

    To test if it could be something in your css file, create a blank css file and use that instead of your normal css. Everything will look wrong, but if the generation finishes, you know it's something in your css file.

    Peter Grainge
    Community Expert
    Community Expert
    January 14, 2025
    1.  Where are these projects on your hard drive? Are they near the root rather than in Documents > My RoboHelp Projects?
    2.  When you have tried @Jeff_Coatsworth solution, try Divide and Conquer. See Item 1 at https://www.grainge.org/RoboHelp_Gems/RoboHelp_Gems.htm#generating

    ________________________________________________________

    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Jeff_Coatsworth
    Community Expert
    Community Expert
    January 14, 2025

    The fact that it works for 2 projects and not for 2 others seems to indicate that there's something in the "bad" projects that's tripping it up. Did you see this thread - https://community.adobe.com/t5/robohelp-discussions/enoent-no-such-file-or-directory-lstat-word-output-error/m-p/14362522 ? It seems to find some overlapping CSS style commands were at fault.

    SamuelROAuthor
    Participant
    January 14, 2025

    I didn't see that. Will check the source code . . .

     

    Thanks!