Before asking for help please read "How to request help" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

Using the exported gedcom file 2 weeks 6 days ago #1

  • philld
  • philld's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 43
I wanted to import a gedcom file that had been created by webtrees into another application to see how the info was handled. Interestingly, the data seems to have transferred fine but there is a problem with the media to be imported. When I checked the results of the import, only some of the media was there. Upon further inspection it was only the media that was associated with Fancy bar. (for the record, I have two media folders - the main one with approximately 2000 files and the one used for Fancy bar with about 60 images - done for performance reasons). I checked the two media folders from the export and all the files where there. When performing the export, I had checked for the prefix for the folder ( in this case E:\ ) be added to the path for the filenames. Next I checked the gedcom file and noticed that the "E:\" had only been added to the files that were in the Fancy bar directory. The files in the main directory contained only the folder name and the file name (there was no E:\). I updated the gedcom to add the "E:\", saved the file and tried the import again. No change - only the media from the Fancy folder continued to show.

Assuming it was an application problem, I decided to import the file into a second application. First observation was that the import was extremely slow in the second application and once it was done, I had the same problem as with the first application i.e. the only media that showed was that associated with the Fancy bar folder.

Not sure what else I should be looking at in order to resolve this problem of only the partial media import as I now believe it is somehow related to the gedcom file itself that was exported from webtrees.

Oh, I should add, webtrees version is 2.0.11

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

Last edit: by philld.

Using the exported gedcom file 2 weeks 6 days ago #2

  • hermann
  • hermann's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 215
Can you show us two short pieces of your GEDCOM file, please? One with the path to the FancyImage-Folder and one with the path to your main image folder. Are all images now stored together on E: or are they stored again in different folders on E:?
webtrees 2.0.11 (all available custom modules installed) @ ahnen.hartenthaler.eu/
and webtrees 1.7.17 (many custom modules) @ ahnen1.hartenthaler.eu/

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

Using the exported gedcom file 2 weeks 6 days ago #3

  • hermann
  • hermann's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 215
I just saw that this issue github.com/fisharebest/webtrees/issues/3657 is from you and this explains why you can't import this GEDCOM file. It seems to be a bug.
webtrees 2.0.11 (all available custom modules installed) @ ahnen.hartenthaler.eu/
and webtrees 1.7.17 (many custom modules) @ ahnen1.hartenthaler.eu/

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

Using the exported gedcom file 2 weeks 6 days ago #4

  • norwegian_sardines
  • norwegian_sardines's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 1876
And was noted in GitHub 25 days ago and committed.
github.com/fisharebest/webtrees/issues/3626

And noted in this forum thread.
www.webtrees.net/index.php/en/forum/help...error-on-media-files
Ken

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

Last edit: by norwegian_sardines.

Using the exported gedcom file 2 weeks 6 days ago #5

  • philld
  • philld's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 43
I'm not clear when you say "committed" - when I look at that thread it said it was committed and would be in the next release - that was release 2.0.10. As noted earlier, the problem is still there in 2.0.11 so please explain the "committed". Is it that the "bug" was committed and scheduled for fixing OR only that the "bug" was acknowledged and is pending a fix?

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

Last edit: by philld.

Using the exported gedcom file 2 weeks 6 days ago #6

  • norwegian_sardines
  • norwegian_sardines's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 1876
Based on the forum thread the problem was when you imported the GEDCOM and it had an inline media object. This would mean that it was fixed on the import, so my guess is that the data in the database needs to be fixed.

If this is the same problem. Check to see the individual has a bad media object in the Raw data in the database.
Ken

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

Using the exported gedcom file 2 weeks 5 days ago #7

  • philld
  • philld's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 43
The problem is when I import the exported file created by webtrees into another application. As noted, the OBJE appears incorrectly in the object and Greg suggested a fix using a search and replace on Github. Have tried it but it does not appear to have changed anything. Is there something else in the search and replace that is needed.

Suggested fix that was tried:
Control panel -> Family tree -> Data fixes -> Search and replace

Search method: Regular expression
Search for ^0 OBJE @([^@]*)@
Replace with 0 @$1@ OBJE
Records: Media objects

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

Using the exported gedcom file 2 weeks 5 days ago #8

  • hermann
  • hermann's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 215
I just tested this and it works for me.

Please check again, that "Media objects" and "Regular expression" is selected. What happens if you click on "Search". I would expect that there is a list with all the erroneous records. If you click on "Preview" you will see what will happen if you accept the changes to happen.

If the list is empty then all the records in your database are already correct. Then export GEDCOM again and import it in your program.

You can check, if your search string is correct if you use instead of "^0 OBJE @([^@]*)@" alternatively "^0 @([^@]*)@ OBJE". This should show you all correct media records.
webtrees 2.0.11 (all available custom modules installed) @ ahnen.hartenthaler.eu/
and webtrees 1.7.17 (many custom modules) @ ahnen1.hartenthaler.eu/

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

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: 

Using the exported gedcom file 2 weeks 5 days ago #9

  • norwegian_sardines
  • norwegian_sardines's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 1876
Do you need to except the changes?
Ken

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

  • Page:
  • 1
Powered by Kunena Forum