Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Error when generating Word output in Robohelp Version 2022.5.28

New Here ,
Jan 14, 2025 Jan 14, 2025

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?

293
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 14, 2025 Jan 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-outp... ? It seems to find some overlapping CSS style commands were at fault.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 14, 2025 Jan 14, 2025

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

 

Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 29, 2025 Jan 29, 2025

The solution suggested in the other thread was:

 

". . . . In a couple of my topics's source code, some lines had both inline style and a css class. When I removed the inline style, it generated without error. "

 

I have searched through all of the source code and found two instances of an inline style and css class in the same line. I removed them both, and still get the error.

 

RH is really trying my patience . . . .

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 29, 2025 Jan 29, 2025

Have you tried Peter's suggestion of the "divide & conquer" route?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 14, 2025 Jan 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.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 03, 2025 Mar 03, 2025
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp