GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
Error message when generating Descendants report


https://support.genopro.com/Topic41502.aspx
Print Topic | Close Window

By Duggleby - Thursday, June 3, 2021
Hello Everyone

I am getting this error message when I try to generate a decendant report

Generating report to 'E:\Genealogy\'
Cloning document ALL...
The privacy filter has removed 2 living individuals which represents 25% of the total document.
    To turn off the privacy filter, visit the "Privacy" tab and uncheck the option "Remove All Living Individuals".
Opening configuration file Config.xml for skin '\{EN} Descendants Report\*  (2020.06.03)'...
Loading Dictionary.xml...
[0.00] Processing template 'bootstrap.js'...
[1.42] Processing template 'Code\DescendantsReport.js'...
No Local Configuration Messages file found
To disable display of parameter settings, tick the box under 'Options' tab of 'Generate Report' dialog.
Error at line 36, position 2 (Code/DescendantsReporter.js): Object expected
    Microsoft JScript runtime error 800A138F
    
Can anyone help please?

thank you
By genome - Sunday, June 6, 2021
Line 36 attempts to display an error stating that no word processor has been found.  Do you have any of MicroSoft Word, OpenOffice or LibreOffice installed?
By Duggleby - Sunday, June 6, 2021
Hello

I have MS word installed. I also get the same message when I try to run the report but select "auto"


here is a screen capture of the report paprameters I set up.





By genome - Sunday, June 6, 2021
Hmmm, the only other time I have seen something like this was when Word was waiting on a prompt that prevented Word Automation from starting.  When you run MS Word directly, does it show a prompt of some kind? If so clearing that prompt so that it doesn't occur again may fix it.  BTW what version of Word do you have?
By Duggleby - Sunday, June 6, 2021
I am not sure what you mean by "When you run MS word directly" I have assumed if I try to open Word or a word document.
If I have assumed correctly then I do not get any prompts at all the program or document opens normally.

The screen capture I posted above is all of the information I get when I run the report using MS-Word in the parameters.

I am using word professional 2010 and it has worked on other reports I generated?

What does the line "No local configuration messages found" mean is that what is causing the problem?

I downloaded and installed LibreOffice and it works using that in the parameters?

thank you



By genome - Monday, June 7, 2021
Yes you assumed correctly about running Word 'directly' Smile

The message "No local configuration messages found" is not significant here.  It occurs when no specific language has been selected under the GenoPro Language menu item.  The script does not assume the default of EN and looks for a local config messages file (ConfgMsgLocal.xml) and displays this line when not found.  But it then assumes EN anyway. I should perhaps remove this message. 

The error handling in the script is not the best.  Blush  but if you download and the attached amended script DescendantsReporter.js to replace the existing one in your Common\Code folder it MAY give a more meaningful error.  I can't guarantee this as I am unable to reproduce the error you are getting.

N.B. Generating the report using Word is much slower than with Libre/Open Office.
By Duggleby - Monday, June 7, 2021
Downloaded the new file you attached and it wrote the report to Word no problem.

Thank you so much for you help.