# Tool for checking for persons with missing sources

**URL:** <https://gramps.discourse.group/t/tool-for-checking-for-persons-with-missing-sources/1123>\
**Category:** Help\
**Tags:** attach-source\
**Created:** [January 15, 2021, 10:15pm UTC](https://gramps.discourse.group/t/tool-for-checking-for-persons-with-missing-sources/1123 "2021-01-15T22:15:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![larsen](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@larsen](https://gramps.discourse.group/u/larsen)\
**Post date:** [January 15, 2021, 10:15pm UTC](https://gramps.discourse.group/t/tool-for-checking-for-persons-with-missing-sources/1123/1 "2021-01-15T22:15:36Z")

</div>

I recently started using Gramps for a small family project, and now this has become bigger than I thought it would. Therefore, I wonder if it would be better to add a source to all persons. As I would have to add that data subsequently, and I don’t want to open every single person to check if the source is missing, I’d like to have a tool that tells me where the source is missing.

Is there something like that or is there another way to achieve this?

Lars

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [January 15, 2021, 11:50pm UTC](https://gramps.discourse.group/t/tool-for-checking-for-persons-with-missing-sources/1123/2 "2021-01-15T23:50:51Z")

</div>

There is a filter option `People with <count> sources` in the Person’s Citation/Source filter rule.

[https://gramps-project.org/wiki/index.php?title=Gramps\_5.1\_Wiki\_Manual\_-\_Filters#Custom\_Filters](https://gramps-project.org/wiki/index.php?title=Gramps_5.1_Wiki_Manual_-_Filters#Custom_Filters)

This would give you the list of people having no source/citation.

If you want people without a specific source/citation then use the `People with the <source>` and select the source you want everyone to have. And then in the Define Filter edit window check the box for `Return values that do not match the filter rules`

You can then give people that show in the resulting list their source/citation. If they all receive the same entry, you can copy this to the Clipboard and add it to the people. And if they are receiving the same you can select a group of the people, right-click, and edit. A stack of edit windows will open making it a little easier. This is only a good practice with the same repetitious edit.

The last way is to export to a GEDCOM file and then import that file back into a new empty database. Before you import, check the box in [Preferences](https://gramps-project.org/wiki/index.php?title=Gramps_5.1_Wiki_Manual_-_Settings#Preferences)’ General tab `Add default source on GEDCOM import`. Adding a source option only works on GEDCOM files. There is an Add Tag option for all imports but you can already do this with the database you are already working on.

The caution is that a GEDCOM file is different than the Gramps XML backups and exports. Things can become garbled in the import although every effort has been taken to minimize this.

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [January 16, 2021, 12:05am UTC](https://gramps.discourse.group/t/tool-for-checking-for-persons-with-missing-sources/1123/3 "2021-01-16T00:05:04Z")

</div>

And then double-checking tools…

There is an Attach Source tool. Tools \>\> Family Tree Processing \>\> [Attach Source](https://gramps-project.org/wiki/index.php/AttachSourceTool)

This does not come with the Gramps install but must be added as an Addon. Go to menu Edit \>\> Preferences \>\> General tab \>\> [Third party addons management](https://gramps-project.org/wiki/index.php?title=Gramps_5.1_Wiki_Manual_-_Settings#Third_party_addons_management)

If you have already run this but not selected this addon, you will need to uncheck the `Do not ask about previously notified addons` box.

---

<div class="post-metadata">

**Author:** ![larsen](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@larsen](https://gramps.discourse.group/u/larsen)\
**Post date:** [January 16, 2021, 1:42pm UTC](https://gramps.discourse.group/t/tool-for-checking-for-persons-with-missing-sources/1123/4 "2021-01-16T13:42:49Z")

</div>

Thanks!  
I have a added a custom filter so now I can quickly see people having no source. Also, found the mentioned plugin by accident shortly after I created this thread and will be checking it out.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [February 15, 2021, 1:42pm UTC](https://gramps.discourse.group/t/tool-for-checking-for-persons-with-missing-sources/1123/5 "2021-02-15T13:42:49Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
