* Lookup Missing Census Facts - Failure

For users to report plugin bugs and request plugin enhancements; and for authors to test new/new versions of plugins, and to discuss plugin development (in the Programming Technicalities sub-forum). If you want advice on choosing or using a plugin, please ask in General Usage or an appropriate sub-forum.
Post Reply
avatar
jbtapscott
Superstar
Posts: 483
Joined: 19 Nov 2014 17:52
Family Historian: V7
Location: Corfu, Greece
Contact:

Lookup Missing Census Facts - Failure

Post by jbtapscott » 16 Nov 2016 10:16

Running the latest version of the above (4.0.3) and had an error thrown after I hit the "Lookup Missing Census Facts" button.

I had chosen the "Anyone via the Select Records Dialogue", and, when prompted, selected a Named List, and then selected everybody in the Named List. The error message was:

"
[string "C:\ProgramData\Calico Pie\Family Historian\..."]:4464: fhCallBuiltInFunction - Parameter 2: Item pointer missing or NULL
stack traceback:
[C]: in function 'fhCallBuiltInFunction'
[string "C:\ProgramData\Calico Pie\Family Historian\..."]:4464: in function 'RunLookup'
[string "C:\ProgramData\Calico Pie\Family Historian\..."]:3183: in function <[string "C:\ProgramData\Calico Pie\Family Historian\..."]:3174>
(tail call): ?
[C]: in function 'MainLoop'
[string "C:\ProgramData\Calico Pie\Family Historian\..."]:2311: in function 'ShowDialogue'
[string "C:\ProgramData\Calico Pie\Family Historian\..."]:3219: in function 'GUI_MainDialogue'
[string "C:\ProgramData\Calico Pie\Family Historian\..."]:4524: in main chunk
"
I subsequently ran the Plugin again, but chose just two individuals and got a similar error, so am wondering if the Plugin does not work if more than a single Individual is chosen (which I could understand)?

By way of explanation - I don't normally use Named Lists for this type of Plugin but was experimenting to see if a Named List that was the result of my query to list all Descendants of a given individual and who had a Birth Place of England only, would give me a more useful ResultSet after running the Plugin (two thirds of the initial ResultSet had a Birth Place of Australia and thus no UK Census)
Brent Tapscott ~ researching the Tapscott and Wallace family history
Tapscott & Wallace family tree

User avatar
tatewise
Megastar
Posts: 27087
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Lookup Missing Census Facts - Failure

Post by tatewise » 16 Nov 2016 10:42

That is a side-effect of the extra columns I have added to the Result Set to list family relationships.
For most options it uses the single root person you chose in order to include Ancestors/Descendants/Relatives.
But for the Select Records case it uses the File Root which in your Project is not defined.
So I will have to put a workaround in the Plugin for that case.
I will post the update to this thread when it is ready, but in the meantime simply define a File Root.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
jbtapscott
Superstar
Posts: 483
Joined: 19 Nov 2014 17:52
Family Historian: V7
Location: Corfu, Greece
Contact:

Re: Lookup Missing Census Facts - Failure

Post by jbtapscott » 16 Nov 2016 10:49

Thanks Mike - defining the File Root has worked.
Brent Tapscott ~ researching the Tapscott and Wallace family history
Tapscott & Wallace family tree

User avatar
tatewise
Megastar
Posts: 27087
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Lookup Missing Census Facts - Failure

Post by tatewise » 16 Nov 2016 12:47

Try attached Lookup Missing Census Facts Plugin Version 4.0.4 Date 16 Nov 2016.

It adds Life Dates, Mother & Father columns to Result Set and fixes the bug when Project File Root is undefined when Anyone via Select Records dialogue option is chosen.

[EDIT: Attachment deleted as Plugin is now in Plugin Store.]
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
tatewise
Megastar
Posts: 27087
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Lookup Missing Census Facts - Failure

Post by tatewise » 22 Nov 2016 19:41

Updated Lookup Missing Census Facts Plugin Version 4.1 Date 22 Nov 2016 is now in the Plugin Store.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply