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 Wednesday, May 28, 2025 - Post #46951
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: Yesterday @ 10:27 PM
Posts: 3,429, Visits: 26,550
I continue to work on this problem from time to time.  Whilst I have yet to fully resolve the issues with step and half relationships, I did come across a coding error in the handling of hyperlinks. I attach a revision of kinship.js to replace the version in the Common\Code folder from my Skins2025.03.30 bundle which you might like to try out but I doubt if it will fix your problem due to the following:

But looking at your last post it appears to suggest you have invalid xml data in one of your genomaps giving rise to the 'Error Invalid Unicode Character.' error message.

In order to check on this can you first export your .gno file to XML format  (on GenoPro File menu, click Export, then Export to XML Format)

Then open the resulting .xml file in a browser e.g. Chrome or Edge.  If there is invalid data then the browser should flag up the position of the invalid Unicode character.


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


kinship.js (1 view, 24.14 KB)
Posted Thursday, April 24, 2025 - Post #46884
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.5.4.1

Last Login: Monday, May 12, 2025
Posts: 15, Visits: 61
Good afternoon, don't worry. Thank you very much for all your help and I look forward to hearing from you to see if we can find a solution. Best regards.
Posted Thursday, April 17, 2025 - Post #46864
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: Yesterday @ 10:27 PM
Posts: 3,429, Visits: 26,550
I am still investigating, but with spring having arrived I spend a great deal of my time in my garden and have less time for GenoPro support.  

One thing I did discover was that GenoPro's Report Generator does not seem to see Document Custom Tags unless the .gno concerned has been saved with the Custom Tag set, then closed and re-opened.  This is possibly why no diagnostic messages were seen in your tests.

During my testing I have found other issues with the Kinship Calculator relating to step and half relations.  I am working on resolving these issues too before releasing an update.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Thursday, April 17, 2025 - Post #46863
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.5.4.1

Last Login: Monday, May 12, 2025
Posts: 15, Visits: 61
Good afternoon, did you find a solution to my question?
Posted Thursday, April 3, 2025 - Post #46834
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.5.4.1

Last Login: Monday, May 12, 2025
Posts: 15, Visits: 61
Good evening, I have followed the steps you indicated and it does not allow me to calculate the degree of kinship. For example, two relatives of the same genomap (without one of them having a hyperlink to another genomap) I get the following error:

Generating report in 'C:\Usersers...'

Cloning document 'Complete Cave Lineage' ...

Opening the configuration file Config.xml for the template “Kinship Calculator (2025.03.20)”...

Loading Dictionary.xml file

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

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

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

No Local Configuration Messages file found

Version 2025.03.22




On the other hand, when one of them does have a hyperlink, I get the following error:




Generating report in 'C:\Usersers...'

Cloning document 'Lineage of the Cave complete'...

Opening the Config.xml configuration file for the template “Kinship Calculator (2025.03.20)”...

Loading Dictionary.xml file

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

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

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

[1.93] Error Invalid Unicode Character.




[1.93] Load of GenoPro Document into MS XML Parser failed


when there are two relatives of the same genomap (without hyperlink) I select in the report source data the current genomap. While when one of them is hyperlinked I change it to all genomaps.
Posted Thursday, April 3, 2025 - Post #46833
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: Yesterday @ 10:27 PM
Posts: 3,429, Visits: 26,550
Good Morning,
I really do not understand what is going on with this. Perhaps I'm getting 'too long in the tooth' Unsure

But a couple of comments:
  1. I would not expect to see '1st time run' messages if this is the 2nd time you've tried this.  
  2. If the 'Document' Debug Custom tag has been set to True I would expect to see Version 2025.03.22 with debugging and not just Version 2025.03.22
UPDATE: I have two similar test .gno files based around the Harry Potter sample.  Strangely with one the Debug tag is not detected by the script whilst with the other .gno the tg is detected.  I am still trying to work out why this but it is a bit of a head scratcher.

Also have you tried the Kinship Calculator on the sample Harry Potter Tree?  (via GenoPro menu: Help / Sample Files  / HarryPotter.gno)


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


Edited: Thursday, April 3, 2025 by genome
Posted Wednesday, April 2, 2025 - Post #46830
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.5.4.1

Last Login: Monday, May 12, 2025
Posts: 15, Visits: 61
Good evening, I have done what you have indicated and I get the following:

Generating report in 'C:\Users...'

Cloning document Cave Lineage complete...

Opening the configuration file Config.xml for the template “Kinship Calculator (2025.03.20)”...

Loading Dictionary.xml file

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

1st time run - One time initialisation required to link to Common\Code folder

0

1st time run - Success linking to Common\Code folder.

[2.89] Processing template file 'Code\kinship.css'...

[2.92] Processing template file 'Code\kinship.htm'...

No Local Configuration Messages file found

Version 2025.03.22
Posted Wednesday, April 2, 2025 - Post #46829
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: Yesterday @ 10:27 PM
Posts: 3,429, Visits: 26,550
Well we are not having a great deal of success!

Could you try setting the Document Debug Custom Tag to True and also unset the Generate Report Option to not display Parameter Configuration Settings and then run your report again please. 

https://support.genopro.com/Uploads/Images/8c48be1f-b51a-4b6f-8ef1-7525.png


With Debug correctly set I expect to see the line 

Version 2025.03.22 with debugging

in the Message Log, and maybe some helpful diagnostic messages Ermm


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Tuesday, April 1, 2025 - Post #46827
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.5.4.1

Last Login: Monday, May 12, 2025
Posts: 15, Visits: 61
Good evening, when I perform the above steps and try to generate a kinship calculator report I get the following message:

Generating report in 'C:\Users.....DocumentsGenoPro Reports Full Cave Lineage'

Cloning document Full Cave Lineage...

Opening the configuration file Config.xml for the template “Kinship Calculator (2025.03.20)”...

Loading Dictionary.xml file

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

1st time run - One time initialisation required to link to Common\Code folder

0

1st time run - Success linking to Common\Code folder.

[2.89] Processing template file 'Code\kinship.css'...

[2.92] Processing template file 'Code\kinship.htm'...

No Local Configuration Messages file found

Version 2025.03.22
Posted Sunday, March 30, 2025 - Post #46823
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: Yesterday @ 10:27 PM
Posts: 3,429, Visits: 26,550
Step 3 follows 4 & 5


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


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 3 - 1 guest, 2 members, 0 anonymous.
Refresh