# Unused objects were created

**URL:** <https://gramps.discourse.group/t/unused-objects-were-created/6410>\
**Category:** Help\
**Created:** [November 9, 2024, 1:02pm UTC](https://gramps.discourse.group/t/unused-objects-were-created/6410 "2024-11-09T13:02:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajan](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/rajan/32/5420_2.png) [@rajan](https://gramps.discourse.group/u/rajan)\
**Post date:** [November 9, 2024, 1:02pm UTC](https://gramps.discourse.group/t/unused-objects-were-created/6410/1 "2024-11-09T13:02:50Z")

</div>

Gramps 5.2.3  
Fedora 41

I discovered when running ‘Family Tree Repair/Remove Unused Objects’ that I have a bunch of unused objects.  
They are from Events, Media, Places and Citations.  
This objects don’t make any sense to me.  
They don’t have any references and I don’t know where they come from.

One example:

I made a note for a person’s event (marriage) and it looked OK with a event number when checking that person’s record.  
But there was also another event created with different event number displaying the same note text but with no reference … strange.

Can I delete them from my tree?

---

<div class="post-metadata">

**Author:** ![ennoborg](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/ennoborg/32/4659_2.png) [@ennoborg](https://gramps.discourse.group/u/ennoborg)\
**Post date:** [November 9, 2024, 1:15pm UTC](https://gramps.discourse.group/t/unused-objects-were-created/6410/2 "2024-11-09T13:15:00Z")

</div>

Yes, you can. Gramps is a little odd, when you compare it to other programs, in the sense that when you delete a person, it just deletes the person from the person table, and associated families, if they have no connections to other persons.

All other objects are left alone, and can be re-used if you want. That probably does not make much sense for events, although you may want to keep some if they refer to wars, or other disasters. Same goes for media, places, and sources/citations.

Keeping places may be a good idea if you’ve invested a lot of time in their hierarchy.

---

<div class="post-metadata">

**Author:** ![rajan](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/rajan/32/5420_2.png) [@rajan](https://gramps.discourse.group/u/rajan)\
**Post date:** [November 9, 2024, 2:17pm UTC](https://gramps.discourse.group/t/unused-objects-were-created/6410/3 "2024-11-09T14:17:02Z")

</div>

Thanks … then I will delete unused objects and hopefully I can sleep peacefully after that.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [November 9, 2024, 2:24pm UTC](https://gramps.discourse.group/t/unused-objects-were-created/6410/4 "2024-11-09T14:24:05Z")

</div>

Another source of objects with no references is when creating [secondary objects](https://www.gramps-project.org/wiki/index.php/Gramps_Glossary#secondary_object) for a new [primary object](https://www.gramps-project.org/wiki/index.php/Gramps_Glossary#primary_object), then Canceling (rather than committing with Ok) for the new Primary object.

---

<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:** [November 9, 2024, 3:07pm UTC](https://gramps.discourse.group/t/unused-objects-were-created/6410/5 "2024-11-09T15:07:35Z")

</div>

I do not delete any Place record that I have created that is now no longer _needed_.

---

<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:** [December 9, 2024, 3:08pm UTC](https://gramps.discourse.group/t/unused-objects-were-created/6410/6 "2024-12-09T15:08:24Z")

</div>

Closed on December 9, 2024, 3:08pm UTC

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