Difference between revisions of "Data.gramps"

From Gramps
Jump to: navigation, search
m (See also)
 
(7 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
# Find <code>data.gramps.gz</code> or <code>data.gramps</code> on your system. For example:
 
# Find <code>data.gramps.gz</code> or <code>data.gramps</code> on your system. For example:
 
#* on Linux <code>/usr/share/doc/gramps/example/gramps/</code>,  open <code>example.gramps.gz</code>, and extract <code>data.gramps</code> to a temporary location.
 
#* on Linux <code>/usr/share/doc/gramps/example/gramps/</code>,  open <code>example.gramps.gz</code>, and extract <code>data.gramps</code> to a temporary location.
#* on MS-Windows AIO <code>C:\Program Files\GrampsAIO''xx''-''x''.''x''.''x''\share\doc\gramps\example\gramps</code> (On MS-Windows ensure you can see hidden files; see  [[Gramps_5.0_Wiki_Manual_-_User_Directory#MS_Windows|User Directory:MS Windows]])
+
#* on MS-Windows AIO <code>C:\Program Files\GrampsAIO''xx''-''x''.''x''.''x''\share\doc\gramps\example\gramps</code> (On MS-Windows ensure you can see hidden files; see  [[Gramps_{{Version manual}}_Wiki_Manual_-_User_Directory#MS_Windows|User Directory:MS Windows]])
 
#* The small example database is not included in the MacOS AIO.
 
#* The small example database is not included in the MacOS AIO.
 
# Start Gramps
 
# Start Gramps
 
# To create a new family tree {{man menu|Family Trees > Manage Family Trees...}} select the {{man button|New}} button. Give it some name, such as ''data''
 
# To create a new family tree {{man menu|Family Trees > Manage Family Trees...}} select the {{man button|New}} button. Give it some name, such as ''data''
 
# Open this new family tree. It will be empty.
 
# Open this new family tree. It will be empty.
# In Gramps, use {{man menu|Family Trees > Import...}} to [[Gramps_5.0_Wiki_Manual_-_Manage_Family_Trees#Importing_data|import]] <code>data.gramps</code>.
+
# In Gramps, use {{man menu|Family Trees > Import...}} to [[Gramps_{{Version manual}}_Wiki_Manual_-_Manage_Family_Trees#Importing_data|import]] <code>data.gramps</code>.
 
#;Import Statistics of the data.gramps family tree  
 
#;Import Statistics of the data.gramps family tree  
 
{| class="wikitable"
 
{| class="wikitable"
Line 36: Line 36:
 
==Connecting to the example Media Objects==
 
==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.   
 
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.   
# In {{man menu|Edit > Preferences}}, change the {{man label|Base path for relative media paths:}} in the [[Gramps_5.0_Wiki_Manual_-_Settings#General|{{man label|General}}]] tab. This could be in a new directory, to keep it separate to your own family tree media. (eg On Linux <code>~/gramps/example/</code>)
+
# In {{man menu|Edit > Preferences}}, change the {{man label|Base path for relative media paths:}} in the [[Gramps_{{Version manual}}_Wiki_Manual_-_Settings#General|{{man label|General}}]] tab. This could be in a new directory, to keep it separate to your own family tree media. (eg On Linux <code>~/gramps/example/</code>)
 
# Copy the media files from the example directory (that you found in step 1, above) to this media path directory.  
 
# Copy the media files from the example directory (that you found in step 1, above) to this media path directory.  
{{man note|The data.gramps family tree data file| Alternately, a replacement Gramps ''[https://raw.githubusercontent.com/gramps-project/gramps/maintenance/gramps50/example/gramps/data.gramps data.gramps]'' [[XML|{{man label|XML}}]] family tree database file (without the Media Objects) can be downloaded from the GitHub file store.}}
+
{{man note|The data.gramps family tree data file| Alternately, a replacement Gramps ''[https://raw.githubusercontent.com/gramps-project/gramps/maintenance/gramps51/example/gramps/data.gramps data.gramps]'' [[XML|{{man label|XML}}]] family tree database file (without the Media Objects) can be downloaded from the GitHub file store.}}
 +
 
 
==See also==
 
==See also==
 
* [[How to make a backup]]
 
* [[How to make a backup]]
 +
* [[How to restore a backup]]
 
* [[Recover corrupted family tree]]
 
* [[Recover corrupted family tree]]
 
* [[Example.gramps]] sample file
 
* [[Example.gramps]] sample file
 
+
* sample.ged - a 42 person [[Gramps_Glossary#gedcom|GEDCOM]] sample file ''(hint: Edwin Michael Smith is a reasonable [[Gramps_Glossary#home_person|Home Person]])''
 +
: for MS Windows, located in <tt>C:\Program Files\GrampsAIO64-5.1.3\share\doc\gramps\example\gedcom\</tt>
 +
* [[PseudonymTree.gramps|PseudonymTree.gramps]] - sample Pseudonym person Gramps tree for exploring filters & charts. (No Events or Media)
 +
* [https://github.com/gramps-project/gramps/tree/maintenance/gramps51/example/ Gramps-Project example files] (GitHub folder)
 +
* [[Plugins_Command_Line#Generate_Testcases_for_Persons_and_Families|testcase file generator]]
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Gramps Examples]]
 
[[Category:Gramps Examples]]
 
[[Category:Genealogy]]
 
[[Category:Genealogy]]
 
[[Category:Developers/General]]
 
[[Category:Developers/General]]

Latest revision as of 19:48, 8 January 2021

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\