* Show Project Stats

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.
avatar
peterbel
Superstar
Posts: 348
Joined: 21 Nov 2014 20:24
Family Historian: V7
Location: Cornwall

Show Project Stats

Post by peterbel »

Some guidance please.
P Stats1.JPG
P Stats1.JPG (91.91 KiB) Viewed 6519 times
P Stats2.JPG
P Stats2.JPG (118.09 KiB) Viewed 6519 times
As you can see from the screenshots 1704 Exceptions have been found for the single criteria of Fact Age is negative
However Close and Report doesn't provide a report, just closes the Plugin. I wonder what it is finding?

Another minor issue is that some of the text is not displaying correctly on my High Res screen, particularly the check box text on the Options page. I have reduced the Font size to 8 and though better it hasn't made it readable.
Tracing the Devon Bellamy family along with their partners.
User avatar
tatewise
Megastar
Posts: 28414
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Show Project Stats

Post by tatewise »

The count of Exceptions Detected is the total not just those chosen on the Options tab.
Try changing the Options and the count never alters.

The displays should look like the screenshots in the Help & Advice pages.
High Res screens are something of a problem.
Your Records tab looks squashed and the Options tab bottom tick option is wrapping.
Unfortunately, the display is managed via the Plugin Lua IUP library and FH so I have little direct control.
I presume you are experimenting with the Set Window Fonts button of the Plugin?

I could experiment with some adjustments to the display formatting and see if that helps.
Give me a day or so and I'll try and post a prototype updated Plugin.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
avatar
peterbel
Superstar
Posts: 348
Joined: 21 Nov 2014 20:24
Family Historian: V7
Location: Cornwall

Re: Show Project Stats

Post by peterbel »

Thanks Mike.
Ok, so Total of all Exceptions Detected
Yes I used Set Windows Fonts and reduced it to 8.
Perhaps there would be space for the wrapping text if it was made two lines, full width?
Tracing the Devon Bellamy family along with their partners.
User avatar
tatewise
Megastar
Posts: 28414
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Show Project Stats

Post by tatewise »

Peter, I have made changes to the way the details on the tabs are displayed that may be better on HiRes monitors.
I've updated the Exceptions Detected count to also show the Reported count for enabled reports on the Options tab.

Try attached Show Project Statistics plugin Version 2.3.1 Date 15 Feb 2021.

It would interesting if you tried using Set Window Fonts with Arial Narrow and various point Sizes.

[ Attachment deleted ]
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
avatar
peterbel
Superstar
Posts: 348
Joined: 21 Nov 2014 20:24
Family Historian: V7
Location: Cornwall

Re: Show Project Stats

Post by peterbel »

Thanks again.
Project Stats Test Version.JPG
Project Stats Test Version.JPG (21.92 KiB) Viewed 6436 times
This came up as soon as the Plugin was run.
OK'd this and then got this Lua error

[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:3631: attempt to index a nil value (field '?')
stack traceback:
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:3631: in function 'UpdateCount'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:4146: in function 'IndividRecord'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:4575: in function 'UpdateStatistics'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:3413: in function <[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:3409>
(...tail calls...)
[C]: in function 'iuplua.MainLoop'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:2456: in field 'ShowDialogue'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:3516: in function 'GUI_MainDialogue'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:4697: in main chunk

Ok'd that and the Plugin froze with the progress bar at 33% !
Tracing the Devon Bellamy family along with their partners.
User avatar
tatewise
Megastar
Posts: 28414
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Show Project Stats

Post by tatewise »

That is rather odd.
Is that on the same Project that you ran the plugin on before?
If you run it again does it report the same error:
string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:3631: attempt to index a nil value (field '?')
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
johnmorrisoniom
Megastar
Posts: 904
Joined: 18 Dec 2008 07:40
Family Historian: V7
Location: Isle of Man

Re: Show Project Stats

Post by johnmorrisoniom »

Hi Mike,
I have run 2.3.1 with no problems. (Also run on 2.3 yesterday)
Is it possible to have the reported errors count repeated on the options page. I had to keep switching tabs to find which options affected the count
avatar
peterbel
Superstar
Posts: 348
Joined: 21 Nov 2014 20:24
Family Historian: V7
Location: Cornwall

Re: Show Project Stats

Post by peterbel »

Yes it is the same project.
Ran it again and the plugin window appeared immediately, it was slow to form first time. It also show some Stats. Clicked on Update Statistics and it errored again. On the plus side the text handling is very much better even with Segoe UI, 8, only the wrapped check box text is muddled. I do have all the Tick boxes checked except the wrapped text one.

[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:3631: attempt to index a nil value (field '?')
stack traceback:
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:3631: in function 'UpdateCount'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:4146: in function 'IndividRecord'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:4575: in function 'UpdateStatistics'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:3413: in function <[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:3409>
(...tail calls...)
[C]: in function 'iuplua.MainLoop'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:2456: in field 'ShowDialogue'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:3516: in function 'GUI_MainDialogue'
[string "C:\ProgramData\Calico Pie\Family Historian\Pl..."]:4697: in main chunk
Tracing the Devon Bellamy family along with their partners.
avatar
peterbel
Superstar
Posts: 348
Joined: 21 Nov 2014 20:24
Family Historian: V7
Location: Cornwall

Re: Show Project Stats

Post by peterbel »

I tried it again after clearing all check boxes, same result and error. Freezes at 33%.
Tracing the Devon Bellamy family along with their partners.
avatar
peterbel
Superstar
Posts: 348
Joined: 21 Nov 2014 20:24
Family Historian: V7
Location: Cornwall

Re: Show Project Stats

Post by peterbel »

Rolled back to the previous version and tried an Update, it errored and crashed FH.
Not sure what to try now?
Tracing the Devon Bellamy family along with their partners.
User avatar
tatewise
Megastar
Posts: 28414
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Show Project Stats

Post by tatewise »

I've found the problem. FH V7 GEDCOM 5.5.1 allows Sex to be 'Unknown' whereas FH V6 GEDCOM 5.5 did not.
The Plugin was not catering for the value 'Unknown' and only for the FH V6 blank undefined Sex value.

Somehow between runs of the Plugin, one of your Individuals has had their Sex changed to 'Unknown'.

I have also added the Exception counts to the Options tab as requested by John.

Try attached Show Project Statistics plugin Version 2.3.2 Date 16 Feb 2021.

How is the HiRes monitor display of text now?

BTW: You will get the Table Grid mismatch message every time the Plugin version changes.

[ Attachment deleted ]
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
avatar
peterbel
Superstar
Posts: 348
Joined: 21 Nov 2014 20:24
Family Historian: V7
Location: Cornwall

Re: Show Project Stats

Post by peterbel »

Yes it runs fine now. And you are right, some of the exceptions the Plugin found a couple of days ago were individuals without a gender. I corrected them all but I had to make one of them 'Unknown' as the first name could be male or female.
The text display is fine for everything except the lowest check box on the Options tab. Still using Segoe UI 8.
Capture.JPG
Capture.JPG (30.43 KiB) Viewed 6344 times
Tracing the Devon Bellamy family along with their partners.
User avatar
tatewise
Megastar
Posts: 28414
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Show Project Stats

Post by tatewise »

When I asked if it was the same Project, I should have been more pedantic and asked if it was identically the same Project without any changes. Then you would have told me what you changed and I would have found the solution quicker.

Please try the attached variant of the Plugin with two alternative formats for that wrapping toggle text on Options tab.
Is either of them any better?

[ Attachment deleted ]
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
avatar
peterbel
Superstar
Posts: 348
Joined: 21 Nov 2014 20:24
Family Historian: V7
Location: Cornwall

Re: Show Project Stats

Post by peterbel »

Capture.JPG
Capture.JPG (40.71 KiB) Viewed 6313 times
Tracing the Devon Bellamy family along with their partners.
User avatar
tatewise
Megastar
Posts: 28414
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Show Project Stats

Post by tatewise »

Sorry to be a pain, but can you please try this one.

[ Attachment deleted ]
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
avatar
peterbel
Superstar
Posts: 348
Joined: 21 Nov 2014 20:24
Family Historian: V7
Location: Cornwall

Re: Show Project Stats

Post by peterbel »

You are not being a pain, very helpful, and dogged!
Capture.JPG
Capture.JPG (37.85 KiB) Viewed 6298 times
Tracing the Devon Bellamy family along with their partners.
User avatar
tatewise
Megastar
Posts: 28414
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Show Project Stats

Post by tatewise »

Bother! That did not work as I'd expected, so can you please try this one.

[ Attachment deleted ]
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
avatar
peterbel
Superstar
Posts: 348
Joined: 21 Nov 2014 20:24
Family Historian: V7
Location: Cornwall

Re: Show Project Stats

Post by peterbel »

I think you have cracked it!
Capture.JPG
Capture.JPG (37.92 KiB) Viewed 6284 times
Tracing the Devon Bellamy family along with their partners.
User avatar
tatewise
Megastar
Posts: 28414
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Show Project Stats

Post by tatewise »

Bingo! If no other changes come to light then that will be published to the Plugin Store in the next week.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
tatewise
Megastar
Posts: 28414
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Show Project Stats

Post by tatewise »

Show Project Statistics plugin Version 2.4 Date 18 Feb 2021 is now in the Plugin Store.

The earlier attachments will be deleted soon.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
avatar
peterbel
Superstar
Posts: 348
Joined: 21 Nov 2014 20:24
Family Historian: V7
Location: Cornwall

Re: Show Project Stats

Post by peterbel »

Another to be ticked off the list!
If you ever need another high res tested just PM me.
Tracing the Devon Bellamy family along with their partners.
User avatar
tatewise
Megastar
Posts: 28414
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Show Project Stats

Post by tatewise »

Thank you Peter, I will bear that offer in mind.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
David2416
Superstar
Posts: 398
Joined: 12 Nov 2017 16:37
Family Historian: V7
Location: Suffolk UK

Re: Show Project Stats

Post by David2416 »

I have been running version 2.4 and cleaning up issues revealed by this useful plugin.

Two issues I have noticed:
1. The plugin appears to be ignoring the living flag in the exception reports 'Living Flag despite Death etc.' and 'No Death, Burial .... nor Living Flag'
2. 'Date does not provide a Day Number nor Day Of Week' always produces an exception for Julian dates eg Born [Julian] 25 October 1584 - Date does not provide a Day number etc.

Would appreciate advice. Thanks
User avatar
tatewise
Megastar
Posts: 28414
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Show Project Stats

Post by tatewise »

  1. Living Flag despite Death &/or Burial &/or Cremation Event for a person who has died but with Living flag.
    The exception arises because there is a Death event, Burial event, or Cremation event that indicates the person has died, but the Living flag is set that indicates the person has NOT died. So there is a conflict. Are they dead or alive?
  2. Date does not provide a Day Number nor Day Of Week due to non-Gregorian, BC, or missing dates in 1582/1752.
    This is informative and may indicate erroneously entered Dates. If all of them are genuine then untick that exception in the Options tab to hide such reports.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
David2416
Superstar
Posts: 398
Joined: 12 Nov 2017 16:37
Family Historian: V7
Location: Suffolk UK

Re: Show Project Stats

Post by David2416 »

OK, thanks

re 1. I have set a living flag on my great grandfather where there is a standard death event. This is not reported as I would expect. living Flag despit Death etc. Event
re 1. I have set a living flag on myself (and there is no death event) but I am included in the No Death, Burial or Cremation Event nor Living Flag exception report

so in both cases it appears to be ignoring the Living Flag.

re 2. So a well constructed Julian date is reported - that's not really a problam as it does show as [Julian] 24 June 1607
Post Reply