frizbog / gedcom4j

Java library for reading/writing genealogy files in GEDCOM format
http://gedcom4j.org
53 stars 36 forks source link

Individuals are not loaded #186

Closed unnivm closed 6 years ago

unnivm commented 6 years ago

I have a .GED file and tried to load parse and load the content. But none of the individuals are loaded. Not only that. I checked for any family data. Even that also was not loaded. I am not getting any exception. Can you tell me what I am doing wrong?

thank you

unnivm commented 6 years ago

I found out the reason. My GED file contains entries like CHILD, FAMILY_SPOUSE, FAMILY_CHILD , INDIVIDUAL etc. But in your sample file, all these names are shortened. Is it possible to add support for the above notations as well?

thank you

frizbog commented 6 years ago

Hi,

It sounds to me like your file does not comply with either the GEDCOM 5.5 or 5.5.1 spec so I don't anticipate changing the library to read non-standard files.

I'm sorry not to be of more help.

On Oct 2, 2017 12:09 PM, "Unni Mana" notifications@github.com wrote:

I found out the reason. My GED file contains entries CHILD, FAMILY_SPOUSE, FAMILY_CHILD , INDIVIDUAL etc. But in your sample file, all these names are shortened. Is this possible to add support for the above notations as well?

thank you

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/frizbog/gedcom4j/issues/186#issuecomment-333582606, or mute the thread https://github.com/notifications/unsubscribe-auth/ACxHYWAyjNFEqVYos8jRtJH1sv0i-m-vks5soQrGgaJpZM4PqjvD .

unnivm commented 6 years ago

Thank you Matt for the information. But when I checked my it is 5.5. Please find the header of the file.

0 HEADER 1 SOURCE FTW 2 VERSION 11.0 2 NAME Family Tree Maker for Windows 2 CORPORATE MyFamily.com, Inc. 3 ADDRESS 360 W 4800 N 4 CONTINUED Provo, UT 84604 3 PHONE (801) 705-7000 1 DESTINATION FTM 1 DATE 19 JUL 2015 1 CHARACTER ANSI 1 FILE D:\Unsed\ftw\ALAKKAT.GED 1 GEDCOM 2 VERSION 5.5 2 FORM LINEAGE-LINKED 0 @I00001@ INDIVIDUAL

In fact this file was generated using a family tree maker tool.

If not possible, please let me know how can upgrade my file to your standard. If required I can develop a plug in or utility to do so.

Please let me know.

UPDATE: I validated my GED file using an online tool and it says it is not a valid one.

"File not recognised as valid GEDCOM file, appears to be in FTW TEXT format"

Thank you. Unni M

On Tue, Oct 3, 2017 at 12:27 AM, Matt Harrah notifications@github.com wrote:

Hi,

It sounds to me like your file does not comply with either the GEDCOM 5.5 or 5.5.1 spec so I don't anticipate changing the library to read non-standard files.

I'm sorry not to be of more help.

On Oct 2, 2017 12:09 PM, "Unni Mana" notifications@github.com wrote:

I found out the reason. My GED file contains entries CHILD, FAMILY_SPOUSE, FAMILY_CHILD , INDIVIDUAL etc. But in your sample file, all these names are shortened. Is this possible to add support for the above notations as well?

thank you

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/frizbog/gedcom4j/issues/186#issuecomment-333582606, or mute the thread https://github.com/notifications/unsubscribe-auth/ ACxHYWAyjNFEqVYos8jRtJH1sv0i-m-vks5soQrGgaJpZM4PqjvD .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/frizbog/gedcom4j/issues/186#issuecomment-333631112, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7JGz34dubycgCtLR-lk6TCMu5MngH-ks5soTIzgaJpZM4PqjvD .

--

If not played, Free Sudoku Android Game https://play.google.com/store/apps/details?id=com.gamerfan.sudoku

unnivm commented 6 years ago

I was able to load my file by transforming to standard GEDCOM. So this issue can be closed. Thank you for your co-operation

frizbog commented 6 years ago

Awesome. I'm glad that worked for you.

On Oct 3, 2017 12:58 AM, "Unni Mana" notifications@github.com wrote:

I was able to load my file by transforming to standard GEDCOM. So this issue can be closed. Thank you for your co-operation

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/frizbog/gedcom4j/issues/186#issuecomment-333739221, or mute the thread https://github.com/notifications/unsubscribe-auth/ACxHYW2zM-_Yy4QYjw7Z7-8xKNaz2-1xks5sob8EgaJpZM4PqjvD .