Bug 8887 Add PEDI and _FREL/_MREL Gedcom Tag Export support

This commit is contained in:
prculley 2016-10-29 11:57:39 -05:00
parent 19201eed67
commit d21ead1c8d
7 changed files with 692 additions and 102 deletions

BIN
data/tests/O0.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@ -3,11 +3,14 @@
"http://gramps-project.org/xml/1.7.1/grampsxml.dtd"> "http://gramps-project.org/xml/1.7.1/grampsxml.dtd">
<database xmlns="http://gramps-project.org/xml/1.7.1/"> <database xmlns="http://gramps-project.org/xml/1.7.1/">
<header> <header>
<created date="2016-09-04" version="5.0.0-alpha1"/> <created date="2016-10-29" version="5.0.0-alpha1"/>
<researcher> <researcher>
<resname>Alex Roitman,,,</resname> <resname>Alex Roitman,,,</resname>
<resaddr>Not Provided</resaddr> <resaddr>Not Provided</resaddr>
<resphone>666-555-4444</resphone>
<resemail>an_email@gmail.com</resemail>
</researcher> </researcher>
<mediapath>{DATA_DIR}/tests</mediapath>
</header> </header>
<tags> <tags>
<tag handle="_d54b22fbfc721be9331fb706e3" change="1465741788" name="Unicode" color="#000000" priority="0"/> <tag handle="_d54b22fbfc721be9331fb706e3" change="1465741788" name="Unicode" color="#000000" priority="0"/>
@ -566,25 +569,93 @@
<attribute type="WWW" value="http://mrstester.com"/> <attribute type="WWW" value="http://mrstester.com"/>
<noteref hlink="_d65a448167a6b06a71840a1953b"/> <noteref hlink="_d65a448167a6b06a71840a1953b"/>
</event> </event>
<event handle="_d65a448167a70779a5ea555fb99" change="1472500308" id="E0094"> <event handle="_d65a448167a70779a5ea555fb99" change="1477749917" id="E0094">
<type>Residence</type> <type>Residence</type>
<dateval val="1964"/> <datespan start="1964-01-01" stop="1970-03-03"/>
<place hlink="_0000006a0000006a"/>
<attribute type="Phone" value="440-871-3402"/> <attribute type="Phone" value="440-871-3402"/>
<attribute type="EMAIL" value="tomtester@gmail.com"/> <attribute type="EMAIL" value="tomtester@gmail.com"/>
<attribute type="FAX" value="440-321-4569"/> <attribute type="FAX" value="440-321-4569"/>
<attribute type="WWW" value="http://tomtester.com"/> <attribute type="WWW" value="http://tomtester.com"/>
</event> </event>
<event handle="_d70437393c02164585e75a1733c" change="1477581914" id="ID_Laborer">
<type>Occupation</type>
<dateval val="1972"/>
</event>
<event handle="_d7043782aa05af41571ec778c76" change="1477584625" id="E0095">
<type>Birth</type>
<dateval val="1954"/>
<place hlink="_0000006500000065"/>
<attribute type="Time" value="12:45 am"/>
<attribute type="Agency" value="A hosptial"/>
<attribute type="Unknown" value="Who knows"/>
</event>
<event handle="_d7044217b59dd082df3d9af68f" change="1477583054" id="E0096">
<type>Death</type>
</event>
<event handle="_d70443bf71c6340e05a9adc10ae" change="1477583227" id="E0097">
<type>Burial</type>
<dateval val="2017-01-01"/>
<description>Buried in a Cemetary</description>
</event>
<event handle="_d70443f345457255bed58a2c65b" change="1477758153" id="E0098">
<type>Marriage</type>
<attribute type="Father Age" value="45"/>
<attribute type="Mother Age" value="15"/>
</event>
<event handle="_d70444b050662d2c4b8ae028b26" change="1477583326" id="E0099">
<type>Engagement</type>
<description>They were engaged</description>
</event>
<event handle="_d70446576f35592a31604008bf6" change="1477583499" id="E0100">
<type>Alternate Marriage</type>
<description>Married by a clown in the buff</description>
</event>
<event handle="_d70446bff1e2c2e3c842d42b8cb" change="1477583668" id="E0101">
<type>Alternate Marriage</type>
<attribute type="Father Age" value="44"/>
<attribute type="Mother Age" value="15"/>
</event>
<event handle="_d7044d1d2c749802e8116b33f47" change="1477584209" id="E0102">
<type>Retirement</type>
</event>
<event handle="_d70a7933f8d7296231917a2cc14" change="1477749894" id="E0104">
<type>Residence</type>
<datestr val="I think 1970 to 1971"/>
<place hlink="_0000000900000009"/>
</event>
<event handle="_d70acccb2bdd725c3180c78f28" change="1477758659" id="E0105">
<type>Death</type>
</event>
<event handle="_d70ad043a9e669bb85bfe71deba" change="1477759023" id="E0106">
<type>LossOfMojo</type>
<dateval val="1973-07-07"/>
<description>A very bad day</description>
</event>
<event handle="_d70ad0ba90b766d0f8966fb0aba" change="1477759072" id="E0107">
<type>GainOfMojo</type>
<dateval val="1973-07-10"/>
</event>
</events> </events>
<people> <people>
<person handle="_0000000100000001" change="1198222526" id="I0000"> <person handle="_0000000100000001" change="1477581282" id="I0000">
<gender>F</gender> <gender>F</gender>
<name type="Birth Name"> <name type="Birth Name">
<first>Anna</first> <first>Anna</first>
<surname>Hansdotter</surname> <surname>Hansdotter</surname>
<nick>Annanana</nick>
</name>
<name alt="1" type="Also Known As">
<first>Anna Nana</first>
<surname>Hansdotter</surname>
</name> </name>
<eventref hlink="_0000000200000002" role="Primary"/> <eventref hlink="_0000000200000002" role="Primary"/>
<eventref hlink="_0000000400000004" role="Primary"/> <eventref hlink="_0000000400000004" role="Primary"/>
<parentin hlink="_0000000600000006"/> <parentin hlink="_0000000600000006"/>
<personref hlink="_0000008700000087" rel="Friend">
<noteref hlink="_d7042e81dfd1dadee8ef6e5cac4"/>
</personref>
<noteref hlink="_d70429bc98a43469b08051816c7"/>
</person> </person>
<person handle="_0000000700000007" change="1198222526" id="I0001"> <person handle="_0000000700000007" change="1198222526" id="I0001">
<gender>M</gender> <gender>M</gender>
@ -1032,20 +1103,36 @@
<surname>リチミシキスイミ</surname> <surname>リチミシキスイミ</surname>
</name> </name>
</person> </person>
<person handle="_d65a448167a2736b3dfc08c11d8" change="1473020199" id="I0044"> <person handle="_d65a448167a2736b3dfc08c11d8" change="1477759240" id="I0044">
<gender>M</gender> <gender>M</gender>
<name type="Birth Name"> <name type="Birth Name">
<first>The</first> <first>The</first>
<surname>Tester</surname> <surname>Tester</surname>
</name> </name>
<eventref hlink="_d65a44813a618a10a0abaa1ed6a" role="Primary"/> <eventref hlink="_d65a44813a618a10a0abaa1ed6a" role="Primary"/>
<eventref hlink="_d70acccb2bdd725c3180c78f28" role="Unknown"/>
<eventref hlink="_d70ad043a9e669bb85bfe71deba" role="Primary"/>
<eventref hlink="_d70ad0ba90b766d0f8966fb0aba" role="Primary"/>
<lds_ord type="baptism">
<dateval val="1955-01-02"/>
<status val="Infant"/>
</lds_ord>
<address>
<dateval val="2017-10-27"/>
<locality>test village</locality>
<city>Akron</city>
<state>OH</state>
<country>Cuyahoga</country>
<postal>44177</postal>
</address>
<attribute type="Nickname" value="Testy"/>
<childof hlink="_0000000a0000000a"/> <childof hlink="_0000000a0000000a"/>
<parentin hlink="_d65a46d6c0034a50640d7a84213"/> <parentin hlink="_d65a46d6c0034a50640d7a84213"/>
<citationref hlink="_d65a448168445feea89cc1499fb"/> <citationref hlink="_d65a448168445feea89cc1499fb"/>
</person> </person>
<person handle="_d65a4481684319731c24a1e105a" change="1473020199" id="I0045"> <person handle="_d65a4481684319731c24a1e105a" change="1477750978" id="I0045">
<gender>F</gender> <gender>F</gender>
<name type="Birth Name"> <name type="Married Name">
<first>Mrs</first> <first>Mrs</first>
<surname>Tester</surname> <surname>Tester</surname>
</name> </name>
@ -1065,16 +1152,103 @@
<noteref hlink="_d65a448168e1061fc46719b5efa"/> <noteref hlink="_d65a448168e1061fc46719b5efa"/>
<citationref hlink="_d65a448168e27ed358658e331d9"/> <citationref hlink="_d65a448168e27ed358658e331d9"/>
</person> </person>
<person handle="_d65a448168e2615f26e025aa37c" change="1473020269" id="I0046"> <person handle="_d65a448168e2615f26e025aa37c" change="1477758479" id="I0046">
<gender>M</gender> <gender>M</gender>
<name type="Birth Name"> <name type="Birth Name">
<first>Tom</first> <first>Tom</first>
<surname>Tester</surname> <surname prefix="Von" connector="y">Tester</surname>
<surname prim="0">tested</surname>
<nick>TesterNickname</nick>
</name> </name>
<eventref hlink="_d65a448167a70779a5ea555fb99" role="Primary"/> <eventref hlink="_d65a448167a70779a5ea555fb99" role="Primary"/>
<eventref hlink="_d70a7933f8d7296231917a2cc14" role="Primary"/>
<lds_ord type="sealed_to_parents">
<dateval val="1999" type="about" quality="estimated"/>
<temple val="DENVE"/>
<place hlink="_0000006a0000006a"/>
<sealed_to hlink="_d65a46d6c0034a50640d7a84213"/>
</lds_ord>
<url href="" type="FTP"/>
<childof hlink="_d65a46d6c0034a50640d7a84213"/> <childof hlink="_d65a46d6c0034a50640d7a84213"/>
<citationref hlink="_d65a448169813b50e0fdc0eea70"/> <citationref hlink="_d65a448169813b50e0fdc0eea70"/>
</person> </person>
<person handle="_d70431c6959122e6b45d92a0f79" change="1477758479" id="I0047">
<gender>U</gender>
<name type="Birth Name">
<first>Fake</first>
<call>Person</call>
<surname prefix="von" derivation="Feudal">Person</surname>
<suffix>I</suffix>
<title>Fake person</title>
<nick>Fake</nick>
</name>
<eventref hlink="_d70437393c02164585e75a1733c" role="Primary"/>
<eventref hlink="_d7043782aa05af41571ec778c76" role="Primary">
<attribute type="Father Age" value="47"/>
<attribute type="Mother Age" value="16"/>
<attribute type="Description" value="An eventref description"/>
</eventref>
<eventref hlink="_d7044217b59dd082df3d9af68f" role="Primary"/>
<eventref hlink="_d70443bf71c6340e05a9adc10ae" role="Primary"/>
<eventref hlink="_d7044d1d2c749802e8116b33f47" role="Primary"/>
<lds_ord type="baptism">
<dateval val="1960-06-07"/>
<temple val="DENVE"/>
<place hlink="_0000006a0000006a"/>
<status val="Qualified"/>
</lds_ord>
<address>
<dateval val="1954"/>
<street>8888 Cliff Dr</street>
<city>Bay Village</city>
<state>Ohio</state>
<country>Cuyahoga</country>
<postal>44140</postal>
<phone>440-871-3400</phone>
</address>
<attribute type="Identification Number" value="ID99999"/>
<attribute type="RFN" value="RFN8888"/>
<attribute type="RESN" value="">
<noteref hlink="_d7043cbb41e378229bb7645880a"/>
</attribute>
<attribute type="Age" value="99"/>
<attribute type="Agency" value="a hospital"/>
<attribute type="Description" value="A fake description"/>
<url href="ftp://whoknows.org" type="FTP" description="A test FTP URL"/>
<childof hlink="_d65a46d6c0034a50640d7a84213"/>
</person>
<person handle="_d704394bd865d87c4e17e0ddb52" change="1477758479" id="I0048">
<gender>F</gender>
<name type="Birth Name">
<first>Mary</first>
<surname>Tester</surname>
</name>
<childof hlink="_d65a46d6c0034a50640d7a84213"/>
</person>
<person handle="_d7043a0d88d6c229604fb03acd8" change="1477758479" id="I0049">
<gender>F</gender>
<name type="Unknown">
<first>Martha</first>
<surname>Tester</surname>
</name>
<childof hlink="_d65a46d6c0034a50640d7a84213"/>
</person>
<person handle="_d7043e8a06054d316b49becaa9" change="1477758479" id="I0050">
<gender>M</gender>
<name type="Also Known As">
<first>John</first>
<surname>Tester</surname>
</name>
<childof hlink="_d65a46d6c0034a50640d7a84213"/>
</person>
<person handle="_d70ac994c26790fb000f95f0a31" change="1477758479" id="I0051">
<gender>M</gender>
<name type="Birth Name">
<first>Mark</first>
<surname>Tester</surname>
</name>
<childof hlink="_d65a46d6c0034a50640d7a84213"/>
</person>
</people> </people>
<families> <families>
<family handle="_0000000600000006" change="1198222526" id="F0003"> <family handle="_0000000600000006" change="1198222526" id="F0003">
@ -1194,11 +1368,30 @@
<mother hlink="_0000005600000056"/> <mother hlink="_0000005600000056"/>
<eventref hlink="_000000a9000000a9" role="Family"/> <eventref hlink="_000000a9000000a9" role="Family"/>
</family> </family>
<family handle="_d65a46d6c0034a50640d7a84213" change="1473020211" id="F0016"> <family handle="_d65a46d6c0034a50640d7a84213" change="1477758479" id="F0016">
<rel type="Married"/> <rel type="Married"/>
<father hlink="_d65a448167a2736b3dfc08c11d8"/> <father hlink="_d65a448167a2736b3dfc08c11d8"/>
<mother hlink="_d65a4481684319731c24a1e105a"/> <mother hlink="_d65a4481684319731c24a1e105a"/>
<eventref hlink="_d70443f345457255bed58a2c65b" role="Family"/>
<eventref hlink="_d70444b050662d2c4b8ae028b26" role="Family"/>
<eventref hlink="_d70446576f35592a31604008bf6" role="Family"/>
<eventref hlink="_d70446bff1e2c2e3c842d42b8cb" role="Family"/>
<lds_ord type="sealed_to_spouse">
<dateval val="2000-02-22"/>
<temple val="DENVE"/>
<place hlink="_0000003400000034"/>
<status val="Cleared"/>
</lds_ord>
<childref hlink="_d65a448168e2615f26e025aa37c"/> <childref hlink="_d65a448168e2615f26e025aa37c"/>
<childref hlink="_d70431c6959122e6b45d92a0f79" mrel="Stepchild" frel="Adopted"/>
<childref hlink="_d704394bd865d87c4e17e0ddb52" mrel="Adopted"/>
<childref hlink="_d7043a0d88d6c229604fb03acd8" mrel="Foster" frel="Foster"/>
<childref hlink="_d7043e8a06054d316b49becaa9" mrel="Stepchild" frel="Stepchild"/>
<childref hlink="_d70ac994c26790fb000f95f0a31" mrel="Sponsored" frel="Sponsored"/>
<attribute type="Number of Children" value="4"/>
<attribute type="RFN" value="RFN3333"/>
<attribute type="License Number" value="7532951"/>
<attribute type="Unknown" value=""/>
</family> </family>
</families> </families>
<citations> <citations>
@ -1219,10 +1412,15 @@
<confidence>3</confidence> <confidence>3</confidence>
<sourceref hlink="_d53252d41b370ebe65ebd50c34f"/> <sourceref hlink="_d53252d41b370ebe65ebd50c34f"/>
</citation> </citation>
<citation handle="_d53254b0c802fe24bdea26f3180" change="1465075912" id="C0004"> <citation handle="_d53254b0c802fe24bdea26f3180" change="1477757692" id="C0004">
<dateval val="1955-05-05"/> <dateval val="1955-05-05"/>
<page>22 6</page> <page>22 6</page>
<confidence>2</confidence> <confidence>2</confidence>
<noteref hlink="_d70a86ba52769996c5099561a3d"/>
<noteref hlink="_d70a873db52134a80abb82d9769"/>
<srcattribute type="EVEN" value="Citation Event?"/>
<srcattribute type="EVEN:ROLE" value="The Event type Role"/>
<srcattribute type="Unknown" value="I'ts unknown!"/>
<sourceref hlink="_000000b9000000b9"/> <sourceref hlink="_000000b9000000b9"/>
</citation> </citation>
<citation handle="_d65a448168445feea89cc1499fb" change="1472500308" id="C0005"> <citation handle="_d65a448168445feea89cc1499fb" change="1472500308" id="C0005">
@ -1233,8 +1431,9 @@
<confidence>2</confidence> <confidence>2</confidence>
<sourceref hlink="_d65a448169824195df7cdb2236c"/> <sourceref hlink="_d65a448169824195df7cdb2236c"/>
</citation> </citation>
<citation handle="_d65a448169813b50e0fdc0eea70" change="1472500308" id="C0007"> <citation handle="_d65a448169813b50e0fdc0eea70" change="1477757813" id="C0007">
<confidence>2</confidence> <confidence>2</confidence>
<noteref hlink="_d70a86ba52769996c5099561a3d"/>
<sourceref hlink="_d65a448169824195df7cdb2236c"/> <sourceref hlink="_d65a448169824195df7cdb2236c"/>
</citation> </citation>
</citations> </citations>
@ -1274,6 +1473,13 @@
<stitle>Ohio Births, 1958-2002</stitle> <stitle>Ohio Births, 1958-2002</stitle>
<reporef hlink="_d65a44816ac165956f5723df07d" medium="Book"/> <reporef hlink="_d65a44816ac165956f5723df07d" medium="Book"/>
</source> </source>
<source handle="_d7044abba5546284583fee1e21c" change="1477758039" id="S0007">
<stitle></stitle>
<sauthor>The tester</sauthor>
<spubinfo>Published when the test was written</spubinfo>
<sabbrev>TST</sabbrev>
<reporef hlink="_d7044c855b91ee04c40e98987e7"/>
</source>
</sources> </sources>
<places> <places>
<placeobj handle="_0000000300000003" change="1465741826" id="P0000" type="Unknown"> <placeobj handle="_0000000300000003" change="1465741826" id="P0000" type="Unknown">
@ -1306,7 +1512,7 @@
<ptitle>Hayward, Alameda Co., CA</ptitle> <ptitle>Hayward, Alameda Co., CA</ptitle>
<pname value="Hayward, Alameda Co., CA"/> <pname value="Hayward, Alameda Co., CA"/>
</placeobj> </placeobj>
<placeobj handle="_0000003400000034" change="1463929997" id="P0007" type="Unknown"> <placeobj handle="_0000003400000034" change="1477754702" id="P0007" type="Locality">
<ptitle>Community Presbyterian Church, Danville, CA</ptitle> <ptitle>Community Presbyterian Church, Danville, CA</ptitle>
<pname value="Community Presbyterian Church, Danville, CA"/> <pname value="Community Presbyterian Church, Danville, CA"/>
</placeobj> </placeobj>
@ -1442,8 +1648,9 @@
</placeobj> </placeobj>
</places> </places>
<objects> <objects>
<object handle="_d54c1b52c8636648123580900ca" change="1465767829" id="O0000"> <object handle="_d54c1b52c8636648123580900ca" change="1477754617" id="O0000">
<file src="D:/Users/prc/Downloads/Michael O'Toole 2015-11.jpg" mime="image/jpeg" checksum="ed5423c128d9bc43dbc03a8311f185bd" description="Michael O'Toole 2015-11"/> <file src="O0.jpg" mime="image/jpeg" checksum="887d22e5822c86bd3961d0d179fbc0a2" description="Michael O'Toole 2015-11"/>
<noteref hlink="_d70aa63baa15f9fee23b45f03b"/>
</object> </object>
</objects> </objects>
<repositories> <repositories>
@ -1509,6 +1716,13 @@
<noteref hlink="_d65a44816cafa196ba741ab38d"/> <noteref hlink="_d65a44816cafa196ba741ab38d"/>
<noteref hlink="_d65a44816ca32ac25b0b586e61c"/> <noteref hlink="_d65a44816ca32ac25b0b586e61c"/>
</repository> </repository>
<repository handle="_d7044c064202cdd982648bfce19" change="1477584095" id="R0005">
<type>Library</type>
<url href="555-444-3333" type="Unknown"/>
</repository>
<repository handle="_d7044c855b91ee04c40e98987e7" change="1477758030" id="R0006">
<type>Library</type>
</repository>
</repositories> </repositories>
<notes> <notes>
<note handle="_0000004200000042" change="1463929997" id="N0002" type="General"> <note handle="_0000004200000042" change="1463929997" id="N0002" type="General">
@ -1593,5 +1807,24 @@ Only one phone number supported Line 9:
<range start="0" end="144"/> <range start="0" end="144"/>
</style> </style>
</note> </note>
<note handle="_d70429bc98a43469b08051816c7" change="1477580626" id="N0014" type="Person Note">
<text>******************************************************************890123456789
******************************************************************89 123456789</text>
</note>
<note handle="_d7042e81dfd1dadee8ef6e5cac4" change="1477581000" id="N0015" type="Association Note">
<text>This should show up under the ASSO tag in Gedcom</text>
</note>
<note handle="_d7043cbb41e378229bb7645880a" change="1477582492" id="N0016" type="Attribute Note">
<text>??? What is RESN???</text>
</note>
<note handle="_d70a86ba52769996c5099561a3d" change="1477757590" id="N0017" type="Source text">
<text>A citation Note Source text</text>
</note>
<note handle="_d70a873db52134a80abb82d9769" change="1477751366" id="N0018" type="Citation">
<text>Another Citation Note</text>
</note>
<note handle="_d70aa63baa15f9fee23b45f03b" change="1477754616" id="N0019" type="Media Note">
<text>A bad photo for sure</text>
</note>
</notes> </notes>
</database> </database>

View File

@ -4,6 +4,7 @@ PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN
FN:Anna Hansdotter FN:Anna Hansdotter
N:Hansdotter;Anna;;; N:Hansdotter;Anna;;;
SORT-STRING:Hansdotter Anna SORT-STRING:Hansdotter Anna
NICKNAME:Annanana
X-GENDER:Female X-GENDER:Female
BDAY:1864-10-02 BDAY:1864-10-02
END:VCARD END:VCARD
@ -439,6 +440,7 @@ N:Tester;The;;;
SORT-STRING:Tester The SORT-STRING:Tester The
X-GENDER:Male X-GENDER:Male
BDAY:1954-12-29 BDAY:1954-12-29
ADR:;;;Akron;OH;44177;Cuyahoga
END:VCARD END:VCARD
BEGIN:VCARD BEGIN:VCARD
@ -459,9 +461,58 @@ END:VCARD
BEGIN:VCARD BEGIN:VCARD
VERSION:3.0 VERSION:3.0
PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN
FN:Tom Tester FN:Tom Von Tester y tested
N:Tester;Tom;;; N:Von Tester y,tested;Tom;;;
SORT-STRING:Tester Tom SORT-STRING:Tester Tom
NICKNAME:TesterNickname
X-GENDER:Male
END:VCARD
BEGIN:VCARD
VERSION:3.0
PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN
FN:Fake person Fake von Person\, I
N:von Person;Person;Fake;Fake,person;I
SORT-STRING:Person Fake I
NICKNAME:Fake
ADR:;;8888 Cliff Dr;Bay Village;Ohio;44140;Cuyahoga
TEL:440-871-3400
URL:ftp://whoknows.org
END:VCARD
BEGIN:VCARD
VERSION:3.0
PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN
FN:Mary Tester
N:Tester;Mary;;;
SORT-STRING:Tester Mary
X-GENDER:Female
END:VCARD
BEGIN:VCARD
VERSION:3.0
PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN
FN:Martha Tester
N:Tester;Martha;;;
SORT-STRING:Tester Martha
X-GENDER:Female
END:VCARD
BEGIN:VCARD
VERSION:3.0
PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN
FN:John Tester
N:Tester;John;;;
SORT-STRING:Tester John
X-GENDER:Male
END:VCARD
BEGIN:VCARD
VERSION:3.0
PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN
FN:Mark Tester
N:Tester;Mark;;;
SORT-STRING:Tester Mark
X-GENDER:Male X-GENDER:Male
END:VCARD END:VCARD

View File

@ -2,10 +2,10 @@
1 SOUR Gramps 1 SOUR Gramps
2 VERS 5.0.0-alpha1 2 VERS 5.0.0-alpha1
2 NAME Gramps 2 NAME Gramps
1 DATE 4 SEP 2016 1 DATE 29 OCT 2016
2 TIME 15:21:50 2 TIME 15:10:31
1 SUBM @SUBM@ 1 SUBM @SUBM@
1 FILE D:\Users\prc\Downloads\exp_sample_ged.ged 1 FILE C:\Users\prc\AppData\Roaming\gramps\temp\exp_sample_ged.ged
1 COPR Copyright (c) 2016 Alex Roitman,,,. 1 COPR Copyright (c) 2016 Alex Roitman,,,.
1 GEDC 1 GEDC
2 VERS 5.5.1 2 VERS 5.5.1
@ -16,10 +16,17 @@
1 NAME Alex Roitman,,, 1 NAME Alex Roitman,,,
1 ADDR Not Provided 1 ADDR Not Provided
2 ADR1 Not Provided 2 ADR1 Not Provided
1 PHON 666-555-4444
1 EMAIL an_email@gmail.com
0 @I0000@ INDI 0 @I0000@ INDI
1 NAME Anna /Hansdotter/ 1 NAME Anna /Hansdotter/
2 GIVN Anna 2 GIVN Anna
2 SURN Hansdotter 2 SURN Hansdotter
2 NICK Annanana
1 NAME Anna Nana /Hansdotter/
2 TYPE aka
2 GIVN Anna Nana
2 SURN Hansdotter
1 SEX F 1 SEX F
1 BIRT 1 BIRT
2 TYPE Birth of Anna Hansdotter 2 TYPE Birth of Anna Hansdotter
@ -30,9 +37,13 @@
2 DATE 29 SEP 1945 2 DATE 29 SEP 1945
2 PLAC Sparks, Washoe Co., NV 2 PLAC Sparks, Washoe Co., NV
1 FAMS @F0003@ 1 FAMS @F0003@
1 ASSO @I0038@
2 RELA Friend
2 NOTE @N0015@
1 NOTE @N0014@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 27 OCT 2016
3 TIME 01:35:26 3 TIME 15:14:42
0 @I0001@ INDI 0 @I0001@ INDI
1 NAME Keith Lloyd /Smith/ 1 NAME Keith Lloyd /Smith/
2 GIVN Keith Lloyd 2 GIVN Keith Lloyd
@ -43,9 +54,10 @@
2 DATE 11 AUG 1966 2 DATE 11 AUG 1966
2 PLAC San Francisco, San Francisco Co., CA 2 PLAC San Francisco, San Francisco Co., CA
1 FAMC @F0008@ 1 FAMC @F0008@
2 PEDI birth
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0002@ INDI 0 @I0002@ INDI
1 NAME Amber Marie /Smith/ 1 NAME Amber Marie /Smith/
2 GIVN Amber Marie 2 GIVN Amber Marie
@ -59,10 +71,13 @@
2 TYPE Christening of Amber Marie Smith 2 TYPE Christening of Amber Marie Smith
2 DATE 26 APR 1998 2 DATE 26 APR 1998
2 PLAC Community Presbyterian Church, Danville, CA 2 PLAC Community Presbyterian Church, Danville, CA
2 ADDR
3 ADR2 Community Presbyterian Church, Danville, CA
1 FAMC @F0013@ 1 FAMC @F0013@
2 PEDI birth
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0003@ INDI 0 @I0003@ INDI
1 NAME Magnes /Smith/ 1 NAME Magnes /Smith/
2 GIVN Magnes 2 GIVN Magnes
@ -77,10 +92,11 @@
2 DATE 20 FEB 1910 2 DATE 20 FEB 1910
2 PLAC Rønne, Bornholm, Denmark 2 PLAC Rønne, Bornholm, Denmark
1 FAMC @F0002@ 1 FAMC @F0002@
2 PEDI birth
1 FAMS @F0011@ 1 FAMS @F0011@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0004@ INDI 0 @I0004@ INDI
1 NAME Ingeman /Smith/ 1 NAME Ingeman /Smith/
2 GIVN Ingeman 2 GIVN Ingeman
@ -91,9 +107,10 @@
2 DATE 29 JAN 1826 2 DATE 29 JAN 1826
2 PLAC Gladsax, Kristianstad Län, Sweden 2 PLAC Gladsax, Kristianstad Län, Sweden
1 FAMC @F0000@ 1 FAMC @F0000@
2 PEDI birth
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0005@ INDI 0 @I0005@ INDI
1 NAME Mason Michael /Smith/ 1 NAME Mason Michael /Smith/
2 GIVN Mason Michael 2 GIVN Mason Michael
@ -107,10 +124,13 @@
2 TYPE Christening of Mason Michael Smith 2 TYPE Christening of Mason Michael Smith
2 DATE 10 JUL 1996 2 DATE 10 JUL 1996
2 PLAC Community Presbyterian Church, Danville, CA 2 PLAC Community Presbyterian Church, Danville, CA
2 ADDR
3 ADR2 Community Presbyterian Church, Danville, CA
1 FAMC @F0013@ 1 FAMC @F0013@
2 PEDI birth
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0006@ INDI 0 @I0006@ INDI
1 NAME Edwin /Willard/ 1 NAME Edwin /Willard/
2 GIVN Edwin 2 GIVN Edwin
@ -122,7 +142,7 @@
1 FAMS @F0004@ 1 FAMS @F0004@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0007@ INDI 0 @I0007@ INDI
1 NAME Ingar /Smith/ 1 NAME Ingar /Smith/
2 GIVN Ingar 2 GIVN Ingar
@ -133,9 +153,10 @@
2 DATE AFT 1823 2 DATE AFT 1823
2 PLAC Gladsax, Kristianstad Län, Sweden 2 PLAC Gladsax, Kristianstad Län, Sweden
1 FAMC @F0000@ 1 FAMC @F0000@
2 PEDI birth
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0008@ INDI 0 @I0008@ INDI
1 NAME Hjalmar /Smith/ 1 NAME Hjalmar /Smith/
2 GIVN Hjalmar 2 GIVN Hjalmar
@ -158,11 +179,12 @@
2 DATE 14 NOV 1912 2 DATE 14 NOV 1912
2 PLAC Copenhagen, Denmark 2 PLAC Copenhagen, Denmark
1 FAMC @F0003@ 1 FAMC @F0003@
2 PEDI birth
1 FAMS @F0006@ 1 FAMS @F0006@
1 NOTE @N0003@ 1 NOTE @N0003@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0009@ INDI 0 @I0009@ INDI
1 NAME Emil /Smith/ 1 NAME Emil /Smith/
2 GIVN Emil 2 GIVN Emil
@ -173,9 +195,10 @@
2 DATE 27 SEP 1860 2 DATE 27 SEP 1860
2 PLAC Simrishamn, Kristianstad Län, Sweden 2 PLAC Simrishamn, Kristianstad Län, Sweden
1 FAMC @F0002@ 1 FAMC @F0002@
2 PEDI birth
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0010@ INDI 0 @I0010@ INDI
1 NAME Hans Peter /Smith/ 1 NAME Hans Peter /Smith/
2 GIVN Hans Peter 2 GIVN Hans Peter
@ -189,6 +212,10 @@
3 PAGE 22 6 3 PAGE 22 6
3 DATA 3 DATA
4 DATE 5 MAY 1955 4 DATE 5 MAY 1955
4 TEXT A citation Note Source text
3 NOTE @N0018@
3 EVEN Citation Event?
4 ROLE The Event type Role
1 DEAT 1 DEAT
2 TYPE Death of Hans Peter Smith 2 TYPE Death of Hans Peter Smith
2 DATE 29 JAN 1977 2 DATE 29 JAN 1977
@ -202,11 +229,12 @@
3 DATA 3 DATA
4 DATE 22 JUL 1977 4 DATE 22 JUL 1977
1 FAMC @F0003@ 1 FAMC @F0003@
2 PEDI birth
1 FAMS @F0009@ 1 FAMS @F0009@
1 FAMS @F0014@ 1 FAMS @F0014@
1 CHAN 1 CHAN
2 DATE 4 JUN 2016 2 DATE 4 JUN 2016
3 TIME 16:32:08 3 TIME 21:32:08
0 @I0011@ INDI 0 @I0011@ INDI
1 NAME Hanna /Smith/ 1 NAME Hanna /Smith/
2 GIVN Hanna 2 GIVN Hanna
@ -217,9 +245,10 @@
2 DATE 29 JAN 1821 2 DATE 29 JAN 1821
2 PLAC Gladsax, Kristianstad Län, Sweden 2 PLAC Gladsax, Kristianstad Län, Sweden
1 FAMC @F0000@ 1 FAMC @F0000@
2 PEDI birth
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0012@ INDI 0 @I0012@ INDI
1 NAME Herman Julius /Nielsen/ 1 NAME Herman Julius /Nielsen/
2 GIVN Herman Julius 2 GIVN Herman Julius
@ -235,7 +264,7 @@
1 FAMS @F0005@ 1 FAMS @F0005@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0013@ INDI 0 @I0013@ INDI
1 NAME Evelyn /Michaels/ 1 NAME Evelyn /Michaels/
2 GIVN Evelyn 2 GIVN Evelyn
@ -247,7 +276,7 @@
1 FAMS @F0007@ 1 FAMS @F0007@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0014@ INDI 0 @I0014@ INDI
1 NAME Marjorie Lee /Smith/ 1 NAME Marjorie Lee /Smith/
2 GIVN Marjorie Lee 2 GIVN Marjorie Lee
@ -258,9 +287,10 @@
2 DATE 4 NOV 1934 2 DATE 4 NOV 1934
2 PLAC Reno, Washoe Co., NV 2 PLAC Reno, Washoe Co., NV
1 FAMC @F0006@ 1 FAMC @F0006@
2 PEDI birth
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0015@ INDI 0 @I0015@ INDI
1 NAME Gus /Smith/ 1 NAME Gus /Smith/
2 GIVN Gus 2 GIVN Gus
@ -275,10 +305,11 @@
2 DATE 21 OCT 1963 2 DATE 21 OCT 1963
2 PLAC San Francisco, San Francisco Co., CA 2 PLAC San Francisco, San Francisco Co., CA
1 FAMC @F0003@ 1 FAMC @F0003@
2 PEDI birth
1 FAMS @F0007@ 1 FAMS @F0007@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0016@ INDI 0 @I0016@ INDI
1 NAME Jennifer /Anderson/ 1 NAME Jennifer /Anderson/
2 GIVN Jennifer 2 GIVN Jennifer
@ -295,7 +326,7 @@
1 FAMS @F0014@ 1 FAMS @F0014@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0017@ INDI 0 @I0017@ INDI
1 NAME Lillie Harriet /Jones/ 1 NAME Lillie Harriet /Jones/
2 GIVN Lillie Harriet 2 GIVN Lillie Harriet
@ -311,7 +342,7 @@
1 FAMS @F0009@ 1 FAMS @F0009@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0018@ INDI 0 @I0018@ INDI
1 NAME John Hjalmar /Smith/ 1 NAME John Hjalmar /Smith/
2 GIVN John Hjalmar 2 GIVN John Hjalmar
@ -322,10 +353,11 @@
2 DATE 30 JAN 1932 2 DATE 30 JAN 1932
2 PLAC San Francisco, San Francisco Co., CA 2 PLAC San Francisco, San Francisco Co., CA
1 FAMC @F0006@ 1 FAMC @F0006@
2 PEDI birth
1 FAMS @F0012@ 1 FAMS @F0012@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0019@ INDI 0 @I0019@ INDI
1 NAME Eric Lloyd /Smith/ 1 NAME Eric Lloyd /Smith/
2 GIVN Eric Lloyd 2 GIVN Eric Lloyd
@ -340,10 +372,11 @@
2 FAMC @F0008@ 2 FAMC @F0008@
3 ADOP BOTH 3 ADOP BOTH
1 FAMC @F0008@ 1 FAMC @F0008@
2 PEDI adopted
1 FAMS @F0010@ 1 FAMS @F0010@
1 CHAN 1 CHAN
2 DATE 4 JUN 2016 2 DATE 4 JUN 2016
3 TIME 16:25:13 3 TIME 21:25:13
0 @I0020@ INDI 0 @I0020@ INDI
1 NAME Carl Emil /Smith/ 1 NAME Carl Emil /Smith/
2 GIVN Carl Emil 2 GIVN Carl Emil
@ -359,9 +392,10 @@
2 PLAC Reno, Washoe Co., NV 2 PLAC Reno, Washoe Co., NV
2 CAUS Bad breath 2 CAUS Bad breath
1 FAMC @F0003@ 1 FAMC @F0003@
2 PEDI birth
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0021@ INDI 0 @I0021@ INDI
1 NAME Hjalmar /Smith/ 1 NAME Hjalmar /Smith/
2 GIVN Hjalmar 2 GIVN Hjalmar
@ -376,9 +410,10 @@
2 DATE 25 SEP 1894 2 DATE 25 SEP 1894
2 PLAC Rønne, Bornholm, Denmark 2 PLAC Rønne, Bornholm, Denmark
1 FAMC @F0003@ 1 FAMC @F0003@
2 PEDI birth
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0022@ INDI 0 @I0022@ INDI
1 NAME Martin /Smith/ 1 NAME Martin /Smith/
2 GIVN Martin 2 GIVN Martin
@ -397,11 +432,12 @@
2 DATE 23 NOV 1830 2 DATE 23 NOV 1830
2 PLAC Gladsax, Kristianstad Län, Sweden 2 PLAC Gladsax, Kristianstad Län, Sweden
1 FAMC @F0000@ 1 FAMC @F0000@
2 PEDI birth
1 FAMS @F0002@ 1 FAMS @F0002@
1 NOTE @N0002@ 1 NOTE @N0002@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0023@ INDI 0 @I0023@ INDI
1 NAME Astrid Shermanna Augusta /Smith/ 1 NAME Astrid Shermanna Augusta /Smith/
2 GIVN Astrid Shermanna Augusta 2 GIVN Astrid Shermanna Augusta
@ -416,10 +452,11 @@
2 DATE 21 DEC 1963 2 DATE 21 DEC 1963
2 PLAC San Francisco, San Francisco Co., CA 2 PLAC San Francisco, San Francisco Co., CA
1 FAMC @F0003@ 1 FAMC @F0003@
2 PEDI birth
1 FAMS @F0005@ 1 FAMS @F0005@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0024@ INDI 0 @I0024@ INDI
1 NAME Gustaf /Smith/ Sr. 1 NAME Gustaf /Smith/ Sr.
2 GIVN Gustaf 2 GIVN Gustaf
@ -443,10 +480,11 @@
2 DATE 7 DEC 1862 2 DATE 7 DEC 1862
2 PLAC Gladsax, Kristianstad Län, Sweden 2 PLAC Gladsax, Kristianstad Län, Sweden
1 FAMC @F0002@ 1 FAMC @F0002@
2 PEDI birth
1 FAMS @F0003@ 1 FAMS @F0003@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0025@ INDI 0 @I0025@ INDI
1 NAME Marta /Ericsdotter/ 1 NAME Marta /Ericsdotter/
2 GIVN Marta 2 GIVN Marta
@ -459,7 +497,7 @@
1 FAMS @F0001@ 1 FAMS @F0001@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0026@ INDI 0 @I0026@ INDI
1 NAME Kirsti Marie /Smith/ 1 NAME Kirsti Marie /Smith/
2 GIVN Kirsti Marie 2 GIVN Kirsti Marie
@ -474,10 +512,11 @@
2 DATE 18 JUL 1966 2 DATE 18 JUL 1966
2 PLAC San Francisco, San Francisco Co., CA 2 PLAC San Francisco, San Francisco Co., CA
1 FAMC @F0003@ 1 FAMC @F0003@
2 PEDI birth
1 FAMS @F0004@ 1 FAMS @F0004@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0027@ INDI 0 @I0027@ INDI
1 NAME Ingeman /Smith/ 1 NAME Ingeman /Smith/
2 GIVN Ingeman 2 GIVN Ingeman
@ -490,7 +529,7 @@
1 FAMS @F0001@ 1 FAMS @F0001@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0028@ INDI 0 @I0028@ INDI
1 NAME Anna /Streiffert/ 1 NAME Anna /Streiffert/
2 GIVN Anna 2 GIVN Anna
@ -507,7 +546,7 @@
1 FAMS @F0011@ 1 FAMS @F0011@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0029@ INDI 0 @I0029@ INDI
1 NAME Craig Peter /Smith/ 1 NAME Craig Peter /Smith/
2 GIVN Craig Peter 2 GIVN Craig Peter
@ -521,9 +560,10 @@
2 TYPE Census of Craig Peter Smith 2 TYPE Census of Craig Peter Smith
2 NOTE @N0000@ 2 NOTE @N0000@
1 FAMC @F0008@ 1 FAMC @F0008@
2 PEDI birth
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0030@ INDI 0 @I0030@ INDI
1 NAME Janice Ann /Adams/ 1 NAME Janice Ann /Adams/
2 GIVN Janice Ann 2 GIVN Janice Ann
@ -540,7 +580,7 @@
1 FAMS @F0013@ 1 FAMS @F0013@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0031@ INDI 0 @I0031@ INDI
1 NAME Marjorie /Ohman/ 1 NAME Marjorie /Ohman/
2 GIVN Marjorie 2 GIVN Marjorie
@ -564,7 +604,7 @@
1 FAMS @F0006@ 1 FAMS @F0006@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0032@ INDI 0 @I0032@ INDI
1 NAME Darcy /Horne/ 1 NAME Darcy /Horne/
2 GIVN Darcy 2 GIVN Darcy
@ -579,7 +619,7 @@
1 FAMS @F0010@ 1 FAMS @F0010@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0033@ INDI 0 @I0033@ INDI
1 NAME Lloyd /Smith/ 1 NAME Lloyd /Smith/
2 GIVN Lloyd 2 GIVN Lloyd
@ -590,10 +630,11 @@
2 DATE 13 MAR 1935 2 DATE 13 MAR 1935
2 PLAC San Francisco, San Francisco Co., CA 2 PLAC San Francisco, San Francisco Co., CA
1 FAMC @F0009@ 1 FAMC @F0009@
2 PEDI birth
1 FAMS @F0008@ 1 FAMS @F0008@
1 CHAN 1 CHAN
2 DATE 4 SEP 2016 2 DATE 4 SEP 2016
3 TIME 15:17:13 3 TIME 20:17:13
0 @I0034@ INDI 0 @I0034@ INDI
1 NAME Alice Paula /Perkins/ 1 NAME Alice Paula /Perkins/
2 GIVN Alice Paula 2 GIVN Alice Paula
@ -606,7 +647,7 @@
1 FAMS @F0012@ 1 FAMS @F0012@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0035@ INDI 0 @I0035@ INDI
1 NAME Lars Peter /Smith/ 1 NAME Lars Peter /Smith/
2 GIVN Lars Peter 2 GIVN Lars Peter
@ -620,9 +661,10 @@
2 FAMC @F0010@ 2 FAMC @F0010@
3 ADOP BOTH 3 ADOP BOTH
1 FAMC @F0010@ 1 FAMC @F0010@
2 PEDI adopted
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0036@ INDI 0 @I0036@ INDI
1 NAME Elna /Jefferson/ 1 NAME Elna /Jefferson/
2 GIVN Elna 2 GIVN Elna
@ -642,7 +684,7 @@
1 FAMS @F0000@ 1 FAMS @F0000@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0037@ INDI 0 @I0037@ INDI
1 NAME Edwin Michael /Smith/ 1 NAME Edwin Michael /Smith/
2 GIVN Edwin Michael 2 GIVN Edwin Michael
@ -664,10 +706,11 @@
2 TYPE B.S.E.E. 2 TYPE B.S.E.E.
2 DATE 1984 2 DATE 1984
1 FAMC @F0012@ 1 FAMC @F0012@
2 PEDI birth
1 FAMS @F0013@ 1 FAMS @F0013@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0038@ INDI 0 @I0038@ INDI
1 NAME Kerstina /Hansdotter/ 1 NAME Kerstina /Hansdotter/
2 GIVN Kerstina 2 GIVN Kerstina
@ -684,7 +727,7 @@
1 FAMS @F0002@ 1 FAMS @F0002@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0039@ INDI 0 @I0039@ INDI
1 NAME Martin /Smith/ 1 NAME Martin /Smith/
2 GIVN Martin 2 GIVN Martin
@ -698,10 +741,11 @@
2 TYPE Death of Martin Smith 2 TYPE Death of Martin Smith
2 PLAC Sweden 2 PLAC Sweden
1 FAMC @F0001@ 1 FAMC @F0001@
2 PEDI birth
1 FAMS @F0000@ 1 FAMS @F0000@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0040@ INDI 0 @I0040@ INDI
1 NAME Marjorie Alice /Smith/ 1 NAME Marjorie Alice /Smith/
2 GIVN Marjorie Alice 2 GIVN Marjorie Alice
@ -712,9 +756,10 @@
2 DATE 5 FEB 1960 2 DATE 5 FEB 1960
2 PLAC San Jose, Santa Clara Co., CA 2 PLAC San Jose, Santa Clara Co., CA
1 FAMC @F0012@ 1 FAMC @F0012@
2 PEDI birth
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0041@ INDI 0 @I0041@ INDI
1 NAME Janis Elaine /Green/ 1 NAME Janis Elaine /Green/
2 GIVN Janis Elaine 2 GIVN Janis Elaine
@ -726,7 +771,7 @@
1 FAMS @F0008@ 1 FAMS @F0008@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @I0042@ INDI 0 @I0042@ INDI
1 NAME 雪 /Ke 柯/ 1 NAME 雪 /Ke 柯/
2 GIVN 雪 2 GIVN 雪
@ -740,10 +785,16 @@
2 FAMC @F0005@ 2 FAMC @F0005@
3 ADOP BOTH 3 ADOP BOTH
1 FAMC @F0005@ 1 FAMC @F0005@
2 PEDI adopted
1 OBJE
2 FORM jpeg
2 TITL Michael O'Toole 2015-11
2 FILE c:\grampsaio64-4.9.9\share\gramps\tests\O0.jpg
2 NOTE @N0019@
1 NOTE @N0007@ 1 NOTE @N0007@
1 CHAN 1 CHAN
2 DATE 18 JUN 2016 2 DATE 18 JUN 2016
3 TIME 12:04:25 3 TIME 17:04:25
0 @I0043@ INDI 0 @I0043@ INDI
1 NAME ピーター /リチミシキスイミ/ 1 NAME ピーター /リチミシキスイミ/
2 GIVN ピーター 2 GIVN ピーター
@ -751,11 +802,12 @@
1 SEX M 1 SEX M
1 CHAN 1 CHAN
2 DATE 18 JUN 2016 2 DATE 18 JUN 2016
3 TIME 11:42:08 3 TIME 16:42:08
0 @I0044@ INDI 0 @I0044@ INDI
1 NAME The /Tester/ 1 NAME The /Tester/
2 GIVN The 2 GIVN The
2 SURN Tester 2 SURN Tester
2 NICK Testy
1 SEX M 1 SEX M
1 BIRT 1 BIRT
2 DATE 29 DEC 1954 2 DATE 29 DEC 1954
@ -771,14 +823,38 @@
2 EMAIL thetester@gmail.com 2 EMAIL thetester@gmail.com
2 FAX 440-123-4567 2 FAX 440-123-4567
2 WWW http://thetester.com 2 WWW http://thetester.com
1 EVEN A very bad day
2 TYPE LossOfMojo
2 DATE 7 JUL 1973
1 EVEN
2 TYPE GainOfMojo
2 DATE 10 JUL 1973
1 BAPL
2 DATE 2 JAN 1955
2 STAT INFANT
1 FAMC @F0008@ 1 FAMC @F0008@
2 PEDI birth
1 FAMS @F0016@ 1 FAMS @F0016@
1 SOUR @S0005@ 1 SOUR @S0005@
1 RESI
2 DATE 27 OCT 2017
2 ADDR
3 CONT test village
3 CONT Akron
3 CONT OH
3 CONT 44177
3 CONT Cuyahoga
3 ADR2 test village
3 CITY Akron
3 STAE OH
3 POST 44177
3 CTRY Cuyahoga
1 CHAN 1 CHAN
2 DATE 4 SEP 2016 2 DATE 29 OCT 2016
3 TIME 15:16:39 3 TIME 16:40:40
0 @I0045@ INDI 0 @I0045@ INDI
1 NAME Mrs /Tester/ 1 NAME Mrs /Tester/
2 TYPE married
2 GIVN Mrs 2 GIVN Mrs
2 SURN Tester 2 SURN Tester
1 SEX F 1 SEX F
@ -804,28 +880,174 @@
1 PHON 440-871-3401 1 PHON 440-871-3401
1 PHON 800-871-3401 1 PHON 800-871-3401
1 EMAIL mrstester@gmail.com 1 EMAIL mrstester@gmail.com
1 PHON 440-321-4568 1 FAX 440-321-4568
1 WWW http://mrstester.com 1 WWW http://mrstester.com
1 NOTE @N0010@ 1 NOTE @N0010@
1 CHAN 1 CHAN
2 DATE 4 SEP 2016 2 DATE 29 OCT 2016
3 TIME 15:16:39 3 TIME 14:22:58
0 @I0046@ INDI 0 @I0046@ INDI
1 NAME Tom /Tester/ 1 NAME Tom /Von Tester y tested/
2 GIVN Tom 2 GIVN Tom
2 SURN Tester 2 SPFX Von,
2 SURN Tester y, tested
2 NICK TesterNickname
1 SEX M 1 SEX M
1 RESI 1 RESI
2 DATE 1964 2 DATE FROM 1 JAN 1964 TO 3 MAR 1970
2 PLAC Denver, Denver Co., CO, Denver Co., Colorado, USA
3 MAP
4 LATI N39.7392
4 LONG W104.9903
2 ADDR
3 CITY Denver, Denver Co., CO
3 STAE Colorado
3 CTRY USA
2 PHON 440-871-3402 2 PHON 440-871-3402
2 EMAIL tomtester@gmail.com 2 EMAIL tomtester@gmail.com
2 FAX 440-321-4569 2 FAX 440-321-4569
2 WWW http://tomtester.com 2 WWW http://tomtester.com
1 RESI
2 DATE I think 1970 to 1971
2 PLAC San Francisco, San Francisco Co., CA
1 SLGC
2 DATE EST ABT 1999
2 FAMC @F0016@
2 TEMP DENVE
2 PLAC Denver, Denver Co., CO, Denver Co., Colorado, USA
3 MAP
4 LATI N39.7392
4 LONG W104.9903
2 ADDR
3 CITY Denver, Denver Co., CO
3 STAE Colorado
3 CTRY USA
1 FAMC @F0016@ 1 FAMC @F0016@
2 PEDI birth
1 SOUR @S0005@ 1 SOUR @S0005@
2 DATA
3 TEXT A citation Note Source text
1 OBJE
2 FORM URL
1 CHAN 1 CHAN
2 DATE 4 SEP 2016 2 DATE 29 OCT 2016
3 TIME 15:17:49 3 TIME 16:27:59
0 @I0047@ INDI
1 NAME Fake /von Person/ I
2 GIVN Fake
2 SPFX von
2 SURN Person
2 NSFX I
2 NPFX Fake person
2 NICK Fake
1 BIRT
2 DATE 1954
3 TIME 12:45 am
2 PLAC Fremont, Alameda Co., CA
2 AGNC A hosptial
2 HUSB
3 AGE 47
2 WIFE
3 AGE 16
1 DEAT Y
1 OCCU
2 DATE 1972
1 BURI
2 TYPE Buried in a Cemetary
2 DATE 1 JAN 2017
1 RETI Y
1 ADOP Y
2 FAMC @F0016@
3 ADOP HUSB
1 IDNO ID99999
1 RFN RFN8888
1 RESN
1 FACT 99
2 TYPE Age
1 FACT a hospital
2 TYPE Agency
1 DSCR A fake description
1 BAPL
2 DATE 7 JUN 1960
2 TEMP DENVE
2 PLAC Denver, Denver Co., CO, Denver Co., Colorado, USA
3 MAP
4 LATI N39.7392
4 LONG W104.9903
2 ADDR
3 CITY Denver, Denver Co., CO
3 STAE Colorado
3 CTRY USA
2 STAT QUALIFIED
1 FAMC @F0016@
2 _FREL Adopted
2 _MREL Step
1 RESI
2 DATE 1954
2 ADDR 8888 Cliff Dr
3 CONT Bay Village
3 CONT Ohio
3 CONT 44140
3 CONT Cuyahoga
3 ADR1 8888 Cliff Dr
3 CITY Bay Village
3 STAE Ohio
3 POST 44140
3 CTRY Cuyahoga
2 PHON 440-871-3400
1 OBJE
2 FORM URL
2 TITL A test FTP URL
2 FILE ftp://whoknows.org
1 CHAN
2 DATE 29 OCT 2016
3 TIME 16:27:59
0 @I0048@ INDI
1 NAME Mary /Tester/
2 GIVN Mary
2 SURN Tester
1 SEX F
1 ADOP Y
2 FAMC @F0016@
3 ADOP WIFE
1 FAMC @F0016@
2 _FREL birth
2 _MREL Adopted
1 CHAN
2 DATE 29 OCT 2016
3 TIME 16:27:59
0 @I0049@ INDI
1 NAME Martha /Tester/
2 TYPE Unknown
2 GIVN Martha
2 SURN Tester
1 SEX F
1 FAMC @F0016@
2 PEDI foster
1 CHAN
2 DATE 29 OCT 2016
3 TIME 16:27:59
0 @I0050@ INDI
1 NAME John /Tester/
2 TYPE aka
2 GIVN John
2 SURN Tester
1 SEX M
1 FAMC @F0016@
2 PEDI stepchild
1 CHAN
2 DATE 29 OCT 2016
3 TIME 16:27:59
0 @I0051@ INDI
1 NAME Mark /Tester/
2 GIVN Mark
2 SURN Tester
1 SEX M
1 FAMC @F0016@
2 PEDI Unknown
1 CHAN
2 DATE 29 OCT 2016
3 TIME 16:27:59
0 @F0000@ FAM 0 @F0000@ FAM
1 HUSB @I0039@ 1 HUSB @I0039@
1 WIFE @I0036@ 1 WIFE @I0036@
@ -839,7 +1061,7 @@
1 CHIL @I0022@ 1 CHIL @I0022@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @F0001@ FAM 0 @F0001@ FAM
1 HUSB @I0027@ 1 HUSB @I0027@
1 WIFE @I0025@ 1 WIFE @I0025@
@ -850,7 +1072,7 @@
1 CHIL @I0039@ 1 CHIL @I0039@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @F0002@ FAM 0 @F0002@ FAM
1 HUSB @I0022@ 1 HUSB @I0022@
1 WIFE @I0038@ 1 WIFE @I0038@
@ -862,7 +1084,7 @@
1 CHIL @I0024@ 1 CHIL @I0024@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @F0003@ FAM 0 @F0003@ FAM
1 HUSB @I0024@ 1 HUSB @I0024@
1 WIFE @I0000@ 1 WIFE @I0000@
@ -879,7 +1101,7 @@
1 CHIL @I0010@ 1 CHIL @I0010@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @F0004@ FAM 0 @F0004@ FAM
1 HUSB @I0006@ 1 HUSB @I0006@
1 WIFE @I0026@ 1 WIFE @I0026@
@ -888,7 +1110,7 @@
2 DATE ABT 1910 2 DATE ABT 1910
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @F0005@ FAM 0 @F0005@ FAM
1 HUSB @I0012@ 1 HUSB @I0012@
1 WIFE @I0023@ 1 WIFE @I0023@
@ -899,7 +1121,7 @@
1 CHIL @I0042@ 1 CHIL @I0042@
1 CHAN 1 CHAN
2 DATE 12 JUN 2016 2 DATE 12 JUN 2016
3 TIME 09:27:35 3 TIME 14:27:35
0 @F0006@ FAM 0 @F0006@ FAM
1 HUSB @I0008@ 1 HUSB @I0008@
1 WIFE @I0031@ 1 WIFE @I0031@
@ -911,7 +1133,7 @@
1 CHIL @I0014@ 1 CHIL @I0014@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @F0007@ FAM 0 @F0007@ FAM
1 HUSB @I0015@ 1 HUSB @I0015@
1 WIFE @I0013@ 1 WIFE @I0013@
@ -920,7 +1142,7 @@
2 DATE ABT 1920 2 DATE ABT 1920
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @F0008@ FAM 0 @F0008@ FAM
1 HUSB @I0033@ 1 HUSB @I0033@
1 WIFE @I0041@ 1 WIFE @I0041@
@ -934,14 +1156,14 @@
1 CHIL @I0044@ 1 CHIL @I0044@
1 CHAN 1 CHAN
2 DATE 4 SEP 2016 2 DATE 4 SEP 2016
3 TIME 15:14:33 3 TIME 20:14:33
0 @F0009@ FAM 0 @F0009@ FAM
1 HUSB @I0010@ 1 HUSB @I0010@
1 WIFE @I0017@ 1 WIFE @I0017@
1 CHIL @I0033@ 1 CHIL @I0033@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @F0010@ FAM 0 @F0010@ FAM
1 HUSB @I0019@ 1 HUSB @I0019@
1 WIFE @I0032@ 1 WIFE @I0032@
@ -952,7 +1174,7 @@
1 CHIL @I0035@ 1 CHIL @I0035@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @F0011@ FAM 0 @F0011@ FAM
1 HUSB @I0003@ 1 HUSB @I0003@
1 WIFE @I0028@ 1 WIFE @I0028@
@ -962,7 +1184,7 @@
2 PLAC Rønne, Bornholm, Denmark 2 PLAC Rønne, Bornholm, Denmark
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @F0012@ FAM 0 @F0012@ FAM
1 HUSB @I0018@ 1 HUSB @I0018@
1 WIFE @I0034@ 1 WIFE @I0034@
@ -975,7 +1197,7 @@
1 CHIL @I0037@ 1 CHIL @I0037@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @F0013@ FAM 0 @F0013@ FAM
1 HUSB @I0037@ 1 HUSB @I0037@
1 WIFE @I0030@ 1 WIFE @I0030@
@ -991,20 +1213,49 @@
1 CHIL @I0002@ 1 CHIL @I0002@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @F0014@ FAM 0 @F0014@ FAM
1 HUSB @I0010@ 1 HUSB @I0010@
1 WIFE @I0016@ 1 WIFE @I0016@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @F0016@ FAM 0 @F0016@ FAM
1 HUSB @I0044@ 1 HUSB @I0044@
1 WIFE @I0045@ 1 WIFE @I0045@
1 SLGS
2 DATE 22 FEB 2000
2 TEMP DENVE
2 PLAC Community Presbyterian Church, Danville, CA
2 ADDR
3 ADR2 Community Presbyterian Church, Danville, CA
2 STAT CLEARED
1 MARR
2 HUSB
3 AGE 45
2 WIFE
3 AGE 15
1 ENGA
2 TYPE They were engaged
1 EVEN Married by a clown in the buff
2 TYPE Alternate Marriage
1 EVEN
2 TYPE Alternate Marriage
1 NCHI 4
1 RFN RFN3333
1 FACT 7532951
2 TYPE License Number
1 FACT
2 TYPE Unknown
1 CHIL @I0046@ 1 CHIL @I0046@
1 CHIL @I0047@
1 CHIL @I0048@
1 CHIL @I0049@
1 CHIL @I0050@
1 CHIL @I0051@
1 CHAN 1 CHAN
2 DATE 4 SEP 2016 2 DATE 29 OCT 2016
3 TIME 15:16:51 3 TIME 16:27:59
0 @S0000@ SOUR 0 @S0000@ SOUR
1 TITL Marriage Certificae 1 TITL Marriage Certificae
1 REPO @R0002@ 1 REPO @R0002@
@ -1013,17 +1264,17 @@
1 NOTE @N0004@ 1 NOTE @N0004@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @S0001@ SOUR 0 @S0001@ SOUR
1 TITL Birth Certificate 1 TITL Birth Certificate
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @S0002@ SOUR 0 @S0002@ SOUR
1 TITL Birth Records 1 TITL Birth Records
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @S0003@ SOUR 0 @S0003@ SOUR
1 TITL Birth, Death and Marriage Records 1 TITL Birth, Death and Marriage Records
1 REPO @R0002@ 1 REPO @R0002@
@ -1032,25 +1283,33 @@
1 NOTE @N0005@ 1 NOTE @N0005@
1 CHAN 1 CHAN
2 DATE 21 DEC 2007 2 DATE 21 DEC 2007
3 TIME 01:35:26 3 TIME 07:35:26
0 @S0004@ SOUR 0 @S0004@ SOUR
1 TITL findagrave.com 1 TITL findagrave.com
1 CHAN 1 CHAN
2 DATE 4 JUN 2016 2 DATE 4 JUN 2016
3 TIME 16:28:36 3 TIME 21:28:36
0 @S0005@ SOUR 0 @S0005@ SOUR
1 TITL Import from imp_FTM_LINK.ged 1 TITL Import from imp_FTM_LINK.ged
1 REPO @R0000@ 1 REPO @R0000@
1 REPO @R0001@ 1 REPO @R0001@
1 CHAN 1 CHAN
2 DATE 29 AUG 2016 2 DATE 29 AUG 2016
3 TIME 14:51:48 3 TIME 19:51:48
0 @S0006@ SOUR 0 @S0006@ SOUR
1 TITL Ohio Births, 1958-2002 1 TITL Ohio Births, 1958-2002
1 REPO @R0004@ 1 REPO @R0004@
1 CHAN 1 CHAN
2 DATE 29 AUG 2016 2 DATE 29 AUG 2016
3 TIME 14:51:48 3 TIME 19:51:48
0 @S0007@ SOUR
1 AUTH The tester
1 PUBL Published when the test was written
1 ABBR TST
1 REPO @R0006@
1 CHAN
2 DATE 29 OCT 2016
3 TIME 16:20:39
0 @R0000@ REPO 0 @R0000@ REPO
1 NAME Business that produced the product: Ancestry.com 1 NAME Business that produced the product: Ancestry.com
1 ADDR 360 W 4800 N, Provo, UT 84604 1 ADDR 360 W 4800 N, Provo, UT 84604
@ -1108,6 +1367,8 @@
1 WWW http://www.tester_repo.com 1 WWW http://www.tester_repo.com
1 NOTE @N0012@ 1 NOTE @N0012@
1 NOTE @N0013@ 1 NOTE @N0013@
0 @R0005@ REPO
0 @R0006@ REPO
0 @N0000@ NOTE Witness name: John Doe 0 @N0000@ NOTE Witness name: John Doe
1 CONT Witness comment: This is a simple test. 1 CONT Witness comment: This is a simple test.
0 @N0001@ NOTE Witness name: No Name 0 @N0001@ NOTE Witness name: No Name
@ -1153,4 +1414,13 @@
1 CONT 1 CONT
1 CONT Only one phone number supported Lin 1 CONT Only one phone number supported Lin
1 CONC e 87: 1 PHON 800-765-4321 1 CONC e 87: 1 PHON 800-765-4321
0 @N0014@ NOTE ******************************************************************8
1 CONC 90123456789
1 CONT ******************************************************************89 123
1 CONC 456789
0 @N0015@ NOTE This should show up under the ASSO tag in Gedcom
0 @N0016@ NOTE ??? What is RESN???
0 @N0017@ NOTE A citation Note Source text
0 @N0018@ NOTE Another Citation Note
0 @N0019@ NOTE A bad photo for sure
0 TRLR 0 TRLR

View File

@ -81,6 +81,7 @@ class ResourcePath:
LOG.error("Unable to determine resource path") LOG.error("Unable to determine resource path")
sys.exit(1) sys.exit(1)
resource_path = os.path.abspath(resource_path)
if installed: if installed:
self.locale_dir = os.path.join(resource_path, 'locale') self.locale_dir = os.path.join(resource_path, 'locale')
self.data_dir = os.path.join(resource_path, 'gramps') self.data_dir = os.path.join(resource_path, 'gramps')

View File

@ -122,6 +122,12 @@ QUALITY_MAP = {
Citation.CONF_VERY_LOW : "0", Citation.CONF_VERY_LOW : "0",
} }
PEDIGREE_TYPES = {
ChildRefType.BIRTH: 'birth',
ChildRefType.STEPCHILD: 'Step',
ChildRefType.ADOPTED: 'Adopted',
ChildRefType.FOSTER: 'Foster',
}
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
@ -710,6 +716,29 @@ class GedcomWriter(UpdateCallback):
for family in family_list: for family in family_list:
if family: if family:
self._writeln(1, 'FAMC', '@%s@' % family.get_gramps_id()) self._writeln(1, 'FAMC', '@%s@' % family.get_gramps_id())
for child in family.get_child_ref_list():
if child.get_reference_handle() == person.get_handle():
if child.frel == ChildRefType.ADOPTED and \
child.mrel == ChildRefType.ADOPTED:
self._writeln(2, 'PEDI adopted')
elif child.frel == ChildRefType.BIRTH and \
child.mrel == ChildRefType.BIRTH:
self._writeln(2, 'PEDI birth')
elif child.frel == ChildRefType.STEPCHILD and \
child.mrel == ChildRefType.STEPCHILD:
self._writeln(2, 'PEDI stepchild')
elif child.frel == ChildRefType.FOSTER and \
child.mrel == ChildRefType.FOSTER:
self._writeln(2, 'PEDI foster')
elif child.frel == child.mrel:
self._writeln(2, 'PEDI Unknown')
else:
self._writeln(2, '_FREL %s' %
PEDIGREE_TYPES.get(child.frel.value,
"Unknown"))
self._writeln(2, '_MREL %s' %
PEDIGREE_TYPES.get(child.mrel.value,
"Unknown"))
def _parent_families(self, person): def _parent_families(self, person):
""" """
@ -755,7 +784,7 @@ class GedcomWriter(UpdateCallback):
elif url.get_type() == _('Phone'): elif url.get_type() == _('Phone'):
self._writeln(level, 'PHON', url.get_path()) self._writeln(level, 'PHON', url.get_path())
elif url.get_type() == _('FAX'): elif url.get_type() == _('FAX'):
self._writeln(level, 'PHON', url.get_path()) self._writeln(level, 'FAX', url.get_path())
else: else:
self._writeln(level, 'OBJE') self._writeln(level, 'OBJE')
self._writeln(level+1, 'FORM', 'URL') self._writeln(level+1, 'FORM', 'URL')
@ -1083,7 +1112,7 @@ class GedcomWriter(UpdateCallback):
+1 <<NOTE_STRUCTURE>> # not used +1 <<NOTE_STRUCTURE>> # not used
""" """
self._writeln(level, 'CHAN') self._writeln(level, 'CHAN')
time_val = time.localtime(timeval) time_val = time.gmtime(timeval)
self._writeln(level+1, 'DATE', '%d %s %d' % ( self._writeln(level+1, 'DATE', '%d %s %d' % (
time_val[2], libgedcom.MONTH[time_val[1]], time_val[0])) time_val[2], libgedcom.MONTH[time_val[1]], time_val[0]))
self._writeln(level+2, 'TIME', '%02d:%02d:%02d' % ( self._writeln(level+2, 'TIME', '%02d:%02d:%02d' % (

View File

@ -124,6 +124,9 @@ def gedfilt(line):
elif token == "FILE" and line.endswith('.ged\n'): elif token == "FILE" and line.endswith('.ged\n'):
# probably have a header with file name # probably have a header with file name
retval = False retval = False
elif token == "FILE" and "tests" in line:
# probably have a media with file name
retval = False
else: # this is an addition else: # this is an addition
if token == "VERS" and gedfilt.prev[gedfilt.indx-1][0] == "VERS": if token == "VERS" and gedfilt.prev[gedfilt.indx-1][0] == "VERS":
# we must have a header with Gramps version # we must have a header with Gramps version
@ -139,6 +142,9 @@ def gedfilt(line):
elif token == "FILE" and line.endswith('.ged\n'): elif token == "FILE" and line.endswith('.ged\n'):
# probably have a header with file name # probably have a header with file name
retval = False retval = False
elif token == "FILE" and "tests" in line:
# probably have a media with file name
retval = False
return retval return retval
@ -174,7 +180,7 @@ class ExportControl(unittest.TestCase):
# "--import", example) # "--import", example)
def tearDown(self): def tearDown(self):
call("-y -q", "--remove", TREE_NAME) call("-y", "-q", "--remove", TREE_NAME)
def test_csv(self): def test_csv(self):
""" Run a csv export test """ """ Run a csv export test """