- Posts: 8
Question Invalid GEDCOM data passed to Fact::_construct importing from myheritage
- adams_tracker
- Topic Author
- Offline
- New Member
Less
More
11 months 3 weeks ago #1
by adams_tracker
Invalid GEDCOM data passed to Fact::_construct importing from myheritage was created by adams_tracker
Invalid GEDCOM data passed to Fact::_construct(10 LY : text text text,I502550)
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
11 months 3 weeks ago - 11 months 3 weeks ago #2
by bertkoor
stamboom.BertKoor.nl runs on webtrees v2.1.20
Replied by bertkoor on topic Invalid GEDCOM data passed to Fact::_construct importing from myheritage
Garbage in, garbage out...
Did the import of data into a tree succeed, or did it abort with this error?
I think what you need to do is open the .GED file with a text editor. Then find I502550 and somewhere in the next lines you'll see "10 LY" which needs to be corrected. It looks a bit like a part of a corrupted date.
Did the import of data into a tree succeed, or did it abort with this error?
I think what you need to do is open the .GED file with a text editor. Then find I502550 and somewhere in the next lines you'll see "10 LY" which needs to be corrected. It looks a bit like a part of a corrupted date.
stamboom.BertKoor.nl runs on webtrees v2.1.20
Last edit: 11 months 3 weeks ago by bertkoor.
Please Log in or Create an account to join the conversation.
- adams_tracker
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
11 months 3 weeks ago #3
by adams_tracker
Replied by adams_tracker on topic Invalid GEDCOM data passed to Fact::_construct importing from myheritage
Definition GIGO, but can't find the G in the file. I can't read gedcom well though.
The 10ly: is on line 18426 and then there are many many lines of text until line 18572 where the string I502550 shows up.
I don't see any patterns that seems particularly out of place or broken, but again, I don't necessarily read gedcom.
I'm only thinking if there are any known issues with exports from myheritage that might point me in a direction.
The 10ly: is on line 18426 and then there are many many lines of text until line 18572 where the string I502550 shows up.
I don't see any patterns that seems particularly out of place or broken, but again, I don't necessarily read gedcom.
I'm only thinking if there are any known issues with exports from myheritage that might point me in a direction.
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
11 months 3 weeks ago - 11 months 3 weeks ago #4
by bertkoor
stamboom.BertKoor.nl runs on webtrees v2.1.20
Replied by bertkoor on topic Invalid GEDCOM data passed to Fact::_construct importing from myheritage
No problem, there are plenty people here in the forum that can read GEDCOM.
Could you share that line 18426 and a handful before and after it please?
Perhaps the data beyond line 18572 where I502550 starts is where we need to look as well.
The error message mentions "10 LY" while you wrote "10ly"...
And did the import of data into a tree succeed, or did it abort with this error?
It used to be in webtrees 1.7.x that it would import and process anything you'd throw at it.
More recent versions are more strict in parsing weird GEDCOM constructions.
If the import completely fails because of a syntax error on one line, then imho that's not intended so a bug that needs fixing.
Could you share that line 18426 and a handful before and after it please?
Perhaps the data beyond line 18572 where I502550 starts is where we need to look as well.
The error message mentions "10 LY" while you wrote "10ly"...
And did the import of data into a tree succeed, or did it abort with this error?
It used to be in webtrees 1.7.x that it would import and process anything you'd throw at it.
More recent versions are more strict in parsing weird GEDCOM constructions.
If the import completely fails because of a syntax error on one line, then imho that's not intended so a bug that needs fixing.
stamboom.BertKoor.nl runs on webtrees v2.1.20
Last edit: 11 months 3 weeks ago by bertkoor.
Please Log in or Create an account to join the conversation.
- Peter_S
- Away
- Premium Member
11 months 3 weeks ago #5
by Peter_S
Peter
webtrees 2.1.22, vesta modules, chart modules of magicsunday, extended family and imprint of hartenthaler
PHP 8.3.12, MariaDB 10.11.8
Webhosting: genonline.de
Replied by Peter_S on topic Invalid GEDCOM data passed to Fact::_construct importing from myheritage
I suspect a known error in MyHeritage: line breaks within NOTE texts are not converted in a GEDCOM-compliant manner (CONT).
The cost-free program GEDCOM-Validator from Chronoplex corrects this error with its repair function.
The cost-free program GEDCOM-Validator from Chronoplex corrects this error with its repair function.
Peter
webtrees 2.1.22, vesta modules, chart modules of magicsunday, extended family and imprint of hartenthaler
PHP 8.3.12, MariaDB 10.11.8
Webhosting: genonline.de
Please Log in or Create an account to join the conversation.
- adams_tracker
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
11 months 3 weeks ago - 11 months 3 weeks ago #6
by adams_tracker
Replied by adams_tracker on topic Invalid GEDCOM data passed to Fact::_construct importing from myheritage
I tried the validator on the myheritage gedcom.
If I click the Severity filter and only check actual "ERRORS", there are 672. Most of them are "Invalid Line structure".
There are 3341 warnings too. That seems like a lot. Is myheritage just creating junk gedcom files?
I tried the encoding repair, but not sure if that's fixing my immediate problem or the other 672 reported errors.
I still get a new error when trying to import using webtrees.
Here's the new error:
Here's some context of the file. This time it's more contained within a few lines all covered here:
If I click the Severity filter and only check actual "ERRORS", there are 672. Most of them are "Invalid Line structure".
There are 3341 warnings too. That seems like a lot. Is myheritage just creating junk gedcom files?
I tried the encoding repair, but not sure if that's fixing my immediate problem or the other 672 reported errors.
I still get a new error when trying to import using webtrees.
Here's the new error:
Code:
Invalid GEDCOM data passed to Fact::_construct(11 ITT i Doe Give unto my Son ffrancis page the one Halfe of all my fre sh medow which I bought of Leiut Howard the whole being by Estimation Sixt een Acres Adjoy[n]ing to my Greatt lott, the which Sixteen Acr es is to be Equally Devided betwixt my two sons my son ffrancis to Devi de and my son Thomas to Choose after Devision the Stock yard to b ee for bo th their use and thatt both of them their Heires and Assignes shall have f ree Egres and Regres to the sd stok yard and to their land According to th eir Devision from time to time for Ever 2 CONT 2 CONT 2 CONT 12ly: I Doe Give and Bequeth unto my Grand Child Robertt page my Son Thom as Eldest son thatt tractt of land Reserved from my son frances his land A djoyni[n]g to the land of Abra Drake and nath bo ulter and so to the Bar rs thatt Goeth into the Comons towards John Garlands land with the two Acr es Adjoin[in]g to Boulters fence and ten Rod more in bredth tot he Bridg t hatt Goeth over the Swamp by Ed Colcords medow 2 CONT 2 CONT Itt I Doe Give unto my Grand son Robertt page Eightt Acres of fresh med ow by my son francies his medow the which he is to Enter upon and poses se att he Age of twenti fower ye ars and his father to posesse and Injoy t he same in the mean time 2 CONT,I502550)
Here's some context of the file. This time it's more contained within a few lines all covered here:
Code:
2 CONT Itt I Doe Give unto the sd Robertt moulton my Iland of fresh medow that l
i eth above my planting land or pastuer by taylors Rive
2 CONC r being by Estimati on one Acre more or less as itt is with free Egres an
d Regres through my l and to the same, and in Case the sd Robertt moulton Die wi
thout Issue th en the sd lands and Commonage to
2 CONC bee and Remaine to his Brother Benjamin m oulton
2 CONT
11 Itt i Doe Give unto my Son ffrancis page the one Halfe of all my fre sh medow
which I bought of Leiut Howard the whole being by Estimation Sixt
2 CONC een Acres Adjoy[n]ing to my Greatt lott, the which Sixteen Acr es is to b
e Equally Devided betwixt my two sons my son ffrancis to Devi de and my son Thom
as to Choose after Devision the Stock yard to b
2 CONC ee for bo th their use and thatt both of them their Heires and Assignes s
hall have f ree Egres and Regres to the sd stok yard and to their land According
to th eir Devision from time to time for Ever
2 CONT
2 CONC
2 CONT
2 CONT 12ly: I Doe Give and Bequeth unto my Grand Child Robertt page my Son Thom
as Eldest son thatt tractt of land Reserved from my son frances his land A djoy
ni[n]g to the land of Abra Drake and nath bo
2 CONC ulter and so to the Bar rs thatt Goeth into the Comons towards John Garla
nds land with the two Acr es Adjoin[in]g to Boulters fence and ten Rod more in b
redth tot he Bridg t hatt Goeth over the Swamp
2 CONC by Ed Colcords medow
2 CONT
2 CONT Itt I Doe Give unto my Grand son Robertt page Eightt Acres of fresh med o
w by my son francies his medow the which he is to Enter upon and poses se att he
Age of twenti fower ye
2 CONC ars and his father to posesse and Injoy t he same in the mean time
2 CONT
13 I Doe Give and Bequeth unto my two Grand Children Robertt page and Samu ell p
age twentie Acres of upland att the Saw mill the w
2 CONC hich is to bee Equa lly Devided betwixt them, and they are to Enter upon
itt att their fathe rs Decease and their fathers to Have the use of itt Duering
the terme of t heir lives
Last edit: 11 months 3 weeks ago by adams_tracker. Reason: clarification of data
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
11 months 3 weeks ago - 11 months 3 weeks ago #7
by bertkoor
There are line breaks in the text which should not be there. Also some words seem to have been cut in half once and later the lines were glued back together but the words kept a space in them.
Spot the differences:
stamboom.BertKoor.nl runs on webtrees v2.1.20
Replied by bertkoor on topic Invalid GEDCOM data passed to Fact::_construct importing from myheritage
Code:2 CONT Itt I Doe Give unto the sd Robertt moulton my Iland of fresh medow that l i eth above my planting land or pastuer by taylors Rive 2 CONC r being by Estimati on one Acre more or less as itt is with free Egres an d Regres through my l and to the same, and in Case the sd Robertt moulton Die wi thout Issue th en the sd lands and Commonage to 2 CONC bee and Remaine to his Brother Benjamin m oulton 2 CONT 11 Itt i Doe Give unto my Son ffrancis page the one Halfe of all my fre sh medow which I bought of Leiut Howard the whole being by Estimation Sixt 2 CONC een Acres Adjoy[n]ing to my Greatt lott, the which Sixteen Acr es is to b e Equally Devided betwixt my two sons my son ffrancis to Devi de and my son Thom as to Choose after Devision the Stock yard to b 2 CONC ee for bo th their use and thatt both of them their Heires and Assignes s hall have f ree Egres and Regres to the sd stok yard and to their land According to th eir Devision from time to time for Ever 2 CONT 2 CONC 2 CONT 2 CONT 12ly: I Doe Give and Bequeth unto my Grand Child Robertt page my Son Thom as Eldest son thatt tractt of land Reserved from my son frances his land A djoy ni[n]g to the land of Abra Drake and nath bo 2 CONC ulter and so to the Bar rs thatt Goeth into the Comons towards John Garla nds land with the two Acr es Adjoin[in]g to Boulters fence and ten Rod more in b redth tot he Bridg t hatt Goeth over the Swamp 2 CONC by Ed Colcords medow 2 CONT 2 CONT Itt I Doe Give unto my Grand son Robertt page Eightt Acres of fresh med o w by my son francies his medow the which he is to Enter upon and poses se att he Age of twenti fower ye 2 CONC ars and his father to posesse and Injoy t he same in the mean time 2 CONT 13 I Doe Give and Bequeth unto my two Grand Children Robertt page and Samu ell p age twentie Acres of upland att the Saw mill the w 2 CONC hich is to bee Equa lly Devided betwixt them, and they are to Enter upon itt att their fathe rs Decease and their fathers to Have the use of itt Duering the terme of t heir lives
There are line breaks in the text which should not be there. Also some words seem to have been cut in half once and later the lines were glued back together but the words kept a space in them.
Spot the differences:
Code:
2 CONT Itt I Doe Give unto the sd Robertt moulton my Iland of fresh medow that lieth above my planting land or pastuer by taylors Rive
2 CONC r being by Estimation one Acre more or less as itt is with free Egres and Regres through my land to the same, and in Case the sd Robertt moulton Die without Issue then the sd lands and Commonage to
2 CONC bee and Remaine to his Brother Benjamin moulton
2 CONT 11 Itt i Doe Give unto my Son ffrancis page the one Halfe of all my fresh medow which I bought of Leiut Howard the whole being by Estimation Sixt
2 CONC een Acres Adjoy[n]ing to my Greatt lott, the which Sixteen Acres is to be Equally Devided betwixt my two sons my son ffrancis to Devi de and my son Thomas to Choose after Devision the Stock yard to b
2 CONC ee for both their use and thatt both of them their Heires and Assignes shall have free Egres and Regres to the sd stok yard and to their land According to their Devision from time to time for Ever
2 CONT
2 CONC
2 CONT
2 CONT 12ly: I Doe Give and Bequeth unto my Grand Child Robertt page my Son Thomas Eldest son thatt tractt of land Reserved from my son frances his land A djoyni[n]g to the land of Abra Drake and nath bo
2 CONC ulter and so to the Barrs thatt Goeth into the Comons towards John Garlands land with the two Acres Adjoin[in]g to Boulters fence and ten Rod more in bredth tot he Bridg thatt Goeth over the Swamp
2 CONC by Ed Colcords medow
2 CONT
2 CONT Itt I Doe Give unto my Grand son Robertt page Eightt Acres of fresh medow by my son francies his medow the which he is to Enter upon and poses se at the Age of twenti fower ye
2 CONC ars and his father to posesse and Injoy the same in the mean time
2 CONT 13 I Doe Give and Bequeth unto my two Grand Children Robertt page and Samuell page twentie Acres of upland att the Saw mill the w
2 CONC hich is to bee Equally Devided betwixt them, and they are to Enter upon itt att their fathers Decease and their fathers to Have the use of itt Duering the terme of their lives
stamboom.BertKoor.nl runs on webtrees v2.1.20
Last edit: 11 months 3 weeks ago by bertkoor.
Please Log in or Create an account to join the conversation.
- Peter_S
- Away
- Premium Member
11 months 3 weeks ago #8
by Peter_S
How did you proceed?
After installation, select 'Encoding repair' in the GEDCOM Validator menu at the top right, then read in the GEDCOM file, press the 'Convert' button (bottom left) and save the file with a new name.
Does the number of errors decrease if you run a GEDCOM check again with the new file?
Peter
webtrees 2.1.22, vesta modules, chart modules of magicsunday, extended family and imprint of hartenthaler
PHP 8.3.12, MariaDB 10.11.8
Webhosting: genonline.de
Replied by Peter_S on topic Invalid GEDCOM data passed to Fact::_construct importing from myheritage
I tried the validator on the myheritage gedcom.
...
I tried the encoding repair, but not sure if that's fixing my immediate problem or the other 672 reported errors.
How did you proceed?
After installation, select 'Encoding repair' in the GEDCOM Validator menu at the top right, then read in the GEDCOM file, press the 'Convert' button (bottom left) and save the file with a new name.
Does the number of errors decrease if you run a GEDCOM check again with the new file?
Peter
webtrees 2.1.22, vesta modules, chart modules of magicsunday, extended family and imprint of hartenthaler
PHP 8.3.12, MariaDB 10.11.8
Webhosting: genonline.de
Please Log in or Create an account to join the conversation.
- adams_tracker
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
11 months 3 weeks ago #9
by adams_tracker
Replied by adams_tracker on topic Invalid GEDCOM data passed to Fact::_construct importing from myheritage
bertkoor, Yeah, it turns out the copy/paste was bad. All of those lines are actually connected. so we're fine.
Peter_S, yes, the rerun on the validator got rid of most errors and now just looking at these:
Here's a segment that encompasses a portion of the errors above. What should these lines look like?
Peter_S, yes, the rerun on the validator got rid of most errors and now just looking at these:
Code:
Code Line Description Parent record
E801 18441 Invalid user defined tag 'Itt'. INDI (I502550)
E501 18441 Level number '11' invalid. INDI (I502550)
E501 18454 Level number '13' invalid. INDI (I502550)
E801 18454 Invalid user defined tag 'I'. INDI (I502550)
E801 18460 Invalid user defined tag 'I'. INDI (I502550)
E501 18460 Level number '15' invalid. INDI (I502550)
E501 18467 Level number '17' invalid. INDI (I502550)
E801 18467 Invalid user defined tag 'I'. INDI (I502550)
E801 18470 Invalid user defined tag 'I'. INDI (I502550)
E501 18470 Level number '18' invalid. INDI (I502550)
E501 18478 Level number '20' invalid. INDI (I502550)
E801 18478 Invalid user defined tag 'I'. INDI (I502550)
Here's a segment that encompasses a portion of the errors above. What should these lines look like?
Code:
2 CONC bee and Remaine to his Brother Benjamin m oulton
2 CONT
11 Itt i Doe Give unto my Son ffrancis page the one Halfe of all my fre sh medow which I bought of Leiut Howard the whole being by Estimation Sixt
2 CONC een Acres Adjoy[n]ing to my Greatt lott, the which Sixteen Acr es is to be Equally Devided betwixt my two sons my son ffrancis to Devi de and my son Thomas to Choose after Devision the Stock yard to b
2 CONC ee for bo th their use and thatt both of them their Heires and Assignes shall have f ree Egres and Regres to the sd stok yard and to their land According to th eir Devision from time to time for Ever
2 CONT
2 CONC
2 CONT
2 CONT 12ly: I Doe Give and Bequeth unto my Grand Child Robertt page my Son Thom as Eldest son thatt tractt of land Reserved from my son frances his land A djoyni[n]g to the land of Abra Drake and nath bo
2 CONC ulter and so to the Bar rs thatt Goeth into the Comons towards John Garlands land with the two Acr es Adjoin[in]g to Boulters fence and ten Rod more in bredth tot he Bridg t hatt Goeth over the Swamp
2 CONC by Ed Colcords medow
2 CONT
2 CONT Itt I Doe Give unto my Grand son Robertt page Eightt Acres of fresh med ow by my son francies his medow the which he is to Enter upon and poses se att he Age of twenti fower ye
2 CONC ars and his father to posesse and Injoy t he same in the mean time
2 CONT
13 I Doe Give and Bequeth unto my two Grand Children Robertt page and Samu ell page twentie Acres of upland att the Saw mill the w
2 CONC hich is to bee Equa lly Devided betwixt them, and they are to Enter upon itt att their fathe rs Decease and their fathers to Have the use of itt Duering the terme of t heir lives
2 CONT
2 CONT 14ly: I Doe Give u
2 CONC nto my Grand Child John page one Hundred Acres of land G ranted to mee in the west partt of Hampton bound, Called the new plantati on
2 CONT
Please Log in or Create an account to join the conversation.
- Peter_S
- Away
- Premium Member
11 months 3 weeks ago #10
by Peter_S
Peter
webtrees 2.1.22, vesta modules, chart modules of magicsunday, extended family and imprint of hartenthaler
PHP 8.3.12, MariaDB 10.11.8
Webhosting: genonline.de
Replied by Peter_S on topic Invalid GEDCOM data passed to Fact::_construct importing from myheritage
The GEDCOM Validator cannot repair all incorrect line breaks within NOTEs. If a new line begins with a number, the program interprets it as a new GEDCOM line, with the number as the level number and the subsequent value as the GEDCOM tag. This then leads to the errors 501 (Level number invalid) and 801 (Invalid user defined tag). These errors, which the program cannot correct itself, must be edited manually.
The line number is also output with the error message. In the case of a line break, these lines must begin with "2 CONT ", for example line 18441:
"2 CONT 11 Itt i Doe Give unto my Son ffrancis page the one Halfe of all my fre sh medow..."
If there is already a line "2 CONT" before this line without any further values, check whether there should be a blank line at this point. If not, delete the line "2 CONT".
Regardless of the error messages, the NOTE texts should be checked and adjusted if necessary. As Bert already wrote, some words in your GEDCOM have been separated by a space. Example in line 18441: "fre sh" instead of "fresh". Whether this is caused by the export to MyHeritage, or whether it already exists in the data in MyHeritage, I cannot say.
In any case, the incorrect line breaks (missing "2 CONT") are a problem of the MyHeritage export.
The line number is also output with the error message. In the case of a line break, these lines must begin with "2 CONT ", for example line 18441:
"2 CONT 11 Itt i Doe Give unto my Son ffrancis page the one Halfe of all my fre sh medow..."
If there is already a line "2 CONT" before this line without any further values, check whether there should be a blank line at this point. If not, delete the line "2 CONT".
Regardless of the error messages, the NOTE texts should be checked and adjusted if necessary. As Bert already wrote, some words in your GEDCOM have been separated by a space. Example in line 18441: "fre sh" instead of "fresh". Whether this is caused by the export to MyHeritage, or whether it already exists in the data in MyHeritage, I cannot say.
In any case, the incorrect line breaks (missing "2 CONT") are a problem of the MyHeritage export.
Peter
webtrees 2.1.22, vesta modules, chart modules of magicsunday, extended family and imprint of hartenthaler
PHP 8.3.12, MariaDB 10.11.8
Webhosting: genonline.de
Please Log in or Create an account to join the conversation.
- adams_tracker
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
11 months 3 weeks ago #11
by adams_tracker
Replied by adams_tracker on topic Invalid GEDCOM data passed to Fact::_construct importing from myheritage
All fixed.
This has been an immensely helpful thread. Thank you all very much.
The repair tool is super easy to run, fix, recheck, repeat and get things sorted out.
Bravo, webtrees community!
This has been an immensely helpful thread. Thank you all very much.
The repair tool is super easy to run, fix, recheck, repeat and get things sorted out.
Bravo, webtrees community!
Please Log in or Create an account to join the conversation.