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

Can't generate a Word doc

Community Beginner ,
Sep 29, 2023 Sep 29, 2023

Copy link to clipboard

Copied

Using RH 2022.3.93 on Windows 11.
Trying to generate a Word doc and I'm getting an error.
Viewing the log, I get the following:

Converting mergedHTML.htm
CssParser error: line 49 col 7: invalid identity. CSS => /**/
A:visited {
color: #800080;
}
A:link {
color: #0000ff;
}
/**/

/**/

Error: ENOENT: no such file or directory, lstat 'C:\Users\xxxx\AppData\Local\Temp\RHTMP\Active Alerts WordLSB4pj\Vanguard_Product_Documentation.docx'
Error: Failed to generate Active Alerts Word. Check log for more details.

 

Any help or ideas on how to fix this?

Views

217

Translate

Translate

Report

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 ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

The first part sounds like there is something in the css file that Word doesn't like. Open it, switch to code view and have a look at line 49 for any weirdness in the few lines above and below.

 

If you can't see anything weird, you can test the theory by renaming the css file outside of Robohelp (e.g. just change the css extension to .css1). That'll break the link. Everything will look wrong, but try generating to see if that gets rid of the first error. If you still get the error, you know it's not in the css file. Post back with how you go and we can try to think of other ideas.

 

The second part could be a permission error. Double-check with your IT guys that you have read/write permission for the AppData folder and sub folders (you usually should have, but sometimes IT do weird things)

Votes

Translate

Translate

Report

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 Beginner ,
Oct 02, 2023 Oct 02, 2023

Copy link to clipboard

Copied

Amebr,

 

I did what you suggested and still have errors. The first error isn't there anymore, but I have the following:

Converting mergedHTML.htm

Error in declaration 7 of table {

                border-spacing: 0px;

                width: 480;

                border-collapse: collapse;

                mso-table-layout-alt: fixed;

                border: none;

                mso-border-alt: solid #999999 .5pt;

}

CssParser error: line 1 col 184: "}" expected.  CSS => table{border-spacing:0px;width:480;border-collapse: collapse; mso-table-layout-alt: fixed;     border: none; mso-border-alt: solid #999999 .5pt; mso-border-bottom-alt: solid silver .5pt;     mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-border-insideh: .5pt solid #999999;     mso-border-insidev: .5pt solid #999999;}

Error in declaration 10 of td {

                border-spacing: 0px;

                width: 166;

                vertical-align: top;

                border-top: none;

                border-left: solid #9999991 .0pt;

                border-bottom: solid #C0C0C0 1.0pt;

                border-right: solid #9999991 .0pt;

                mso-border-top-alt: solid #999999 .5pt;

                mso-border-alt: solid #999999 .5pt;

}

 

Is it looking for a table definition style? And how do I even find the errors in the content? This new version of RH isn't showing where to look.

Votes

Translate

Translate

Report

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 ,
Oct 02, 2023 Oct 02, 2023

Copy link to clipboard

Copied

LATEST

mso in a CSS file suggests content has been imported from Word and those lines often causes issues. 

 

Try commenting them out.

________________________________________________________
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.

Votes

Translate

Translate

Report

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