Data.gramps

From Gramps
Revision as of 19:48, 8 January 2021 by Bamaustin (talk | contribs) (See also)
Jump to: navigation, search

Your installation of Gramps should include a small example family tree database. This is used to provide a known stable environment for testing, for working through tutorials, and for experimenting.

If you think you have an issue/bug in your Family Tree/database, try the same operation with the 'data' family tree. If the problem happens there as well, then it is probably not due to a corruption in your data.

Load data.gramps

Follow these steps to load the example family tree:

  1. Find data.gramps.gz or data.gramps on your system. For example:
    • on Linux /usr/share/doc/gramps/example/gramps/, open example.gramps.gz, and extract data.gramps to a temporary location.
    • on MS-Windows AIO C:\Program Files\GrampsAIOxx-x.x.x\share\doc\gramps\example\gramps (On MS-Windows ensure you can see hidden files; see User Directory:MS Windows)
    • The small example database is not included in the MacOS AIO.
  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 data
  4. Open this new family tree. It will be empty.
  5. In Gramps, use Family Trees > Import... to import data.gramps.
    Import Statistics of the data.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.
Gramps-notes.png
The data.gramps family tree data file

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

See also

for MS Windows, located in C:\Program Files\GrampsAIO64-5.1.3\share\doc\gramps\example\gedcom\