GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Narrative Report error

Click to view RSS...
Author Problem generating TOC in Narrative Report on new laptop
Posted Monday, July 19, 2021 - Post #41592
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
GenoPro version: 2.5.3.9

Last Login: Sunday, July 25, 2021
Posts: 34, Visits: 275
When generating Narrative Report on new HP Windows 10 machine:

Error XTSE0010 in file:///C:/Program%20Files%20(x86)/wkhtmltopdf/bin/wkhtmltopdf.exe, at line 33, column 13: Parse error: Opening and ending tag mismatch.
Loading TOC (3/6)
Error XTSE0010 in file:///C:/Program%20Files%20(x86)/wkhtmltopdf/bin/wkhtmltopdf.exe, at line 33, column 13: Parse error: Opening and ending tag mismatch.

I can run the same report on my old Lenovo machine with no such error, but I suspect the versions of wkhtmltopdf.exe are different.

Note that I have added the latest Skins to my new machine, which wouldn't load pictures in to the report beforehand. It now does so correctly. The Skin it's using for the report still shows as 2020-03-13, although the version.txt in the Skins folder says it should be 2021.03.20!

Please note also that I'm using GenoPro v3.1.0.1

Edited: Tuesday, July 20, 2021 by 233275
Posted Thursday, July 22, 2021 - Post #41600
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Saturday, September 11, 2021
Posts: 3,105, Visits: 22,556
Yes, most certainly a new version of hkhtmltopdf.exe found this.  I found that the link tag in Common\Code\toc.xsl was not properly closed, causing this issue.  An amended zipped version is attached. Download and unzip into your Common\Code folder.

Surprised the PDF output from Narrative Report is still being used, it was a bit of a hack. BigGrin


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


toc.zip (24 views, 2.53 KB)
Posted Sunday, July 25, 2021 - Post #41604
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
GenoPro version: 2.5.3.9

Last Login: Sunday, July 25, 2021
Posts: 34, Visits: 275
Many thanks. That seems to work ok now. The only other issue I'd noted was that there was an extra parameter "--enable-local-file-access" on the wkhtmltopdf command line, even though I had no link options set on the Generate Reports Options menu. But I couldn't see how that could've affected the TOC.

Whilst the PDF Report does have its problems, notably on page boundaries, I do find it useful on occasions.

Thanks again.


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse