Build log with a bunch of mysterious "10001" errors

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
Eric Lachance
Sr. Propeller Head
Posts: 127
Joined: Thu May 13, 2010 11:51 am
Location: Montreal, Quebec, Canada
Contact:

Build log with a bunch of mysterious "10001" errors

Post by Eric Lachance »

Hey there,

So I'm trying out Flare 11 and I imported a RoboHelp project into it (my goal is to convince my boss to let me go from RH11 to Flare 11, there's only that 1 project that's not in Flare 7!). When building the output (html5, Tripane), I'm getting a series of errors I'm not sure are even valid. For example:

Code: Select all

<LogEntry File="../../../../Content/datamapper/perspective_editor_txt.htm" Message="Missing linked source file: D:\Home\devel\Flare\OLConnect\Content\datamapper\datamapper\Toolbars.htm" LineIndex="-1" CharIndex="-1" Subsystem="Compiler" Target="PReS Connect 1_1" ErrorID="10001" />
Few things that make me wonder if this isn't a bug:
  • why a relative path with ../../../../ in the File but a full absolute path in the message? That's odd.
  • There is no folder in my project called /Content/datamapper/datamapper/ , and Toolbars.htm is actually just located in /Content/datamapper/
  • LineIndex and CharIndex are both -1 which doesn't make any sense
  • Toolbars.htm does not point to perspective_editor_txt.html and vice versa. They don't have any link between each other, at least not directly.
  • There's no entry with ErrorIDs in the Flare documentation so I can't look up causes of this error.
Can anyone help figure this out?
Eric Lachance
Technical Trainer
Objectif Lune Inc.
wclass
Propellus Maximus
Posts: 1238
Joined: Mon Feb 27, 2006 5:56 am
Location: Melbourne, Australia

Re: Build log with a bunch of mysterious "10001" errors

Post by wclass »

Not exactly sure how to solve your problem, but this might help.
In Flare 11, you can elect to show only specific warnings - there is now a Warnings tab on the Target. This tab contains a list of all the warnings, including "10001". However, all it says is "Missing linked source file" so it doesn't add much info.
I'd look for references to the missing file in related files like TOCs, browse sequences, and alias files.
Margaret Hassall - Melbourne
Eric Lachance
Sr. Propeller Head
Posts: 127
Joined: Thu May 13, 2010 11:51 am
Location: Montreal, Quebec, Canada
Contact:

Re: Build log with a bunch of mysterious "10001" errors

Post by Eric Lachance »

Actually, a linked file wouldn't be that crazy an idea, considering those files (on the right) don't actually exist... well one of them did in the past and it was renamed at one point, so maybe that's a clue (though, we're talking about an imported project, so how would it know?).

I'll do a global search, maybe that will turn out something.
Eric Lachance
Technical Trainer
Objectif Lune Inc.
Eric Lachance
Sr. Propeller Head
Posts: 127
Joined: Thu May 13, 2010 11:51 am
Location: Montreal, Quebec, Canada
Contact:

Re: Build log with a bunch of mysterious "10001" errors

Post by Eric Lachance »

Ah, there we go, I discovered at least one source of this issue: while the file noted in the log did not point to the location indicated on the right, an imported Snippet, however, did!

But the Robohelp import script failed to adjust links within snippets, so in this case the snippet was calling "datamapper/Toolbars.htm" where it should have been calling "../../datamapper/Toolbars.htm" since the snippet is located in /Resources/Snippets/.

There were also a few links that were actually wrong, a few because I moved a file once and Robohelp sucked at actually keeping its links together. Fixed those, then the warnings disappeared (all except the "this is a trial, your output will make everyone you show it to say you have typos everywhere, lol).

So, in case anyone stumbles upon this thread: ErrorID 10001 means a link is wrong in the source file. This can be in the page indicated on the left, or it can be in an included snippet/topic/etc. The LineIndex and CharIndex, as of writing this, do not work and can be ignored.
Eric Lachance
Technical Trainer
Objectif Lune Inc.
Post Reply