|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Friday, June 13, 2025
Posts: 264,
Visits: 1,758
|
My genopro file was working fine a few days ago, and then I decided to make a few changes, and now I'm getting the above error when I run my report. Error at line 582 (Code/Lang.vbs) generating 'Epirot-AlexiosI-ind00127.htm': Invalid procedure call or argument: '[string: "(null)"]' Microsoft VBScript runtime error 800A0005 The family tree is the genealogy of a Royal Family from a computer game. As I'm playing, I'm updating my genopro file. I thought it would be neat to put all the "Despots" and "Patriarchs" on their own genomaps, so I individually selected each one, and copied them to a new GenoMap. GenoPro didn't like this and gave me an error, so I deleted the copied individuals, and then deleted the GenoMap. AlexiosI-ind00127 is one of the Despots that I "moved" and then deleted. I've also been trying to update all the Place fields. I've been typing in dozens of places and think they are saved, but then they are being deleted out of the tree. Does genopro not save a Place if there is no reference to it? How do I get around this? I'm now getting that error I listed above every time I run the Report Generator. How do I fix this?
Edited: Monday, July 9, 2007 by
GenoProSupport
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Monday, June 2, 2025
Posts: 4,886,
Visits: 22,796
|
Nick K (7/9/2007) I'm now getting that error I listed above every time I run the Report Generator. How do I fix this?Do you get this error when generating a report using the native "English Narrative Report"? If you get an error using a custom skin, then compare what you modified from the original skin.
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Friday, June 13, 2025
Posts: 264,
Visits: 1,758
|
It somehow had been changed to a Customized Report .. I'm not sure if I did that. Changed it back to the standard, and reran the Report Generator.Got the same error, except at line 640, not 582: Error at line 640 (Code/Lang.vbs) generating 'Epirot-AlexiosI-ind00127.htm': Invalid procedure call or argument: '[string: "(null)"]' Microsoft VBScript runtime error 800A0005
Edited: Monday, July 9, 2007 by
GenoProSupport
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Monday, June 2, 2025
Posts: 4,886,
Visits: 22,796
|
You are welcome to send me a sample file causing this VBScript runtime error. I will take a look at the problem. Ron is currently away for a few days, so if the problem is too deep, you will have to wait a few days for the fix.
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Friday, June 13, 2025
Posts: 264,
Visits: 1,758
|
File emailed ... I have no problem waiting a few days for a solution. Please let me know if it was something I did that messed things up.Thanks
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Monday, June 2, 2025
Posts: 4,886,
Visits: 22,796
|
I have received your file and able to reproduce the problem. I will post a solution in one hour.
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Monday, June 2, 2025
Posts: 4,886,
Visits: 22,796
|
Under a rare condition, there is no family. The variable f is therefore a null object.The solution is to add the following two lines of code in yellow in file Util.vbs, at line 640: fOrdered = True If (Not Util.IsNothing(f)) Then If f.Children.OrderUnknown Then fOrdered = False ElseIf f.Children.Order.ToGenoCollection.Count = 0 Then If i.Birth.Date.ToStringNarrative = "" Then fOrdered = False Else For Each c in i.Siblings.All.ToGenoCollection If c.Birth.Date.ToStringNarrative = "" Then fOrdered = False Exit For End If Next End If End If fEndOfLine = (f.FamilyLine.ID = "" Or f.FamilyLine.ID = "NoMoreChildren") End If |
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Friday, June 13, 2025
Posts: 264,
Visits: 1,758
|
Thank you for the quick turnaround on this fix ... I'm having some difficulty implementing it though.I found files Util.VBS in the following directories: C:\Program Files\GenoPro Beta\Skins\English Narrative Report\Code (16 KB file) C:\Program Files\GenoPro\Skins\Customized English Narrative Report\Code (52 KB file) I opened both files with Notepad, and did a visual scan for the code you listed above and did not see it in either file. I then searched through both files with keywords listed in the code (eg, i.Birth, NoMoreChildren, etc) and still could not find any code that matched what you had written above. Am I looking at the right files? in the right directories? Am I opening Util.VBS will the right program (Notepad)? I currently have version 2.0.0.7 ... I can wait if you prefer to roll this fix into 2.0.0.8+. Thanks
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Monday, June 2, 2025
Posts: 4,886,
Visits: 22,796
|
The faulty line is f.Children.OrderUnknown there f is null. Try searching for this expression.Version 2.0.0.7 has a bug for customizing a report. This bug is very embarassing because it could have been avoided. I have fixed it on my machine, however I cannot release 2.0.0.8 because I am upgrading the phrase generator, and the code is unusable. On the other hand, you are welcome to use the following attachment and customize it. The file EnglishNarrativeReport.zip has an identical skin as what was bundled with version 2.0.0.7.
EnglishNarrativeReport.zip
(192 views,
307.95 KB)
Edited: Wednesday, July 11, 2007 by
GenoProSupport
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Friday, June 13, 2025
Posts: 264,
Visits: 1,758
|
After downloading the .zip file above, installing the files (util.vbs is in directory C:\Program Files\GenoPro\Skins\Code ), and rebooting my machine, I am still getting the same error at the same line of code.How shall I proceed? (wait for 2.0.0.8? email you the file?)
|