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

GenoPro Support Forum




KINSHIP CALCULATOR- DIFFERENT GENOMAPS

Click to view RSS...
Author KINSHIP CALCULATOR- DIFFERENT GENOMAPS
Posted Thursday, March 13, 2025 - Post #46750
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.5.4.1

Last Login: 1 hour ago
Posts: 11, Visits: 39
Good afternoon, I'm trying to calculate the degree of kinship between two spouses. One of them has a hyperlink to another genome, and I know they're related. When I generate a report and use the kinship calculator, I get the error "Error at line 227, position 1 (Code/Utils.js): Out of memory. Microsoft JScript runtime error 800A0007." Could someone help me, please?

Tags:
Posted Saturday, March 15, 2025 - Post #46752
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: 2 hours ago
Posts: 3,416, Visits: 26,383
I can look into to this issue provided that you can respond with an anonymous sample .gno that demonstrates the problem. If you attach it to your reply here I suggest you maintain privacy by deleting individuals, genomaps etc. that are not involved in the problem and that you rename any remaining individuals and delete places.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Saturday, March 15, 2025 - Post #46754
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.5.4.1

Last Login: 1 hour ago
Posts: 11, Visits: 39
Good afternoon, the family tree has about 7,000 members, and of course, there are hyperlinks that provide access to other Genomaps, of which there are more than 80 in total.
Posted Saturday, March 22, 2025 - Post #46798
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: 2 hours ago
Posts: 3,416, Visits: 26,383
I notice that you have posted about this problem on two threads, so I have now deleted the other one.  I tried to reply to your PM but unfortunately the forum software responded with an error.

But I have a suggestion that may help resolve this issue.  I have created an amended version of the script Common\Code\kinship.js that I have attached to this post. Please download and replace the existing file in the Common\Code folder of your Report Templates folder.

The amended script attempts to detect loops in the links in your .gno and also has a debugging option.

To activate the debugging option you need to set a 'Document' Custom Tag in your .gno named Debug and set its's value to True

This is achieved by firstly creating the tag in GenoPro.exe by clicking on Tools on the GenoPro menu bar and then click Tag Editor 

https://support.genopro.com/Uploads/Images/a0a5ed67-76d8-4257-8766-a896.png




Then right click on an empty section of your Genomap and click Properties then click the Custom Tags tab and set Debug to True

https://support.genopro.com/Uploads/Images/09c42b54-f85b-4881-8141-f83d.png


Then run the failing Kinship Calculator report.  Extra messages will be written to the GenoPro Message Log.  When the report ends, open the Message Log i.e. click View on the GenoPro menu bar and then click Message Log.  Select all text in the Message Log (Ctrl / A) , copy it (Ctrl /C) 
Open a text file with Windows NotePad or similar and paste the Message Log text into it (Ctrl / V).

Reply to this post with the text file attached.


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


kinship.js (13 views, 24.15 KB)
Posted Friday, March 28, 2025 - Post #46810
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.5.4.1

Last Login: 1 hour ago
Posts: 11, Visits: 39
Good afternoon, I have tried to find the file but it does not appear in the path you indicate. I don't really know what to do. I hope you can help me.
Posted Friday, March 28, 2025 - Post #46811
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: 2 hours ago
Posts: 3,416, Visits: 26,383
The folder Common and its subfolder Code are located under your GenoPro Report Templates folder.  You can find the location of your Report Templates folder by clicking the Options tab in the GenoPro Generate Report dialogue and looking at the bottom for Skins Folder

Download the kinship.js file attached in my earlier post by right clicking on it and choosing Save Link as

BTW you can find my latest Report Templates, or Skins at Updates to Report Skin Templates since GenoPro 2020 version 3.1.0.1  Follow the instructions in that post to chnage the location of your Report Templates.

N.B. If you do install the latest skins you will need to also update kinship.js as per this thread afterwards.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Saturday, March 29, 2025 - Post #46812
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.5.4.1

Last Login: 1 hour ago
Posts: 11, Visits: 39
Good evening, I have downloaded the attached file and I have replaced it in the CODE folder and I have created the "Debug" tag and put "True" and when I generate a report in Kinship Calculator I get the following:

'Opening file 'C:\Users\Desktop\Linaje completo.gno'....

Reading file 'C:\Users‘C:\UsersRaúl Molina Recio ’Desktop" complete.gno'...

Validating data...

[Import summary]

434 GenoMaps

6828 Individuals

2305 Families

84 Marriages

8476 PedigreeLinks

3 Pictures

178 Places

111 Occupations

2 Contacts

1015 SourcesAndCitations

3 Twins

17 SocialEntities

Import completed with 0 errors!




[Search results for 'doria']

22 Individuals

10 Families

9 PedigreeLines

Unable to create Debug Manager (hr=0x80040154)

Generating report in 'C:\Users\DesktopGenoPro Reports Cave Lineage complete'

Cloning Cave Lineage complete document...

Opening the Config.xml configuration file for the template 'Kinship Calculator (2017.05.17)'...

Loading Dictionary.xml file

[0.00] Processing template file 'kinship.htm'...

Error on line 8, position 1 (Code/kinship.js): 'GnoLib' is not defined Microsoft JScript runtime error 800A1391
Posted Saturday, March 29, 2025 - Post #46813
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: 2 hours ago
Posts: 3,416, Visits: 26,383
Sorry, it looks like you will need to be using my latest Report Skin Templates from the link in my last post. If the error still persists after updating then use the amended kinship.js to obtain the diagnostics.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted 2 days ago @ 2:23 AM - Post #46814
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.5.4.1

Last Login: 1 hour ago
Posts: 11, Visits: 39
Good afternoon, I have downloaded the 2025 templates and unzipped them creating a folder on the desktop called ‘Genopro 2025’. When I generated the report I put that path and I got the same error as before.

I subsequently replaced the Kinship file you attached but the error is still like this:

"Opening the Config.xml configuration file for the template '\{EN} Kinship Calculator (2020.05.20)'....

Loading Dictionary.xml file

[0.00] Processing template file 'bootstrap.js'...

[0.89] Processing template file 'Codekinship.css'...

[0.89] Processing template file 'Codekinship.htm'...

[1.37] Error Invalid Unicode character.




Error on line 1225, position 2 (Code/GnoLib.js) generating 'kinship.htm': Exception thrown and not caught Microsoft JScript Runtime Error 800A139E
Posted 2 days ago @ 2:31 AM - Post #46815
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.5.4.1

Last Login: 1 hour ago
Posts: 11, Visits: 39
Good afternoon again, also if I go back to the previous route of the old templates I don't get the report even to calculate the relationship between two relatives of the same genomap.


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 2 - 1 guest, 0 members, 0 anonymous.
Refresh
No members currently viewing this topic!