- Posts: 2
Question
SQL Fehlermeldung nach Import GEDCOM-Datei
- lehmann90
-
Topic Author
- Offline
- New Member
-
Less
More
6 days 12 hours ago #1
by lehmann90
SQL Fehlermeldung nach Import GEDCOM-Datei was created by lehmann90
Ich habe aus dem MAC FamilyTree Stammbaum (Version 11.0.4) eine GEDCOM-Datei (5.5.1), Zeilenend-Format MacOS-Classic (CR) in Stammbaum Webseite (2.2.1) importiert.
Ich erhalte folgende Fehlermeldung:SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'TFO-22' for key 'PRIMARY' (Connection: default, SQL: insert into wt_other' (o_id, 'o_file,'o_type, 'o_gedcom') values (TFO, 22, _STF, 0@TFO@_STF1 _NKY SourceTemplate_KeyName_Abbreviation 1 _TAG ABBR 1 _TYP Text))
Quellen und Medien werden nur mit einer Nr mit einem at eingeschlossen angezeigt Beispiel: @37805735@
Die php-Einstellung auf dem Server ist php 8.3.10.
In den vorhergehenden Installationen gab es keine Fehlermeldungen und Medien und Quellen wurden richtig angezeigt.
Leider bin ich kein Experte auf diesen Gebieten.
lehmann90
Ich erhalte folgende Fehlermeldung:SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'TFO-22' for key 'PRIMARY' (Connection: default, SQL: insert into wt_other' (o_id, 'o_file,'o_type, 'o_gedcom') values (TFO, 22, _STF, 0@TFO@_STF1 _NKY SourceTemplate_KeyName_Abbreviation 1 _TAG ABBR 1 _TYP Text))
Quellen und Medien werden nur mit einer Nr mit einem at eingeschlossen angezeigt Beispiel: @37805735@
Die php-Einstellung auf dem Server ist php 8.3.10.
In den vorhergehenden Installationen gab es keine Fehlermeldungen und Medien und Quellen wurden richtig angezeigt.
Leider bin ich kein Experte auf diesen Gebieten.
lehmann90
Please Log in or Create an account to join the conversation.
- Franz Frese
-
- Away
- Elite Member
-
6 days 1 hour ago #2
by Franz Frese
Replied by Franz Frese on topic SQL Fehlermeldung nach Import GEDCOM-Datei
Die Meldung bezieht sich auf die Daten, die du zum Import angeboten hast: Sie entsprechen nicht den Erwartungen!
1062 Duplicate entry 'TFO-22' bedeutet 'TFO-22' ist schon eingetragen und soll nochmal eingetragen werden. So einen Fall gibt es per Definition nicht. Daher erfolgt die Fehlermeldung.
Ob 1062 die Zeilennummer in der Gedcomdatei ist oder die Fehlernummer kann ich nicht sagen, aber vermutlich letzteres.
Ich würde mit einem Editor (vorzugsweise Notepad++) in der Datei nach TFO-22 suchen und schauen, um was es sich da handelt und dann handeln.
1062 Duplicate entry 'TFO-22' bedeutet 'TFO-22' ist schon eingetragen und soll nochmal eingetragen werden. So einen Fall gibt es per Definition nicht. Daher erfolgt die Fehlermeldung.
Ob 1062 die Zeilennummer in der Gedcomdatei ist oder die Fehlernummer kann ich nicht sagen, aber vermutlich letzteres.
Ich würde mit einem Editor (vorzugsweise Notepad++) in der Datei nach TFO-22 suchen und schauen, um was es sich da handelt und dann handeln.
Please Log in or Create an account to join the conversation.
- fisharebest
-
- Offline
- Administrator
-
5 days 23 hours ago #3
by fisharebest
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Replied by fisharebest on topic SQL Fehlermeldung nach Import GEDCOM-Datei
Your GEDCOM file contains some non-standard records, including this one.
0 @TFO@_STF
1 _NKY SourceTemplate_KeyName_Abbreviation
1 _TAG ABBR
1 _TYP Text
My guess is that there are more than one record with "0 @TFO@"
This is supposed to be a unique identifier.
What application created this GEDCOM file?
0 @TFO@_STF
1 _NKY SourceTemplate_KeyName_Abbreviation
1 _TAG ABBR
1 _TYP Text
My guess is that there are more than one record with "0 @TFO@"
This is supposed to be a unique identifier.
What application created this GEDCOM file?
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Franz Frese
-
- Away
- Elite Member
-
5 days 21 hours ago - 5 days 21 hours ago #4
by Franz Frese
lehmann90 post=110005 userid=13776
... In den vorhergehenden Installationen gab es keine Fehlermeldungen und Medien und Quellen wurden richtig angezeigt. ...
Dann musst du an den Exporteinstellungen etwas geändert haben, oder bei MAC FamilyTree Stammbaum (Version 11.0.4) hast du eine ältere Version verwendet.
(setting or version changed?)
Replied by Franz Frese on topic SQL Fehlermeldung nach Import GEDCOM-Datei
MAC FamilyTree (first message)... What application created this GEDCOM file?
lehmann90 post=110005 userid=13776
... In den vorhergehenden Installationen gab es keine Fehlermeldungen und Medien und Quellen wurden richtig angezeigt. ...
Dann musst du an den Exporteinstellungen etwas geändert haben, oder bei MAC FamilyTree Stammbaum (Version 11.0.4) hast du eine ältere Version verwendet.
(setting or version changed?)
Last edit: 5 days 21 hours ago by Franz Frese.
Please Log in or Create an account to join the conversation.
- Peter_S
-
- Offline
- Senior Member
-
5 days 20 hours ago - 5 days 20 hours ago #5
by Peter_S
The GEDCOM contains two custom records with the same XREF:
0 @TF0@ _PTF
1 _LNA Arrondissement
1 _NKY PlaceTemplate_KeyName_District
1 _TAG Arrondissement
...
0 @TF0@ _STF
1 _NKY SourceTemplate_KeyName_Abbreviation
1 _TAG ABBR
1 _TYP Text
Both records are part of the new version 11 location management, which reflects the different administrative systems of the countries and makes it possible to accurately record and store location-specific details for the locations in the tree.
I am in contact with the support to clarify.
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 SQL Fehlermeldung nach Import GEDCOM-Datei
Greg, you are right. I made a test on MobileFamilyTree with their example file.My guess is that there are more than one record with "0 @TFO@"
The GEDCOM contains two custom records with the same XREF:
0 @TF0@ _PTF
1 _LNA Arrondissement
1 _NKY PlaceTemplate_KeyName_District
1 _TAG Arrondissement
...
0 @TF0@ _STF
1 _NKY SourceTemplate_KeyName_Abbreviation
1 _TAG ABBR
1 _TYP Text
Both records are part of the new version 11 location management, which reflects the different administrative systems of the countries and makes it possible to accurately record and store location-specific details for the locations in the tree.
I am in contact with the support to clarify.
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
Last edit: 5 days 20 hours ago by Peter_S.
Please Log in or Create an account to join the conversation.
- lehmann90
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
4 days 17 hours ago #6
by lehmann90
Replied by lehmann90 on topic SQL Fehlermeldung nach Import GEDCOM-Datei
Wie ich schon erwähnte bin ich kein Fachmann, aber ich habe jetzt meine GEDCOM-Datei aus der MACFamilyTree10 nach Website WEBTREES 2.2.1 importiert. Hier ist alles soweit i.o. Fotos und Quellen und Medien werden wieder angezeigt. Es dürfte also an MACFamilyTree 11 liegen.
Please Log in or Create an account to join the conversation.