michel
March 25, 2026, 9:55pm
1
gramps 6.07 linux mint 22.3
Hello, I have individuals marked as “incomplete individual” or “incomplete family” even though all fields are filled (descriptions, dates, places, sources…). Is there an explanation for this?
Hello.
primary_name = person.get_primary_name()
name = name_displayer.display_name(primary_name)
if not name:
name = _("(person with unknown name)")
if (
self.__person_complete_handle is not None
and self.__person_complete_handle not in person.get_tag_list()
):
missingbits.append(_("person not complete"))
if missingbits:
self.link(name, "Person", person.get_handle())
self.append_text(
_(": %(list)s\n") % {"list": _(", ").join(missingbits)}
) # Arabic OK
self.__counter += 1
def __process_family(self, family, person1, person2, append_list):
if family.get_handle() in self.__processed_families:
name2 = name_displayer.display(person2)
if not name2:
name2 = _("(person with unknown name)")
name = _("%(name1)s and %(name2)s") % {"name1": name1, "name2": name2}
if (
self.__family_complete_handle is not None
and self.__family_complete_handle not in family.get_tag_list()
):
missingbits.append(_("family not complete"))
if missingbits:
self.link(name, "Family", family.get_handle())
self.append_text(
_(": %(list)s\n") % {"list": _(", ").join(missingbits)}
) # Arabic OK
self.__counter += 1
def __process_event(self, event):
missingbits = []
Does this seem related to spouses (in-laws) or the children of a couple?
roptat
March 26, 2026, 8:10am
3
What I see is that a “Complete” label (whose name is configurable) is missing on the individual or family. The code seems to indicate that this can be disabled, but I am not using this gramplet.
I tried to reproduce it but was unable to obtain these results. Indeed, there is this issue of “tag”, except that in theory, by default, the “Complete” label does not really exist. A residue of an old feature (built-in todo and complete tags)?
@michel , can you perhaps shed some light on the presence (or absence) of tags on these individuals and families?
michel
March 26, 2026, 9:31am
5
By adding the full tag to families and individuals, the incomplete mention disappears.
Ah, ok, it was in lowercase…
Nevertheless, where does this tag search come from? With a new database (a new tree without tags), this gramplet gives me no indication regarding records without the ‘complete’ tag.
michel
March 27, 2026, 11:17am
7
Exporting and importing into a new database—can that work?
Done, I removed the tags; now I have this gramplet that works.
When importing the example.gramps database, there is indeed a complete tag in English.
<header>
<created date="2025-03-18" version="6.0.0"/>
<researcher>
<resname>Alex Roitman,,,</resname>
</researcher>
<mediapath>{GRAMPS_RESOURCES}/example/gramps</mediapath>
</header>
<name-formats>
<format number="-1" name="SURNAME, Given (Common)" fmt_str="SURNAME, given (common)" active="1"/>
</name-formats>
<tags>
<tag handle="_bb80c229eef1ee1a3ec" change="1288512479" name="complete" color="#076780873bf0" priority="1"/>
<tag handle="_bb80c2b235b0a1b3f49" change="1288512442" name="ToDo" color="#efb60c280c28" priority="0"/>
</tags>
<events>
<event handle="_a5af0eb667015e355db" change="1284030602" id="E0000">
<type>Birth</type>
<dateval val="1987-08-29"/>
<place hlink="_08TJQCCFIX31BXPNXN"/>
<description>Birth of Warner, Sarah Suzanne</description>
</event>
But especially in gen.lib.markertype.
CUSTOM = 0
COMPLETE = 1
TODO_TYPE = 2
_CUSTOM = CUSTOM
_DEFAULT = NONE
_DATAMAP = [
(NONE, "", ""),
(CUSTOM, _("Custom"), "Custom"),
(COMPLETE, _("Complete"), "Complete"),
(TODO_TYPE, _("ToDo"), "ToDo"),
]
def __init__(self, value=None):
GrampsType.__init__(self, value)
This is indeed an old feature!
> From version 3.3 onwards, this is only kept to convert markers into tags
> when loading old database files.