CSV Import Error: Places and (Persons & Events)

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)

  • 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.

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.

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

------ Original message ------
From “Douglas Blank” <notifications@gramps.discoursemail.com>
To 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 (1.53 KB)

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>

To 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”] (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.

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

You can send it to doug.blank@gmail.com

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:

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

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

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

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

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>
To k.schroer@t-online.de
Date 10.06.2026 05:43:16
Subject [Gramps] [Help] CSV Import Error: Places and (Persons & Events)

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.

I’ll take a look. Thanks!