This Help forum is for issues relates to the latest release (1.7.7). For issues related to beta or github version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here."
  • Page:
  • 1

TOPIC:

Import gedcom file results in crash 4 years 7 months ago #1

  • boppex
  • boppex's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 46
After importing an export of a MyHeritage gedcom the import crashes.
../../public_html/webtrees/app/Fact.php:69 Invalid GEDCOM data passed to Fact::_construct(164 8 - 1673 Pfarrer und Metropolitan in Echze ll) #0 /app/GedcomRecord.php:108 InvalidArgumentException("Invalid GEDCOM data passed to Fact::_construct(164 8 - 1673 Pfarrer und Metropolitan in Echze ll)") #1 /app/GedcomRecord.php:84 parseFacts() #2 /app/Functions/FunctionsImport.php:642 __construct('I501272', '0 @I501272@ INDI 1 _UPD 13 AUG…', [NULL], [Tree]) #3 /import.php:214 importRecord('0 @I501272@ INDI 1 _UPD 13 AU…', [Tree], false)

1. webtrees has issues with certain individual fields from a MyHeritage .ged file
2. Control panel is now 'stuck' and I can't do anything.

Please PM me for the .ged file if needed :)
Attachments:

Please Log in or Create an account to join the conversation.

Import gedcom file results in crash 4 years 7 months ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
> After importing an export of a MyHeritage gedcom the import crashes

This GEDCOM file is presumably invalid. Record I501272 has a "fact" line that does not begin with a "1".
Perhaps the previous line wraps onto a second line?

You could open the GEDCOM file with a text editor, scroll down to the record and take a look?

> Please PM me for the .ged file if needed :)

The error should be fairly obvious. Even if you have never looked at a GEDCOM file, you'll quickly spot the pattern/structure of it. If you can't, then email it to me at This email address is being protected from spambots. You need JavaScript enabled to view it.

> webtrees has issues with certain individual fields from a MyHeritage .ged file

Unless you give details, I'm not sure how to help you.

> Control panel is now 'stuck' and I can't do anything.

You can either delete this tree, or import another GEDCOM file. The other functions for this tree won't work until there is a complete tree.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Last edit: by fisharebest.

Import gedcom file results in crash 4 years 7 months ago #3

  • boppex
  • boppex's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 46
> After importing an export of a MyHeritage gedcom the import crashes

This GEDCOM file is presumably invalid. Record I501272 has a "fact" line that does not begin with a "1".
Perhaps the previous line wraps onto a second line?
I was able to find the person and edited the note. With a new export this is hopefully solved.

You could open the GEDCOM file with a text editor, scroll down to the record and take a look?

> Please PM me for the .ged file if needed :)

The error should be fairly obvious. Even if you have never looked at a GEDCOM file, you'll quickly spot the pattern/structure of it. If you can't, then email it to me at This email address is being protected from spambots. You need JavaScript enabled to view it.
Should be to developers maybe. If I was able to solve it, I wouldn't have post it here sir :).

> webtrees has issues with certain individual fields from a MyHeritage .ged file
Unless you give details, I'm not sure how to help you.
I gave the details: the snippet of this 'crash'. In my opinion webtrees should be able to workaround this presumably faulty note.
Or should I create a ticket with MyHeritage for exporting a gedcom with errors.


> Control panel is now 'stuck' and I can't do anything.
You can either delete this tree, or import another GEDCOM file. The other functions for this tree won't work until there is a complete tree.
That's the other issue. I'm really stuck. All menu items are not accessible. Each menu item I click in the control panel menu, will load ../webtrees/admin_trees_manage.php and thus present this error. So I'm in a loop.

Please Log in or Create an account to join the conversation.

Import gedcom file results in crash 4 years 7 months ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
> I gave the details: the snippet of this 'crash'. In my opinion webtrees should be able to workaround this presumably faulty note.

You have reported two problems.
(1) invalid GEDCOM
(2) webtrees does not recognise some MyHeritage tags.

Unless you show us the relevant parts of the GEDCOM file or give more details, we cannot help.

You can email the file to me.

> That's the other issue. I'm really stuck. All menu items are not accessible. Each menu item I click in the control panel menu, will load ../webtrees/admin_trees_manage.php and thus present this error. So I'm in a loop.

All the other functions require an imported GEDCOM file. You are redirected here because none of the other functions will work until you fix it.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Import gedcom file results in crash 4 years 7 months ago #5

  • boppex
  • boppex's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 46
I was able to create a second tree and import the gedcom. I had removed the culprit from the gedcom.
The only issue I'm still facing is that the first tree is still containing the error.

How do I remove that?
To me it 'looks like' the initial faulty gedcom is buffered somewhere.
Attachments:

Please Log in or Create an account to join the conversation.

Import gedcom file results in crash 4 years 7 months ago #6

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
> To me it 'looks like' the initial faulty gedcom is buffered somewhere.

It is buffered in the table wt_gedcom_chunk in the database.

Delete the contents of this table.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Import gedcom file results in crash 4 years 7 months ago #7

  • boppex
  • boppex's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 46
Thank you.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum