Flare 4 madbuild errors building PDF

This forum is for all Flare issues not related to any of the other categories.
Post Reply
Paul S. Vickery
Jr. Propeller Head
Posts: 3
Joined: Mon Sep 17, 2007 4:32 am
Location: Exeter, Devon, UK

Flare 4 madbuild errors building PDF

Post by Paul S. Vickery »

Hi,

In Flare 4, using madbuild to generate PDFs on the command-line in Vista 64-bit and XP 32-bit it errors looking for a hyphenation database:

- create new project, with PDF target
- open command-prompt, and run madbuild on the project:

<path-to-madbuild>\madbuild -project TestProject.flprj -target "MyPDF"
Compiling target MyPDF...
Removing previously generated content...
Checking if auto-sync of any import file is needed...
Gathering Glossary information...
Gathering Auto-index information...
Loading Master TOC...
Processing Master TOC...
Generating Glossary...
Processing Page Layouts...
Collecting source files...
Processing source files...
Processing topic: Welcome.htm
Processing CSS: Resources\Stylesheets\Styles.css...
Processing topic: Introduction.htm
Processing topic: Whats new.htm
Processing topic: Getting Started.htm
Processing topic: Procedure 1.htm
Processing topic: Procedure 2.htm
Processing topic: Overview a.htm
Processing topic: Procedure 1a.htm
Processing topic: Procedure 2a.htm
Processing topic: Information.htm
Linking cross-references...
Creating chapters...
Paginating...
Loading hyphenation databases...Missing hyphenation database file c:\progra~2\madcap~1\madcap~4\flare.app\Resources\Databases\en-gb.mcwdb\en-gb.sdf
Missing hyphenation database file c:\progra~2\madcap~1\madcap~4\flare.app\Resources\Databases\en.mcwdb\en.sdf
Loading hyphenation engine...Error: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

- the PDF is not built

The files it reports as missing are indeed not anywhere on my disk.

The above was on Vista 64, but the same steps on XP (32-bit) give the same error - though without the last line (Error: An attempt...) - but then carries on and builds the PDF anyway.

The PDF is always built correctly from within Flare, without any errors, on both Vista 64 and XP 32.

Incidentally, if I change the project or target language from UK to US, it errors looking for en-us rather than en-gb.

Has anyone else had a problem with this? Any ideas on a solution/workaround?

Thanks,

Paul.
kSlkj39j
Jr. Propeller Head
Posts: 5
Joined: Mon Mar 10, 2008 2:47 pm

Re: Flare 4 madbuild errors building PDF

Post by kSlkj39j »

I'm seeing exactly the same thing. PDFs build fine when the target is built from within Flare v4.1, but not from the command line. The output directory has .htm files for each topic, but the last step of converting them to PDFs does not happen.

Using Windows XP Pro x64. Here's the last part of my log file:

Paginating...
Loading hyphenation databases...Missing hyphenation database file C:\Program Files (x86)\Madcap\Flare4\Flare.app\Resources\Databases\en-us.mcwdb\en-us.sdf
Missing hyphenation database file C:\Program Files (x86)\Madcap\Flare4\Flare.app\Resources\Databases\en.mcwdb\en.sdf
Loading hyphenation engine...Error: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
------------------------------------------------------------
*** Project build completed ***
------------------------------------------------------------
The current time is: 9:00:08.74
The process took 0 hour(s), 3 minute(s), and 59 second(s).
gwadmin
Propeller Head
Posts: 41
Joined: Thu Feb 16, 2006 8:37 am
Location: Boston, MA

Re: Flare 4 madbuild errors building PDF

Post by gwadmin »

argh. I'm hitting this same error now... (early a.m. on a deadline at a highly inconvenient time, naturally).

Has anyone heard of a fix for this? I'd be absolutely fine with skipping the hyphenation altogether.... so I went into the stylesheet and set mc-hyphenate to 'never' for html/body/head/hx tags -- no luck...same issue.
gwadmin
Propeller Head
Posts: 41
Joined: Thu Feb 16, 2006 8:37 am
Location: Boston, MA

Re: Flare 4 madbuild errors building PDF

Post by gwadmin »

gradually narrowing it down....it's something awry in a stylesheet that's crashing things...
Post Reply