Duplicate Picture IDs in XML file
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



Duplicate Picture IDs in XML file Expand / Collapse
Author
Message
Post #6227 Posted 9/16/2004 8:12:28 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/17/2005 10:23:19 PM
Posts: 2, Visits: 0
I just went from Beta8 to Beta11h today. Apparently the GNO file format has changed since, although there is no such mention in the log. Anyway, GenoPro can not read the Beta8 file format and tries to import the XML file. Unfortunately the XML file created with Beta8 seems to use the same picture IDs for different pictures :( . My log comes out the following way:


Opening file 'C:\Stammbaum\Alexandra.gno'...
The file 'C:\Stammbaum\Alexandra.gno' contains data unknown to GenoPro.
The occurrence of unknown data is because the file 'C:\Stammbaum\Alexandra.gno' was saved using an internal (beta) version of GenoPro released for evaluation and testing purpose only.
Since then, the file format has changed and is no longer supported.

GenoPro will attempt to import the XML file containing the same genealogy data as 'C:\Stammbaum\Alexandra.gno'...
Reading file 'C:\Stammbaum\Alexandra.xml'...
Detected 'XML' document with Charset='UTF-8' (Code Page=65001)
Importing 'XML' document using Code Page 65001 known as 'Unicode ( UTF-8 )'
Validating data...
Error at line 8181: Duplicate ID 'pic00003' for object Picture
Error at line 8207: Duplicate ID 'pic00004' for object Picture
Error at line 8216: Duplicate ID 'pic00005' for object Picture
Error at line 8225: Duplicate ID 'pic00006' for object Picture
Error at line 8234: Duplicate ID 'pic00007' for object Picture
Error at line 8243: Duplicate ID 'pic00008' for object Picture
Error at line 8252: Duplicate ID 'pic00009' for object Picture
Error at line 8260: Duplicate ID 'pic00010' for object Picture
Error at line 8269: Duplicate ID 'pic00011' for object Picture
Error at line 8460: Duplicate ID 'pic00013' for object Picture
Error at line 8469: Duplicate ID 'pic00014' for object Picture
Error at line 8670: Duplicate ID 'pic00018' for object Picture
Error at line 8930: Duplicate ID 'pic00012' for object Picture
Error at line 8938: Duplicate ID 'pic00019' for object Picture
Error at line 8947: Duplicate ID 'pic00020' for object Picture
Error at line 8994: Duplicate ID 'pic00021' for object Picture
Error at line 9003: Duplicate ID 'pic00022' for object Picture
Error at line 9012: Duplicate ID 'pic00023' for object Picture
Error at line 9020: Duplicate ID 'pic00024' for object Picture
Error at line 9030: Duplicate ID 'pic00025' for object Picture
Error at line 9104: Duplicate ID 'pic00026' for object Picture
Error at line 9280: Duplicate ID 'pic00002' for object Picture
[Import Summary]
519 Individuals
135 Families
655 PedigreeLinks
150 Pictures
23 Places
6 Educations
11 Occupations
3 Contacts
Import complete with 22 errors!


Any ideas on how to migrate. If I use the XML import some pictures appear twice, others do no appear at all. The best option seems to stay with beta8 or to manually edit the XML file. Is anybody aware of this problem? Has it been adressed since?

I would appreciate any input...

Chris

PS: I love GenoPro nevertheless. It's the best!
Post #6228 Posted 8/18/2005 6:48:34 PM
Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 5:19:41 PM
GenoPro Version: 2.0.1.6
Posts: 1,026, Visits: 9,945
I have used Beta alongside 1.91 for some time now. I now make all edits in 2.11h but still need 1.9, particulary to create a web report.

When I save from 2.11 the message log reports the creation of 3 files: the main file; the .xml file and the third which is labelled .v1x.gno.

When you need to use 1.9 it is this last file you use.

The only problem I have found with this procedure is that when you open 1.91, it tries to open the Beta file and then stops. You have to open it a second time and choose the .v1x.gno file.
Post #6229 Posted 8/18/2005 6:48:34 PM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: 3/5/2010 7:45:55 AM
GenoPro Version: 2.0.1.6
Posts: 552, Visits: 7,402
When you save your tree on the Beta version it creates 3 files as appleshaw had written: the main file; the .xml file and the third which is labelled .v1x.gno.
Try to open the third file which is saved in the 1.91 version format. any Beta version should be able to open it properly.
Post #6230 Posted 8/18/2005 6:48:34 PM
Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 5:19:41 PM
GenoPro Version: 2.0.1.6
Posts: 1,026, Visits: 9,945
If you open a '.v1x.gno' file in Beta, when you save it it will then create a '.v1x.v1x.gno' file so that you can still use 1.91. Until I worked this out I was creating a large variety of backups. I even ended up with a 'v1x.v1x.v1x.v1x.gno' !!

As I mentioned, the only problem is that if you save a file from Beta and then close it, if you then open 1.91, it will look for the last file used, which it can not recognise.

The solution to this, I think, is to first open Beta, which will retrieve the last file used and then open 1.91, which will not retieve any files. Then open the 'v1x.gno' file
Post #6231 Posted 8/18/2005 6:48:34 PM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: 3/5/2010 7:45:55 AM
GenoPro Version: 2.0.1.6
Posts: 552, Visits: 7,402
What if you rename the "v1x.gno" by droping the v1x and then open it in the Beta - as the original file?
Post #6232 Posted 8/18/2005 6:48:34 PM
Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 5:19:41 PM
GenoPro Version: 2.0.1.6
Posts: 1,026, Visits: 9,945
I think Beta will open either file type but 1.91 will only recognise its own - hence the '.v1x.gno' file name. If you open a 'v1x.gno' file in Beta you can save it. The confusion then occurs because the original '.v1x.gno' file is now in Beta format and will not now open in any version of 1, despite the name. There will be a '.v1x.v1x.gno' file created when you save from Beta and this WILL open in the earlier program. I have found this out by trial and think I have now got it sorted.

It seems that the important thing, if you use Beta, is to load this first before opening the earlier version. My Guess is that the last file used is recorded in the Registry but there are not separate lists for the two versions, so if you open 1.91 on its own it tries to retrieve the last file; if this was created in Beta then it reports an error and exits.

This seems to work for me now
Post #6233 Posted 8/18/2005 6:48:34 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 12:20:04 AM
GenoPro Version: 2.0.1.1
Posts: 3,643, Visits: 15,268
To Chris:
The duplicate IDs is a minor "error". The ID is useful when you want to link the picture to an external database. The next time you save (with beta 11h), GenoPro will generate new unique IDs for the pictures where the IDs collided.

I am trying to figure out why Beta8 created an XML file with duplicate IDs. Beta8 was a while ago... and I cannot remember.


Post #6234 Posted 8/18/2005 6:48:34 PM


Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 6:12:14 AM
GenoPro Version: 2.0.1.6
Posts: 374, Visits: 2,441
I had the same problem when opening v1.91 after using the beta as GenoPro tried to open the last saved file. Then I spotted the option under File:Preferences to "Automatic reload of last document at startup". If this is unchecked v1.91 will not attempt to open the file when it starts, and you can then choose which file to open in the normal way.

I believe this is a global registry setting for GenoPro, so when using the beta the last used file will also not open - but this will also prevent the .v1x.gno file opening if that was the last saved file in v1.91. - this should prevent the .v1x.v1x.v1x.gno situation as described by appleshaw.

When the final v2.0 arrives, there will be no further need for v1.91 and the option can be checked again.
Post #6235 Posted 8/18/2005 6:48:34 PM


Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 6:12:14 AM
GenoPro Version: 2.0.1.6
Posts: 374, Visits: 2,441
Sorry, the option is under Edit:Preferences, not File:Preferences
Post #6236 Posted 8/18/2005 6:48:34 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/17/2005 10:23:19 PM
Posts: 2, Visits: 0
Well I went the safe way and manually assigned new ID's to the duplicates by editing the XML file. I would expect to loose the new attributes information when starting with a .v1x.gno file. Saving again under 2.11h would have probably eliminated duplicate ID's but the problem was that, because of the duplicate ID's, pictures were being attached to the wrong people and some were dropped.
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 5:31 PM

Copyright 1998-2010 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.