* Duplicate spouses
Duplicate spouses
I was wondering if there was a plugin (or anything in FH) where I could search for an individual has the same spouse listed multiple times.
- tatewise
- Megastar
- Posts: 27086
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Duplicate spouses
Yes, you can do that with a custom Query, so I have moved the posting to the FH General Usage forum.
The Rows tab filters need to compare all reasonable combinations of spouses.
So allowing for 4 spouses, 1st spouse is compared with 2nd, 3rd & 4th spouse, 2nd spouse with 3rd & 4th, and 3rd with 4th.
e.g.
Condition: Add if...
Expression: =IsSameItem( %INDI.~SPOU[1]>%, %INDI.~SPOU[2]>% )
Operator: is true
then repeat for [1] v [3], [1] v [4], [2] v [3], [2] v [4], [3] v [4]
If you are unfamiliar with custom Queries see FHUG Knowledge Base An Overview of Queries.
If still not clear enough then ask for more detailed advice.
Roz, can you let us know your FH version in the profile on the right of your posting.
Click on your user name Roz7380, navigate to Edit Profile, select the Family Historian Version, then scroll down to SUBMIT.
The Rows tab filters need to compare all reasonable combinations of spouses.
So allowing for 4 spouses, 1st spouse is compared with 2nd, 3rd & 4th spouse, 2nd spouse with 3rd & 4th, and 3rd with 4th.
e.g.
Condition: Add if...
Expression: =IsSameItem( %INDI.~SPOU[1]>%, %INDI.~SPOU[2]>% )
Operator: is true
then repeat for [1] v [3], [1] v [4], [2] v [3], [2] v [4], [3] v [4]
If you are unfamiliar with custom Queries see FHUG Knowledge Base An Overview of Queries.
If still not clear enough then ask for more detailed advice.
Roz, can you let us know your FH version in the profile on the right of your posting.
Click on your user name Roz7380, navigate to Edit Profile, select the Family Historian Version, then scroll down to SUBMIT.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- BillH
- Megastar
- Posts: 2184
- Joined: 31 May 2010 03:40
- Family Historian: V7
- Location: Washington State, USA
Re: Duplicate spouses
You could also use the plugin Show Project Statistics and look for the exception Spouse link is duplicated.
Bill
Bill
- tatewise
- Megastar
- Posts: 27086
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Duplicate spouses
I'd forgotten about that Bill, in my own plugin 
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Duplicate spouses
i have tried running the plug in twice, and both times got the error below
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:4930: attempt to get length of a boolean value (local 'arrSnapshots')
stack traceback:
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:4930: in function 'UpdateStatistics'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]
in function <[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:3695>
(...tail calls...)
[C]: in function 'iuplua.MainLoop'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]
in field 'ShowDialogue'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]
in function 'GUI_MainDialogue'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:4990: in main chunk
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:4930: attempt to get length of a boolean value (local 'arrSnapshots')
stack traceback:
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:4930: in function 'UpdateStatistics'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]
(...tail calls...)
[C]: in function 'iuplua.MainLoop'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:4990: in main chunk
- tatewise
- Megastar
- Posts: 27086
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Duplicate spouses
Are you running it in a Project or with a Standalone GEDCOM?
Show Project Statistics is designed to run in a Project.
Standalone GEDCOM do not have Snapshot files and that is the problem.
Show Project Statistics is designed to run in a Project.
Standalone GEDCOM do not have Snapshot files and that is the problem.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
-
andrewbraid
- Famous
- Posts: 124
- Joined: 30 Jul 2005 09:18
- Family Historian: V7
- Location: Leeds, Yorkshire
Re: Duplicate spouses
Mike
I have an instance of the same couple remarrying (I assume after first divorcing as one of them married somebody else in the interim). Does the Show Project Statistics plugin check the date of the marriages in cases where the error report explanation 'Spouse is duplicated' occurs? If not should it and not create the error report?
I have an instance of the same couple remarrying (I assume after first divorcing as one of them married somebody else in the interim). Does the Show Project Statistics plugin check the date of the marriages in cases where the error report explanation 'Spouse is duplicated' occurs? If not should it and not create the error report?
Andrew Braid
- tatewise
- Megastar
- Posts: 27086
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Duplicate spouses
Andrew, the simple answer is to run the plugin and see what it reports.
That saves me having to concoct the spouse structure that you have described and possibly setting it up incorrectly.
In any case, remember that exception reports are just warnings of possible errors and cannot cater for all scenarios.
That saves me having to concoct the spouse structure that you have described and possibly setting it up incorrectly.
In any case, remember that exception reports are just warnings of possible errors and cannot cater for all scenarios.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
-
andrewbraid
- Famous
- Posts: 124
- Joined: 30 Jul 2005 09:18
- Family Historian: V7
- Location: Leeds, Yorkshire
Re: Duplicate spouses
Mike
Thanks. I guess remarrying could well be described as an exception.
Thanks. I guess remarrying could well be described as an exception.
Andrew Braid
Re: Duplicate spouses
If a couple remarry, is that a completely new relationship (via new spouse tab - link to an existing record) or a restoration of the previous relationship with the addition of a new marriage event to the family record (which then reads: Married / Divorced / Married)?andrewbraid wrote: ↑14 Apr 2022 07:14I have an instance of the same couple remarrying (I assume after first divorcing as one of them married somebody else in the interim).
How do people handle it? Does it make any difference if one or both parties marry someone else after the first divorce before remarrying the original spouse after the end of the second relationship.
David
Running FH 6.2.7. Under Wine on Linux (Ubuntu 22.04 LTS + LXDE 11)
Running FH 6.2.7. Under Wine on Linux (Ubuntu 22.04 LTS + LXDE 11)
- tatewise
- Megastar
- Posts: 27086
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Duplicate spouses
Assuming one or other of the partners marries somebody else in between then it is better to create a new Spouse tab and Family record for the remarriage. Then the chronology of the multiple partnerships is reflected in the multiple tabs.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Duplicate spouses
But in a diagram it looks as if they were married to more "physical spouses" than they actually were and children who share both parents (but of different "marriage cycles) appear on the diagram as if they are half siblings.
Plus people tend to say things like "at the end of his life he was back married to his first wife" - who on the diagram is a physically different "box".
I suppose if you get the text scheme adequately sorted out you can read the real situation and in the end I suppose it depends what is the primary focus, the "spouse" or "the marriage". As discussed elsewhere FH is stronger on the depiction of people than of relationships?
Plus people tend to say things like "at the end of his life he was back married to his first wife" - who on the diagram is a physically different "box".
I suppose if you get the text scheme adequately sorted out you can read the real situation and in the end I suppose it depends what is the primary focus, the "spouse" or "the marriage". As discussed elsewhere FH is stronger on the depiction of people than of relationships?
David
Running FH 6.2.7. Under Wine on Linux (Ubuntu 22.04 LTS + LXDE 11)
Running FH 6.2.7. Under Wine on Linux (Ubuntu 22.04 LTS + LXDE 11)