Bug in GedGap with Embedded Sources – Musing

from Paul, January 29 2018

I had received an email on Christmas Eve regarding an issue in GedGap2Go regarding an issue with number of individuals in a GEDCOM file causing a crash but without the GEDCOM file I was unable to resolve the issue. Today, I received an email concerning a similar issue on GedGap. Interesting?

I tried downloading large GEDCOM files but in doing so I noticed an interesting issue with one file I downloaded today from an online GEDCOM file library;

image

The GEDCOM file above is using embedded sources (i.e. not source records) which leads GedGap to have an issue when processing the PAGE tag, causing a crash. Generally, an embedded source would have a description or title following the SOUR tag, e.g. 2 SOUR Birth Certificate…

GedGap currently doesn’t support embedded sources and is expecting a source tag followed by an identifier or source record e.g. 2 SOUR @S12345@.

A typical source record example is shown below from Wikipedia (https://en.wikipedia.org/wiki/GEDCOM).

image

I have prepared an update for GedGap which will not crash with embedded sources but additional work is required to utilise these sources.

This been said, the issue of whether GedGap and/or GedGap2Go are able to handle very large GEDCOM files is still to be explored. GedGap2Go is more likely to encounter memory issues on a iPhone than GedGap will on a Mac. Whether the issue with these files is embedded sources is yet to be determined.

Update; Ancestry allows a person to create embedded sources, i.e. citations without being linked to a source records.

image

The citation above has not specified nor created a new source, resulting in no source specified for this citation.

image

This creates a GEDCOM file with the following;

image

At present, GedGap doesn’t support this type of embedded source (yet). Basically, I will need to look for SOUR tags with no record identifiers and then use the following PAGE tag as the source title or perhaps, follow the example of RootsMagic 7 that treats the SOUR entry as having no title (which follows the GEDCOM standard). The latter approach basically would ignore these citation entries from GedGap scoring.