Microsoft VBScript runtime error 800A0005
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        


12»»

Microsoft VBScript runtime error 800A0005 Expand / Collapse
Author
Message
Post #18431 Posted 7/9/2007 2:45:58 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: 7/17/2008 7:24:30 PM
GenoPro Version: 2.0.1.5
Posts: 36, Visits: 208

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?

Post #18432 Posted 7/9/2007 3:54:51 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:00:02 PM
GenoPro Version: 2.0.1.6
Posts: 3,427, Visits: 14,248
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.

Post #18434 Posted 7/9/2007 7:28:45 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: 7/17/2008 7:24:30 PM
GenoPro Version: 2.0.1.5
Posts: 36, Visits: 208
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

Post #18436 Posted 7/9/2007 7:41:15 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:00:02 PM
GenoPro Version: 2.0.1.6
Posts: 3,427, Visits: 14,248
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.

Post #18450 Posted 7/10/2007 11:34:04 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: 7/17/2008 7:24:30 PM
GenoPro Version: 2.0.1.5
Posts: 36, Visits: 208
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

Post #18451 Posted 7/10/2007 1:07:57 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:00:02 PM
GenoPro Version: 2.0.1.6
Posts: 3,427, Visits: 14,248
I have received your file and able to reproduce the problem.  I will post a solution in one hour.

Post #18452 Posted 7/10/2007 1:17:53 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:00:02 PM
GenoPro Version: 2.0.1.6
Posts: 3,427, Visits: 14,248
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



Post #18454 Posted 7/10/2007 2:58:45 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: 7/17/2008 7:24:30 PM
GenoPro Version: 2.0.1.5
Posts: 36, Visits: 208
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

Post #18455 Posted 7/10/2007 4:10:03 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master