Re: A couple of errors (was Re: timelines from GEDCOM files)
[email protected] (Philip Durbin) Thu, 14 Aug 2008 08:03:21 -0400
| Newsgroups | perl.gedcom |
|---|---|
| Message-ID | <[email protected]> |
> In playing with the program, I am getting the following: > > Can't call method "name" on an undefined value at C:/Perl/site/lib/ > HTML/Timeline > .pm line 280, <GEN0> line 22085. > > The Gedcom line in question is an unremarkable > 0 @I1548@ INDI > 1 NAME Samuel /Washington/ > 2 SURN Washington > 2 GIVN Samuel > 1 SEX M > > with the blowup line, 22085, being the GIVN Samuel Are you specifying the root person? timeline.pl -gedcom Test.ged -root "Samuel Washington" or ged2xml.pl --gedcom Test.ged --root "Samuel Washington" Or is the problem that specifying the root person works generally but not for this specific individual? Please note that the default root person is "Johann Sebastian Bach"! That's why I think it would be nice to be able to override this in a configuration file, such as ~/.timelinerc or whatever, where you could also specify your default GEDCOM file. > I had another error, > Test.ged:26: EMAIL is not a sub-item of SUBM > Cannot validate file: Test.ged at timeline.pl line 42 > > caused by the email field that PAF inserted into the file. My solution for this has been to find and delete the EMAIL line in the GEDCOM file. Thanks for testing! Phil