# CSV Import Error: Places and (Persons & Events)

**URL:** <https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593>\
**Category:** Help\
**Created:** [June 9, 2026, 1:22pm UTC](https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593 "2026-06-09T13:22:58Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![schroer-berlin](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/schroer-berlin/32/9054_2.png) [@schroer-berlin](https://gramps.discourse.group/u/schroer-berlin)\
**Post date:** [June 9, 2026, 1:22pm UTC](https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593/1 "2026-06-09T13:22:58Z")

</div>

Gramps 6.0.8–1, Win11 (up-to-date)

Bug tracker guidelines suggest first to “ask about it in one of the forums”, before regularly submitting a bug report (what I have anyway never made before).

The bug:

When importing a csv file with places and (persons & events):  
(Following these examples: [https://gramps-project.org/wiki/index.php/Gramps\_6.0\_Wiki\_Manual\_-\_Manage\_Family\_Trees:\_CSV\_Import\_and\_Export](https://gramps-project.org/wiki/index.php/Gramps_6.0_Wiki_Manual_-_Manage_Family_Trees:_CSV_Import_and_Export))

- Places are importe correctly and gramps\_ids created.
- However, with the places of the events of the persons:  
New places are created, using the number out the csv-file as their name, instead of using the place which was already created for this number, when importing the places section of the csv-file.

I can send a small example.

BR K.S.

---

<div class="post-metadata">

**Author:** ![dsblank](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/dsblank/32/3649_2.png) [@dsblank](https://gramps.discourse.group/u/dsblank)\
**Post date:** [June 9, 2026, 1:34pm UTC](https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593/2 "2026-06-09T13:34:15Z")

</div>

Thanks for the information! You can send me a small example, either in this thread (don’t include private data) or via a personal message here.

---

<div class="post-metadata">

**Author:** ![schroer-berlin](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/schroer-berlin/32/9054_2.png) [@schroer-berlin](https://gramps.discourse.group/u/schroer-berlin)\
**Post date:** [June 9, 2026, 2:20pm UTC](https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593/3 "2026-06-09T14:20:30Z")

</div>

Thank you! This is really quick!  
Please find small example enclosed.  
Best regards, K.S.

------ Original message ------  
From “Douglas Blank” \<[notifications@gramps.discoursemail.com](mailto:notifications@gramps.discoursemail.com)\>  
To [k.schroer@t-online.de](mailto:k.schroer@t-online.de)  
Date 09.06.2026 21:44:16  
Subject [Gramps] [Help] CSV Import Error: Places and (Persons & Events)

(Attachment Gramps-Import-Referenz\_WolfBsp\_v02a.csv is missing)

> **(attachments)**
>
> [Test-Wolf.gramps](https://gramps.discourse.group/uploads/short-url/4Z0NIeM8hXHpLrlstuyj2R0YDJQ.gramps) (1.53 KB)

---

<div class="post-metadata">

**Author:** ![schroer-berlin](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/schroer-berlin/32/9054_2.png) [@schroer-berlin](https://gramps.discourse.group/u/schroer-berlin)\
**Post date:** [June 9, 2026, 2:26pm UTC](https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593/4 "2026-06-09T14:26:01Z")

</div>

Hmm? I couldn’t upload the CSV file.  
I received the following error message.  
Best regards, K.S.

> > ------ Original message ------
> 
> > From “The Gramps Project (Discourse Forum & Mailing List)” \<[notifications@gramps.discoursemail.com](mailto:notifications@gramps.discoursemail.com)\>
> 
> > To [k.schroer@t-online.de](mailto:k.schroer@t-online.de)
> 
> > Date 09.06.2026 22:21:12
> 
> > Subject [The Gramps Project (Discourse Forum & Mailing List)] Email issue – Attachment Rejected
> 
> > Unfortunately, some attachments in your email message to [“[incoming+d98f5f5dd02b0c5361f6ddc474ed4aaa@gramps.discoursemail.com](mailto:incoming+d98f5f5dd02b0c5361f6ddc474ed4aaa@gramps.discoursemail.com)”] (titled Re: [Gramps] [Help] CSV Import Error: Places and (Persons & Events)) were rejected.
> 
> > Details:
> 
> > Gramps-Import-Referenz\_WolfBsp\_v02a.csv: Sorry, the file you are trying to upload is not authorized (authorized extensions: jpg, jpeg, png, gif, heic, heif, webp, gramps, pdf, html, sql, ged).
> 
> > If you believe this is an error, [contact a staff member](https://gramps.discourse.group/about).

------ Original message ------  
From “Douglas Blank” \<[notifications@gramps.discoursemail.com](mailto:notifications@gramps.discoursemail.com)\>  
To [k.schroer@t-online.de](mailto:k.schroer@t-online.de)  
Date 09.06.2026 21:44:16  
Subject [Gramps] [Help] CSV Import Error: Places and (Persons & Events)

---

<div class="post-metadata">

**Author:** ![dsblank](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/dsblank/32/3649_2.png) [@dsblank](https://gramps.discourse.group/u/dsblank)\
**Post date:** [June 9, 2026, 2:27pm UTC](https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593/5 "2026-06-09T14:27:30Z")

</div>

You can send it to [doug.blank@gmail.com](mailto:doug.blank@gmail.com)

---

<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:** [June 9, 2026, 3:32pm UTC](https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593/6 "2026-06-09T15:32:34Z")

</div>

If the sample is is not terribly huge, you can also paste the **CSV data** inside a posting as “plain text”.

Marking the beginning and end with triple backticks (```) indicates that it is data or code.

## So writing the following:

``` CSV  
header A, header B, header C  
row 1 A, row 1 B, row 1 C  
row 2 A, row 2 B, row 2 C  
row 3 A, row 3 B, row 3 C  
```

## will be shown in the posting as:

```CSV
header A, header B, header C
row 1 A, row 1 B, row 1 C
row 2 A, row 2 B, row 2 C
row 3 A, row 3 B, row 3 C

```

---

<div class="post-metadata">

**Author:** ![dsblank](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/dsblank/32/3649_2.png) [@dsblank](https://gramps.discourse.group/u/dsblank)\
**Post date:** [June 9, 2026, 9:32pm UTC](https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593/7 "2026-06-09T21:32:29Z")

</div>

Should be fixed in this “Pull Request”: [Fix CSV import: resolve place IDs in event place columns by dsblank · Pull Request #2362 · gramps-project/gramps · GitHub](https://github.com/gramps-project/gramps/pull/2362)

Should also be available in the next release (Gramps 6.1).

---

<div class="post-metadata">

**Author:** ![dsblank](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/dsblank/32/3649_2.png) [@dsblank](https://gramps.discourse.group/u/dsblank)\
**Post date:** [June 9, 2026, 9:33pm UTC](https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593/8 "2026-06-09T21:33:06Z")

</div>

Thanks for reporting! I love the CSV import and hope to keep it in good shape.

---

<div class="post-metadata">

**Author:** ![schroer-berlin](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/schroer-berlin/32/9054_2.png) [@schroer-berlin](https://gramps.discourse.group/u/schroer-berlin)\
**Post date:** [June 10, 2026, 12:31am UTC](https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593/9 "2026-06-10T00:31:46Z")

</div>

Thank you!  
(I agree to the csv-relevance.)

Which IDE are you using?  
(Eclipse, PyCharm, …)

My programming experience ended 40 years ago.

Best regards, K.S.

------ Original Message ------  
From “Douglas Blank” \<[notifications@gramps.discoursemail.com](mailto:notifications@gramps.discoursemail.com)\>  
To [k.schroer@t-online.de](mailto:k.schroer@t-online.de)  
Date 10.06.2026 05:43:16  
Subject [Gramps] [Help] CSV Import Error: Places and (Persons & Events)

---

<div class="post-metadata">

**Author:** ![Cynwrite](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@Cynwrite](https://gramps.discourse.group/u/Cynwrite)\
**Post date:** [June 14, 2026, 6:35pm UTC](https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593/10 "2026-06-14T18:35:33Z")

</div>

So I think I may be running into this in the export as well (on the new one that will be included in 6.1). When exporting events, it is not including the person ID, and it doesn’t seem to respect the export filter I have set up. For example:

| Event | Event type | Date | Place | Description | Source | Note | Note type | Tag | Person | Family | Role |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| [E000090] | Birth | 13 Nov 1858 | | | Find A Grave | | | | | | |
| [E000038] | Newspaper | 15-Dec-11 | | | Akron Beacon Journal | One a suicide, another a raving maniac… | Event Note | | | | |

Also, it’s pulling source, but I think we may need the citation here as well. Let me know if it would be better to start a new thread on this one. I haven’t played with the updated import yet.

---

<div class="post-metadata">

**Author:** ![dsblank](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/dsblank/32/3649_2.png) [@dsblank](https://gramps.discourse.group/u/dsblank)\
**Post date:** [June 14, 2026, 7:10pm UTC](https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593/11 "2026-06-14T19:10:02Z")

</div>

I’ll take a look. Thanks!

---

<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:** [July 14, 2026, 7:10pm UTC](https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593/12 "2026-07-14T19:10:04Z")

</div>

Closed on July 14, 2026, 7:10pm UTC

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

---

<div class="post-metadata">

**Author:** ![Nick-Hall](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/nick-hall/32/95_2.png) [@Nick-Hall](https://gramps.discourse.group/u/Nick-Hall)\
**Post date:** [October 28, 2026, 8:59pm UTC](https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593/13 "2026-10-28T20:59:36Z")

</div>

Opened on October 28, 2026, 8:59pm UTC



---

<div class="post-metadata">

**Author:** ![codefarmer](https://avatars.discourse-cdn.com/v4/letter/c/b9e5f3/32.png) [@codefarmer](https://gramps.discourse.group/u/codefarmer)\
**Post date:** [October 28, 2026, 8:57pm UTC](https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593/14 "2026-10-28T20:57:59Z")

</div>

This is a reply to the closed thread:

[https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593/12](https://gramps.discourse.group/t/csv-import-error-places-and-persons-events/9593/12)

@dsblank or @schroer-berlin could you attach the CSV file to the PR for testing? Posting here on Discourse to refresh the link between the PR and the thread. 🙂 Thanks.
