*Clean Living Persons plugin error

Writing and using plugins for Version 5 and above.
Post Reply
adebarnecutt
Newbie
Posts: 2
Joined: 21 Jan 2006 14:14
Family Historian: V6
Contact:

Clean Living Persons plugin error

Post by adebarnecutt » 28 Jan 2018 17:15

Hi
I have been trying to create a file that I can use on Ancestry and have been trying to use the Clean Living Persons plugin to remove some of the information I do not want to be public. However every time I run the plugin I get a plugin error message see attached picture.
I am working on a standalone gedcom file created from my FH project using File>Import/Export>Export> GEDCOM File.
Any suggestions as to what I might be doing incorrectly?
Regards
Adrian
Attachments
pluginerror.JPG
pluginerror.JPG (25.49 KiB) Viewed 2127 times

User avatar
tatewise
Megastar
Posts: 16175
Joined: 25 May 2010 11:00
Family Historian: V6.2
Location: Torbay, Devon, UK
Contact:

Re: Clean Living Persons plugin error

Post by tatewise » 28 Jan 2018 17:54

Sorry about that Adrian.

I suspect you have set the rule For any Facts and LDS Ordinances to remove them all except BMD Years as that is the only rule that changes Dates, and from a Plugin code inspection, that is where the error arises.

The problem is caused by a BMD Fact with an empty Date field, which I think must exist in your original Project data before exporting the GEDCOM file.

I believe that would only arise if the Date value had been deleted, but the Project had not been saved and reopened, which purges such empty Date fields.

Is that an explanation? Or are my assumptions wrong?

I hope to fix that Plugin problem in the next published version.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

adebarnecutt
Newbie
Posts: 2
Joined: 21 Jan 2006 14:14
Family Historian: V6
Contact:

Re: Clean Living Persons plugin error

Post by adebarnecutt » 30 Jan 2018 00:06

Mike

Thanks for responding so quickly. It is quite possible what you have said is correct, although I have been using FH for some years I wouldn't say I'm overly familiar with all of its intricasies. When using the plugin I used the settings shown in the picture in the knowledge base and its quite possible that at some point I have done as you suggested.

User avatar
tatewise
Megastar
Posts: 16175
Joined: 25 May 2010 11:00
Family Historian: V6.2
Location: Torbay, Devon, UK
Contact:

Re: Clean Living Persons plugin error

Post by tatewise » 30 Jan 2018 11:36

Adrian, I think you misunderstand.

If you used the settings shown in Knowledge Base > Clean Living Persons Plugin then that confirms that you have in deed set the rule For any Facts and LDS Ordinances to remove them all except BMD Years.
Any other setting for that option should avoid the error, which only applies when reducing BMD Dates to just the Year.
(In any case, may I suggest you review all the Plugin settings to ensure they satisfy your personal criteria.)

I believe the problem is caused by a BMD Fact with an empty Date field in your original Project data.
But that will only exist temporarily if you delete such a Date and do NOT Save and re-open the Project.
It cannot result from something you did long ago.

So since I suspect you have now Saved and re-opened the Project recently.
If you start again and File > Export > GEDCOM File as before, then I believe the Plugin will not give an error.
Can you do that please, and confirm, otherwise I have misdiagnosed the problem, and need to look again.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
Coolgarra
Gold
Posts: 26
Joined: 06 Oct 2015 06:50
Family Historian: V6.2
Location: Rockhampton, Australia
Contact:

Re: Clean Living Persons plugin error

Post by Coolgarra » 21 Feb 2018 23:24

Hi Mike!
I am also getting an error
Plugin-error.JPG
Plugin-error.JPG (23.14 KiB) Viewed 1848 times
I have tried many different settings in the "Export Gedcom File" and "Clean Living Persons" and every time it throws up the error.
This last time I used the default settings for "Export Gedcom File" and the following
CLP.JPG
CLP.JPG (85.09 KiB) Viewed 1848 times
Is there anything you can suggest I try? I am trying to get a simple privatised Gedcom to upload to https://www.rootsfinder.com
Thanks!
Chris

User avatar
tatewise
Megastar
Posts: 16175
Joined: 25 May 2010 11:00
Family Historian: V6.2
Location: Torbay, Devon, UK
Contact:

Re: Clean Living Persons plugin error

Post by tatewise » 22 Feb 2018 00:24

I suspect you have one or more invalid fact Dates between 3 Sep 1752 and 13 Sep 1752.

Try using View > Standard Queries > Fact Date Warnings and look for invalid date warnings:
The date entered is not valid. In 1752......

I may add detection for that scenario into the Plugin at some future release.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
Coolgarra
Gold
Posts: 26
Joined: 06 Oct 2015 06:50
Family Historian: V6.2
Location: Rockhampton, Australia
Contact:

Re: Clean Living Persons plugin error

Post by Coolgarra » 22 Feb 2018 10:57

Thanks Mike!
No Fact Date Warnings for the date range mentioned. I only have one warning in 1751, and that is Feb 1751, amazingly Mary MARRACK was baptised 1 Mar 1649 in Cornwall and died in Feb 1751 aged 101 years!
I do have over 470 other Fact Date Warnings, a lot to do with notes I have put on people to check facts. Would they be causing the issue?
Thanks
Chris

User avatar
tatewise
Megastar
Posts: 16175
Joined: 25 May 2010 11:00
Family Historian: V6.2
Location: Torbay, Devon, UK
Contact:

Re: Clean Living Persons plugin error

Post by tatewise » 22 Feb 2018 14:25

No, those are not the cause, but I may have an idea of the cause, so I need your help to confirm.

Please use the attached Clean Living Persons Plugin Version 1.5.1 Date 22 Feb 2018.

Whenever it encounters a problem Date it will produce a popup message.
Please post a screenshot of any such messages here.

If you click OK then it may well correct the problem and continue.

FYI: It is trying to estimate the date of death of Individuals, and if it encounters an After date, it adds 100 years to give a range of dates, but if that +100 years date is in 3 - 13 Sep 1752 then that is the problem, and I will be able to fix that if your feedback confirms my assumption.
Attachments
Clean Living Persons.fh_lua
Version 1.5.1 Date 22 Feb 2018
(28.54 KiB) Downloaded 46 times
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
Coolgarra
Gold
Posts: 26
Joined: 06 Oct 2015 06:50
Family Historian: V6.2
Location: Rockhampton, Australia
Contact:

Re: Clean Living Persons plugin error

Post by Coolgarra » 22 Feb 2018 21:27

Thanks Mike!

Here are the Pop-ups, and after a couple of runs I was able to successfully create a private Gedcom as I had intended.
FH-1.JPG
FH-1.JPG (13.01 KiB) Viewed 1765 times
FH-2.JPG
FH-2.JPG (17.6 KiB) Viewed 1765 times
The issue with Johannes HARRY appeared to be a strange character on the wedding date. It is [J] for Julian, but I don't believe I put it there, so perhaps it was from some data I imported (back when I foolishly used to do that).
FH-3.JPG
FH-3.JPG (53.24 KiB) Viewed 1765 times
The plugin did privatise some names, which surprised me, as they were already deceased, as in my parents who were born 1934 & 1935, and died 2014 & 2012 respectively, but it may have been a setting, so I will play with this to get my desired out output.

I really appreciate how quickly you responded and helped me with this.
Thanks a million!
Chris

User avatar
tatewise
Megastar
Posts: 16175
Joined: 25 May 2010 11:00
Family Historian: V6.2
Location: Torbay, Devon, UK
Contact:

Re: Clean Living Persons plugin error

Post by tatewise » 22 Feb 2018 23:16

That is helpful feedback.
The Julian Date is definitely the cause of the problem.

I intend to add a workaround for such dates in the next published Plugin version.

Regarding privatised names, check who has the Living flag, which can affect not only that person but also spouse and children.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply