html help compiler crashes when building chm file

This forum is for all Flare issues related to the Microsoft HTML Help target.
This target produces "CHM" files in the output.
Post Reply
samjones6
Sr. Propeller Head
Posts: 168
Joined: Tue Mar 08, 2011 5:03 pm

html help compiler crashes when building chm file

Post by samjones6 »

Argh!

I have a Flare 6.1 project. It is a new project, imported from robohelp.

This project compiles 5 or 6 chm files, using a lot of conditional text, images, etc.

All of the chms build GREAT.... except one!

The one causes the html help compiler to crash.

How do I track down what it is choking on?

Is there a log somewhere?

Thanks!
You do not have the required permissions to view the files attached to this post.
rob hollinger
Propellus Maximus
Posts: 661
Joined: Mon Mar 17, 2008 8:40 am

Re: html help compiler crashes when building chm file

Post by rob hollinger »

After you click Do or Dont send, you should be taken back to the progress dialog.
Click on the Messages tab.
The last thing listed is what was last worked on. Thats where I would start to look.
Rob Hollinger
MadCap Software
samjones6
Sr. Propeller Head
Posts: 168
Joined: Tue Mar 08, 2011 5:03 pm

Re: html help compiler crashes when building chm file

Post by samjones6 »

Ahhh, yes.

Buried in the long stack of errors and msgs was this:

>> The specified path, file name, or both are too long.
>> The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

I shortened the name of one file, and that resolved it.

Thanks!!
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: html help compiler crashes when building chm file

Post by RamonS »

Just for the record, that is a bug in Windows, not Flare. A limitation from the DOS days that Microsoft was unable to shed to this day.
Madcap Guru
Sr. Propeller Head
Posts: 238
Joined: Tue Mar 17, 2009 10:41 pm

Re: html help compiler crashes when building chm file

Post by Madcap Guru »

Never keep long path names is the name of this story...
Rick Ferrell
____________________________

Former Flare and Robohelp Support
Image
samjones6
Sr. Propeller Head
Posts: 168
Joined: Tue Mar 08, 2011 5:03 pm

Re: html help compiler crashes when building chm file

Post by samjones6 »

RamonS wrote:Just for the record, that is a bug in Windows, not Flare. A limitation from the DOS days that Microsoft was unable to shed to this day.
I am well aware of it.

From our version control system, the path naming is deep....
kashby
Propeller Head
Posts: 39
Joined: Wed Apr 30, 2008 2:52 pm

Re: html help compiler crashes when building chm file

Post by kashby »

I've hit this several times and it keeps coming back. The problem as it was explained to me by MadCap support is actually with Flare. Some change in last year's version of Flare affected how Flare reads in the file names for runtime merging. Rather than use the path you specify, Flare tacks on some huge path that often more than doubles the path length. I resorted to moving files to my local machine, but Flare keeps changes my 85-character path (below) to exceed 260 characters. Seems like a lot of overhead to me.

"C:\SM\v1.7.4\WebHelp_TOPAZ_Pearl_MOTW\System_Monitor_TOPAZ_Pearl_MOTW_1_7_4.mcwebhelp"
Post Reply