* Change any Fact plugin
-
johnhanson
- Diamond
- Posts: 62
- Joined: 27 Nov 2002 16:50
- Family Historian: V7
- Contact:
Change any Fact plugin
I am trying to help a friend sort out his import from TMG and struggling to get this plug-in to work
The list of fact might give an idea of the issue and I going to go into lengthy discussions as to why as not really relevant
I am trying to change each of the census entries to the standard Census
I was certain that I had this correct (and appears to be from the help) but the button is not changing to enable it to work
Can someone explain what I am doing wrong?
The list of fact might give an idea of the issue and I going to go into lengthy discussions as to why as not really relevant
I am trying to change each of the census entries to the standard Census
I was certain that I had this correct (and appears to be from the help) but the button is not changing to enable it to work
Can someone explain what I am doing wrong?
Last edited by tatewise on 16 Nov 2022 12:00, edited 1 time in total.
Reason: Corrected image presentation
Reason: Corrected image presentation
John Hanson
Researcher, the Halsted Trust
Researcher, the Halsted Trust
- LornaCraig
- Megastar
- Posts: 2992
- Joined: 11 Jan 2005 17:36
- Family Historian: V7
- Location: Oxfordshire, UK
Re: Change any Fact plugin
I'm sure Mike will reply soon, but meanwhile have a look at this topic Error when running 'Change Any Fact Tag' (20800).
Mike identified a problem which was caused by local Project Fact Sets (such as imported sets) having higher precedence than system Fact Sets. In his last post in that topic he attached an updated Version 3.6.3 Date 10 Nov 2022 which may not be in the plugin store yet.
Mike identified a problem which was caused by local Project Fact Sets (such as imported sets) having higher precedence than system Fact Sets. In his last post in that topic he attached an updated Version 3.6.3 Date 10 Nov 2022 which may not be in the plugin store yet.
Last edited by tatewise on 16 Nov 2022 12:01, edited 1 time in total.
Reason: Improved topic link
Reason: Improved topic link
Lorna
- tatewise
- Megastar
- Posts: 27080
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Change any Fact plugin
Yes, Lorna has identified the problem and the solution.
I am about to publish that updated version in the Plugin Store today.
I am about to publish that updated version in the Plugin Store today.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
-
johnhanson
- Diamond
- Posts: 62
- Joined: 27 Nov 2002 16:50
- Family Historian: V7
- Contact:
Re: Change any Fact plugin
Thanks both
Be interesting to see how it copes with a database of 65,000 people and 135,000 facts
Be interesting to see how it copes with a database of 65,000 people and 135,000 facts
John Hanson
Researcher, the Halsted Trust
Researcher, the Halsted Trust
- tatewise
- Megastar
- Posts: 27080
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Change any Fact plugin
I've just run it on 36K Individual records with 234K facts to make 2K changes and it took less than a minute on my 'slow' PC.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
-
johnhanson
- Diamond
- Posts: 62
- Joined: 27 Nov 2002 16:50
- Family Historian: V7
- Contact:
Re: Change any Fact plugin
Mike
Downloaded the new version and works fine
However, whilst it is processing progress bar reaches 100% at individual ID's around 8000 but there are 65,000 in the database
It carries on and some might be concerned as to what it is processing when it says that it is complete
Downloaded the new version and works fine
However, whilst it is processing progress bar reaches 100% at individual ID's around 8000 but there are 65,000 in the database
It carries on and some might be concerned as to what it is processing when it says that it is complete
John Hanson
Researcher, the Halsted Trust
Researcher, the Halsted Trust
- tatewise
- Megastar
- Posts: 27080
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Change any Fact plugin
Ah, sorry! Yes, that bug seems to have existed for a while. It will be fixed in the next update.
It was a small typo in one line of the script!
It was a small typo in one line of the script!
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Change any Fact plugin
Hi Mike,
I was testing your new version of the Change Any Fact plugin (so I could update my conversion notes) and I discovered an issue that I suspect is applicable to all plugins and not just Change Any Facts (and may very well be a known issue). If you run the plugin and select Change all the rest so that you don't need to confirm each change, and you happen get lots of Warnings (as I did) then you can't break or cancel out of the process. You have to click on Close Warning for each warning until the process completes (about 300 times for me).
Now, I only found this because I had forgotten to clean up some extra TAGS from the GEDCOM import, so the warnings were for TAGS that FH7 didn't like. It's entirely possible that I'll not have this issue again (as I hope not to make the same silly mistake again), but other users might.
I could have used Task Manager to stop the FH7 process but that really is a last resort. Is there another way to close the plugin?
Glenn
I was testing your new version of the Change Any Fact plugin (so I could update my conversion notes) and I discovered an issue that I suspect is applicable to all plugins and not just Change Any Facts (and may very well be a known issue). If you run the plugin and select Change all the rest so that you don't need to confirm each change, and you happen get lots of Warnings (as I did) then you can't break or cancel out of the process. You have to click on Close Warning for each warning until the process completes (about 300 times for me).
Now, I only found this because I had forgotten to clean up some extra TAGS from the GEDCOM import, so the warnings were for TAGS that FH7 didn't like. It's entirely possible that I'll not have this issue again (as I hope not to make the same silly mistake again), but other users might.
I could have used Task Manager to stop the FH7 process but that really is a last resort. Is there another way to close the plugin?
Glenn
- tatewise
- Megastar
- Posts: 27080
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Change any Fact plugin
I think I have experienced that before and overlooked a fix.
It should be possible to fix by adding an extra button to the warning dialogue. It will be in the next version.
It should be possible to fix by adding an extra button to the warning dialogue. It will be in the next version.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Change any Fact plugin
Thanks Mike. It's nice to know that you're human and not an FH bot! 
Glenn
Glenn
-
johnhanson
- Diamond
- Posts: 62
- Joined: 27 Nov 2002 16:50
- Family Historian: V7
- Contact:
Re: Change any Fact plugin
Mike
Thanks - wasn't a show-stopper but just annoying
Keep up the good work
Thanks - wasn't a show-stopper but just annoying
Keep up the good work
John Hanson
Researcher, the Halsted Trust
Researcher, the Halsted Trust
Re: Change any Fact plugin
Hi Mike,
I've just found an issue with this plugin.
Steps to recreate:
1 Run plugin
2 Select the Pick records option to open the Pick window
3 Change your mind and close the plugin window before closing the Pick window
4 Close the Pick window
5 FH "freezes" and no options of any kind can be selected
The Plugin box shows the particular plugin is still running but now there is no way to stop the plugin.
The only way to get FH working again is to close it using Task Manager.
I only discovered this issue as I used Alt-Tab to change windows.
In further testing I found the Create Individual Shortcut has the same issue but the Search and Replace plugin doesn't let you close the plugin window if the Pick window is still open.
Glenn
I've just found an issue with this plugin.
Steps to recreate:
1 Run plugin
2 Select the Pick records option to open the Pick window
3 Change your mind and close the plugin window before closing the Pick window
4 Close the Pick window
5 FH "freezes" and no options of any kind can be selected
The Plugin box shows the particular plugin is still running but now there is no way to stop the plugin.
The only way to get FH working again is to close it using Task Manager.
I only discovered this issue as I used Alt-Tab to change windows.
In further testing I found the Create Individual Shortcut has the same issue but the Search and Replace plugin doesn't let you close the plugin window if the Pick window is still open.
Glenn
- Mark1834
- Megastar
- Posts: 2147
- Joined: 27 Oct 2017 19:33
- Family Historian: V7
- Location: South Cheshire, UK
Re: Change any Fact plugin
I can reproduce that. Multiple windows in plugins can be a tricky thing to get right, as the user interface tool is extremely unforgiving. I've lost count of the number of times I've frozen or crashed FH in testing!
Mark Draper
- tatewise
- Megastar
- Posts: 27080
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Change any Fact plugin
Ah! Nice find.
The solution is to make the IUP main dialogue inactive during the Record Selection prompt by using:
The Search and Replace plugin does that, but Change Any Fact Tag does not, but will in the next version
Alternative ways of making parent dialogues inactive are discussed in Modal window techniques (21192).
Try the attached Change Any Fact Tag plugin Version 3.7.1 Date 17 Nov 2022 which should fix all the recent issues.
The solution is to make the IUP main dialogue inactive during the Record Selection prompt by using:
Code: Select all
dialogMain.Active="No"
arrRec = fhPromptUserForRecordSel(strType)
dialogMain.Active="Yes"
Alternative ways of making parent dialogues inactive are discussed in Modal window techniques (21192).
Try the attached Change Any Fact Tag plugin Version 3.7.1 Date 17 Nov 2022 which should fix all the recent issues.
Last edited by tatewise on 24 Nov 2022 15:41, edited 1 time in total.
Reason: Attachment deleted as later version is in the Plugin Store.
Reason: Attachment deleted as later version is in the Plugin Store.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- tatewise
- Megastar
- Posts: 27080
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Change any Fact plugin
Change Any Fact Tag plugin Version 3.8 Date 24 Nov 2022 is in the Plugin Store and the prototype below will soon be deleted.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry