# Gramps not opening Gramps or GED files

**URL:** <https://gramps.discourse.group/t/gramps-not-opening-gramps-or-ged-files/1296>\
**Category:** Help\
**Created:** [March 10, 2021, 2:51am UTC](https://gramps.discourse.group/t/gramps-not-opening-gramps-or-ged-files/1296 "2021-03-10T02:51:14Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterH](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@PeterH](https://gramps.discourse.group/u/PeterH)\
**Post date:** [March 10, 2021, 2:51am UTC](https://gramps.discourse.group/t/gramps-not-opening-gramps-or-ged-files/1296/1 "2021-03-10T02:51:14Z")

</div>

Hi. I’ve backed up, and also tried exporting, files in .gramps and .ged formats. When I try to open either I get a message:  
The document “xxxx.gramps” could not be opened. Gramps cannot open files of this type.

Or…

The document “xxxx.ged” could not be opened. Gramps cannot open files of this type.

I’m on version 5.1.3 on MacOs Catalina 10.15.7

I can’t think what I am doing wrong. Would love some help. Thanks… Peter

---

<div class="post-metadata">

**Author:** ![daleathan](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/daleathan/32/1701_2.png) [@daleathan](https://gramps.discourse.group/u/daleathan)\
**Post date:** [March 10, 2021, 2:56am UTC](https://gramps.discourse.group/t/gramps-not-opening-gramps-or-ged-files/1296/2 "2021-03-10T02:56:27Z")

</div>

> [@PeterH](#):
>
> The document “xxxx.ged” could not be opened. Gramps cannot open files of this type.

Are you sure it is a GEDCOM; what program created the GEDCOM file, you should be able to check by opening it in a text editor and looking at the [first few lines](https://en.wikipedia.org/wiki/GEDCOM#Example)? eg:

```
sample.ged

0 HEAD
1 SOUR PAF
2 NAME Personal Ancestral File
2 VERS 5.0
1 DATE 30 NOV 2000
1 GEDC
2 VERS 5.5
2 FORM LINEAGE-LINKED
1 CHAR ANSEL

```

In Gramps did you create a new family tree before importing it?

---

<div class="post-metadata">

**Author:** ![PeterH](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@PeterH](https://gramps.discourse.group/u/PeterH)\
**Post date:** [March 10, 2021, 3:07am UTC](https://gramps.discourse.group/t/gramps-not-opening-gramps-or-ged-files/1296/3 "2021-03-10T03:07:18Z")

</div>

Both files were created by me, from Gramps. When I open Gramps it offers me one choice of family tree to load which it calls Family Tree 1. I load that, do a Backup, and select a name eg Humphry with the default extension of .gramps. It saves. (Equally, I do an Export, select GEDCOM as format, choose humphry as the name and accept .ged as the extension. It saves)  
If I then go to the folder in which they are saved, and click on either, I get the error message(s) as described.  
I’m flummoxed!

---

<div class="post-metadata">

**Author:** ![daleathan](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/daleathan/32/1701_2.png) [@daleathan](https://gramps.discourse.group/u/daleathan)\
**Post date:** [March 10, 2021, 3:54am UTC](https://gramps.discourse.group/t/gramps-not-opening-gramps-or-ged-files/1296/4 "2021-03-10T03:54:44Z")

</div>

> [@daleathan](#):
>
> In Gramps did you create a new family tree before importing it?

Does creating a new empty family and importing either of the files work for you?

Ok in MacOS you are just clicking on the files; as I’m not a MacOS user I can’t say what should be happening, something not configured correctly or an issue with you Gramps install?

---

<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:** [March 10, 2021, 3:56am UTC](https://gramps.discourse.group/t/gramps-not-opening-gramps-or-ged-files/1296/5 "2021-03-10T03:56:11Z")

</div>

Welcome

Neither a GEDCOM.ged or a GRAMPS.gramps file will open in Gramps. To open them you would need to [create a new database/tree](https://gramps-project.org/wiki/index.php?title=Gramps_5.1_Wiki_Manual_-_Manage_Family_Trees#Family_Trees_manager_window) and then [Import](https://gramps-project.org/wiki/index.php?title=Gramps_5.1_Wiki_Manual_-_Manage_Family_Trees#Importing_data) either file into the new tree.

The files you created are for either backing up, saving/protecting the work you created, or creating a file for someone else to use and import into their database. The .gramps file is a compressed XML and should always be used when the program importing it is also Gramps. The other formats are available when another program cannot import the xml file. The media package file .gpkg can include the media files for the export/backup.

---

<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:** [March 10, 2021, 4:04am UTC](https://gramps.discourse.group/t/gramps-not-opening-gramps-or-ged-files/1296/6 "2021-03-10T04:04:24Z")

</div>

> [@PeterH](#):
>
> When I open Gramps it offers me one choice of family tree to load which it calls Family Tree 1. I load that, do a Backup, and select a name eg Humphry

In the [Family Tree Manager](https://gramps-project.org/wiki/index.php?title=Gramps_5.1_Wiki_Manual_-_Manage_Family_Trees#Family_Trees_manager_window) window you can rename the database “Family Tree 1” to “Humphrey” if you want.

In [Preferences](https://gramps-project.org/wiki/index.php?title=Gramps_5.1_Wiki_Manual_-_Settings#Preferences) (menu Edit \>\> Preferences) on the Family Tree tab you can check the box **Automatically load last family tree** : and another helpful check box on the General tab **Remember last view displayed** :

---

<div class="post-metadata">

**Author:** ![PeterH](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@PeterH](https://gramps.discourse.group/u/PeterH)\
**Post date:** [March 10, 2021, 8:04am UTC](https://gramps.discourse.group/t/gramps-not-opening-gramps-or-ged-files/1296/7 "2021-03-10T08:04:51Z")

</div>

Thanks to everyone who replied, I’m excited to have received such prompt and helpful replies. I’m new to Gramps and am having a few problems so think I’ll find myself reverting to this forum again. Importing the files into a new database, rather than “clicking” on them, worked beautifully.  
I should probably start a new thread but while I’m with such knowledgeable people, can anyone tell me how to add a second surname eg when someone gets married the maiden name is useful to keep for tracing but the “new” married name becomes the preferred. I can’t figure it out. Thanks again…

---

<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:** [March 10, 2021, 1:21pm UTC](https://gramps.discourse.group/t/gramps-not-opening-gramps-or-ged-files/1296/8 "2021-03-10T13:21:52Z")

</div>

In a person’s edit window, there is the Names tab. You can add additional names here as needed using the [Name Editor](https://gramps-project.org/wiki/index.php?title=Gramps_5.1_Wiki_Manual_-_Entering_and_editing_data%3A_detailed_-_part_3#Name_Editor). There are also additional settings you can apply to the Preferred Name. To move a name into the Preferred slot use drag-n-drop.

FYI: There is the name Type drop-down. If there is not an option that suits your needs, you can just type in a custom option. This works on all drop-down lists. The one major caveat, any custom entry will not translate if that is a functionality you will need.

---

<div class="post-metadata">

**Author:** ![PeterH](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@PeterH](https://gramps.discourse.group/u/PeterH)\
**Post date:** [March 11, 2021, 12:03pm UTC](https://gramps.discourse.group/t/gramps-not-opening-gramps-or-ged-files/1296/9 "2021-03-11T12:03:04Z")

</div>

Thanks once more, DaveSch you are a wiz. (And if you’re wondering, that’s a good thing!)

---

<div class="post-metadata">

**Author:** ![lordemannd](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/lordemannd/32/583_2.png) [@lordemannd](https://gramps.discourse.group/u/lordemannd)\
**Post date:** [March 11, 2021, 7:12pm UTC](https://gramps.discourse.group/t/gramps-not-opening-gramps-or-ged-files/1296/10 "2021-03-11T19:12:45Z")

</div>

@PeterH, just checking, did you use a “.dmg” file to install Gramps or did you build from source?

---

<div class="post-metadata">

**Author:** ![PeterH](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@PeterH](https://gramps.discourse.group/u/PeterH)\
**Post date:** [March 12, 2021, 11:42am UTC](https://gramps.discourse.group/t/gramps-not-opening-gramps-or-ged-files/1296/11 "2021-03-12T11:42:07Z")

</div>

I used a .dmg I think, just a regular Mac download of the application.

---

<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:** [April 11, 2021, 11:42am UTC](https://gramps.discourse.group/t/gramps-not-opening-gramps-or-ged-files/1296/12 "2021-04-11T11:42:41Z")

</div>

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