From Gramps
Revision as of 18:35, 22 February 2020 by Bamaustin (talk | contribs) (Created page with "The '''File:GrampsPseudonymTree(02Feb2020).gz ''' file ideally will have an example of the various relationships in Gramps. This is used to provide a predictable Tree environ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The File:GrampsPseudonymTree(02Feb2020).gz file ideally will have an example of the various relationships in Gramps.

This is used to provide a predictable Tree environment for testing, for working through charting options & filter rules, and for experimenting.

Load example.gramps

Follow these steps to load the example family tree:

  1. Find example.gramps.gz or example.gramps on your system. For example:
    • on Linux /usr/share/doc/gramps/example/gramps/. If the file is named example.gramps.gz, rename it to example.gramps and gramps will recognize it. You can copy this file to a temporary location or import it directly from this directory.
    • on MS-Windows AIO C:\Program Files\GrampsAIO64-X.X.X\share\doc\gramps\example\gramps (On MS-Windows ensure you can see hidden files; see User Directory:MS Windows)
    • On Apple MacOS the example database is not included in the MacOS AIO(All in one package) and you may download the files from and import the Family Tree. (On MacOS ensure you can see hidden files; see: User Directory:Mac OS X)
  2. Start Gramps
  3. To create a new family tree Family Trees > Manage Family Trees... select the New button. Give it some name, such as example
  4. Open this new family tree. It will be empty.
  5. In Gramps, use Family Trees > Import... to import example.gramps.
    Import Statistics of the example.gramps family tree

Number of new objects imported:

Media objects with relative paths have been imported. These paths are considered relative to the media directory you can set in the preferences, or, if not set, relative to the user's directory.

Fig. .1 Import Statistics - dialog

Connecting to the example Media Objects

There are seven example Media Objects (JPEG and PNG images) provided but the relative media path starting point (the Base Path) hasn't been defined in the Preferences. So these images won't be displayed until the media path has been re-defined. The media path can be reset now or if starting to experiment with images.

  1. In Edit > Preferences, change the Base path for relative media paths: in the General tab. This could be in a new directory, to keep it separate to your own family tree media. (eg On Linux ~/gramps/example/)
  2. Copy the media files from the example directory (that you found in step 1, above) to this media path directory.
The example.gramps family tree data file

Alternately, a replacement Gramps example.gramps XML family tree database file (without the Media Objects) can be downloaded from the GitHub file store.

See also