This Help forum is for issues relates to the latest release (1.7.9). 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."

TOPIC: Import af gedcomoverførsel fra Ancestral Quest

Import af gedcomoverførsel fra Ancestral Quest 2 weeks 5 days ago #1

  • aase48
  • aase48's Avatar
  • Offline
  • New
  • Posts: 9
Hej
Min webside er jannesslaegt.dk/webtrees

Jeg importerede en gedcomfil til webtrees, men billederne com ikke med. Jeg prøvede så at importere igen, men så blev jeg helt smidt af webtrees. Nu har jeg oprettet mig igen, men hvad gør jeg nu?
Aase Jørgensen
The administrator has disabled public write access.

Import af gedcomoverførsel fra Ancestral Quest 2 weeks 5 days ago #2

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Gold
  • Greetings from Utrecht, Holland
  • Posts: 1391
Hej Aase,

Images are not stored in the GEDCOM file itself, but should be uploaded separately (with FTP for example) by default to the folder data/media.
stamboom.BertKoor.nl runs on webtrees v1.7.9
The administrator has disabled public write access.

Import af gedcomoverførsel fra Ancestral Quest 2 weeks 5 days ago #3

  • aase48
  • aase48's Avatar
  • Offline
  • New
  • Posts: 9
Hej
Jeg har uploaded med filezilla, og den ligger i public_html, så det skulle være i orden. Jeg har også kunnet se den første gedcom, jeg importerede. Aase
The administrator has disabled public write access.

Import af gedcomoverførsel fra Ancestral Quest 2 weeks 4 days ago #4

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Gold
  • Greetings from Utrecht, Holland
  • Posts: 1391
There should be a subfolder data/media in public_html.
Did you put the images there? Ans does it work now?
stamboom.BertKoor.nl runs on webtrees v1.7.9
The administrator has disabled public write access.

Import af gedcomoverførsel fra Ancestral Quest 2 weeks 4 days ago #5

  • aase48
  • aase48's Avatar
  • Offline
  • New
  • Posts: 9
Billederne var ikke kommet med fra AQ, så det er rettet, men jeg kan ikke importere den nu. Jeg har prøvet hele dagen, men der der er noget der går galt, men jeg prø.ver igen i morgen.
Aase
The administrator has disabled public write access.

Import af gedcomoverførsel fra Ancestral Quest 2 weeks 4 days ago #6

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Gold
  • Greetings from Utrecht, Holland
  • Posts: 1391
Excuse me if it wasn't clear before, but (since your url is jannesslaegt.dk/webtrees) on your server the images are expected in the folder public_html/webtrees/data/media.

During import of the GEDCOM file, the last item on the form is "Remove the GEDCOM media path from filenames" (Danish translation: "Fjern mediestier")
You should check what's in your file, using a generic text editor such as Notepad. Search for the tag "1 FILE".
If it looks like this:

1 FILE bertkoor.jpeg
then you don't need to do anything.
But if it looks like this:
1 FILE c:/user/data/images/bertkoor.jpeg
then the media path to remove is
c:/user/data/images/
stamboom.BertKoor.nl runs on webtrees v1.7.9
Last Edit: 2 weeks 4 days ago by bertkoor.
The administrator has disabled public write access.

Import af gedcomoverførsel fra Ancestral Quest 2 weeks 3 days ago #7

  • aase48
  • aase48's Avatar
  • Offline
  • New
  • Posts: 9
Hej
Nu har jeg prøvet at starte forfra, jeg har overført gedcom til webtrees/data, men når jeg prøver at importere fra server få jeg efter 3,5 følgende besked:

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2-M2' for key 'PRIMARY'

Hvad er der galt?
The administrator has disabled public write access.

Import af gedcomoverførsel fra Ancestral Quest 2 weeks 2 days ago #8

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Gold
  • Greetings from Utrecht, Holland
  • Posts: 1391
Did you perhaps also tick the option "Keep media objects" (Behold medie objekter) ?? Because that would totally explain it. Leave that off next try.

The media object is Gedcom representation of a physical file. These objects can be deleted, since your gedcom file holds all new / updated ones and it will leave the data/media folder alone anyhow.
stamboom.BertKoor.nl runs on webtrees v1.7.9
The administrator has disabled public write access.
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Import af gedcomoverførsel fra Ancestral Quest 2 weeks 2 days ago #9

  • aase48
  • aase48's Avatar
  • Offline
  • New
  • Posts: 9
Hej
Nej, det gjorde jeg ikke.
Aase
The administrator has disabled public write access.

Import af gedcomoverførsel fra Ancestral Quest 2 weeks 2 days ago #10

  • aase48
  • aase48's Avatar
  • Offline
  • New
  • Posts: 9
Hej
er der da ingen, der kan fortælle mig hvad dette betyder: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2-M2' for key 'PRIMARY'

Aase
The administrator has disabled public write access.

Import af gedcomoverførsel fra Ancestral Quest 2 weeks 2 days ago #11

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10339
does the gedcom file contsin two entries for M2.

does it contain a mixture of media records and inline media.

both these things might cause this error.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Import af gedcomoverførsel fra Ancestral Quest 2 weeks 2 days ago #12

  • aase48
  • aase48's Avatar
  • Offline
  • New
  • Posts: 9
Hej
Jeg ved ikke, hvad M2 er, så det kan jeg ikke sige.
Gedcom filen indeholder den database, hvor jeg har samlet mine slægtsoplysninger på, og den indeholder også ca 150 billeder.
Jeg har haft oplysningerne lagt ind på webtrees, men det gik galt, da jeg ville lægge en ny gedcom ind, hvor billederne lå på. Tror du, det er det.
Aase
The administrator has disabled public write access.

Import af gedcomoverførsel fra Ancestral Quest 2 weeks 2 days ago #13

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10339
> Jeg ved ikke, hvad M2

All records in a GEDCOM file have a unqiue identifier.

The error says that you have records with the same identifier - M2.

If you open the GEDCOM file using a text editor (e.g. windows notepad), search for a line that contains "0 @M2@ OBJE" or "0 @m2@ OBJE"

Do you see this line more than once?
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Import af gedcomoverførsel fra Ancestral Quest 2 weeks 1 day ago #14

  • aase48
  • aase48's Avatar
  • Offline
  • New
  • Posts: 9
Hej
Så er jeg kommet hjem og er gået i gang med at se filen igennem. Hvis jeg ser de 2 ens skal jeg så slette den ene?Aase
The administrator has disabled public write access.

Import af gedcomoverførsel fra Ancestral Quest 2 weeks 1 day ago #15

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10339
> Hvis jeg ser de 2 ens skal jeg så slette den ene?

Give it a new (unique) number. e.g. change M2 to M99385345
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Import af gedcomoverførsel fra Ancestral Quest 2 weeks 1 day ago #16

  • aase48
  • aase48's Avatar
  • Offline
  • New
  • Posts: 9
Hej
Det har jeg så prøvet, men så kommer samme fejl igen, men denne gang med M3 i stedet for M2. Så har jeg været inde i AQ for at slette de billeder, som var hos flere personer. Det var nemlig M2, M3 og M4, men det har heller ikke hjulpet.

Aase
The administrator has disabled public write access.
Powered by Kunena Forum