Difference between revisions of "Gramps 5.1 Wiki Manual - FAQ"
(→Database - Gramps file formats)
|Line 194:||Line 194:|
==Database - Gramps file formats==
==Database - Gramps file formats==
===What is the maximum database size (bytes) Gramps can handle?===
===What is the maximum database size (bytes) Gramps can handle?===
Revision as of 22:22, 23 May 2020
This appendix contains the list of Frequently asked questions(FAQ) that come up in mailing list discussions and forums. This list is by no means complete. If you would like to add questions/answers to this list, please join and email your suggestions to the firstname.lastname@example.org mailing list.
Also consider having a look at the following Categories on the Gramps wiki:
You may find it useful to review
- Gramps Glossary - gives an overview of terms that appear in Gramps
- Genealogy Glossary - genealogical terms and meanings.
- 1 General
- 2 Installation
- 3 Preferences
- 4 Collaboration-Portability
- 4.1 Is Gramps compatible with other genealogical software?
- 4.2 Can Gramps read files created by other genealogy programs?
- 4.3 Can Gramps write files readable by other genealogy programs?
- 4.4 What standards does Gramps support?
- 4.5 How do I import data from another genealogy program into Gramps?
- 4.6 Can I install Gramps on a Linux Web Server and use it via a web browser?
- 5 Reports
- 5.1 Can Gramps print a genealogical tree for my family?
- 5.2 How can the relationship between people on the tree be determined?
- 5.3 In what formats can Gramps output its reports?
- 5.4 How can I change the default language in reports?
- 5.5 Is Gramps compatible with the Internet?
- 5.6 Can I create custom reports/filters/whatever?
- 5.7 Why are non-Latin characters displayed as garbage in PDF/PS reports?
- 5.8 I would like to contribute to Gramps by writing my favorite report. How do I do that?
- 6 Database - Gramps file formats
- 6.1 What is the maximum database size (bytes) Gramps can handle?
- 6.2 How many people can Gramps database handle?
- 6.3 My database is really big. Is there a way around loading all the data into memory?
- 6.4 Can I run Gramps from a database on a NFS share?
- 6.5 What does "portable" mean?
- 6.6 Why is the database format (GRDB) not portable?
- 7 Bugs and requests
- 8 Adding to and editing my database
- 8.1 What is the difference between a residence and an address?
- 8.2 How do I change the order of children?
- 8.3 How do I change the order of spouses?
- 8.4 How do I add an additional spouse?
- 8.5 How do I remove a spouse?
- 8.6 How do you add photos to an item?
- 8.7 How do you find unused media?
- 8.8 How can I publish a genealogy web site with Gramps?
What is Gramps?
Gramps is the Genealogical Research and Analysis Management Program System. In other words, it is a personal genealogy program letting you store, edit, and research genealogical data using the powers of your computer, see About.
Where do I get it and how much does it cost?
Gramps can be installed at no charge. Gramps is an Open Source project covered by the GNU General Public License. You have full access to the source code and are allowed to distribute the program and source code freely.
Do I need to register as a user to use Gramps, I am not a programmer?
No, registering is only needed if you want to file a bug (or feature request) report or edit/write a wiki page.
No programming skill needed for that.
Does Gramps exist in other languages?
Yes, at the release of Gramps 5.1 it has been translated into 28 languages, see Gramps translations.
How do I keep backups?
Automatic backup is a default feature that protects your genealogical data in Gramps. (It became automated in 2018 with the release of the 5.1 version.) The settings for the interval, backup file path and option whether to backup when exiting Gramps are in the Family Tree tab of the Edit -> Preferences... menu. Additionally, a backup can be manually selected from the Family Trees > Make Backup... window.
It is extremely important to keep backups of your data, and keep them in a safe place. Gramps has a specific portable file format which is small, and human readable, denoted by
.gramps. See Gramps 5.1 Wiki Manual - Manage Family Trees#Backing up a Family_Tree.
You can copy this backup file from time to time to a save location (eg a usb stick). [Note: The .gramps files are compressed. Clicking them will open Gramps. To see the XML select them and open them with a decompressing utility (like ark, gunzip), after which you can extract the XML file which is human readable, see details.
Gramps does a quick hidden binary backup to allow restore if an error is noted. If the correct package is installed you can use a revision system.
Another method is to backup the hidden directory /.gramps. This directory is situated in your home directory on Linux systems. Backing up this directory will backup your databases and revisions.
Do not keep backups in GEDCOM. Not all information Gramps stores can be written in the GEDCOM. Hence, an export/import operation Gramps --> GEDCOM --> Gramps, will mean you lose data. Use the
.gramps file format for backups!
Do not keep backups in GRDB format. GRDB is a database, which might be computer dependent (read, not working on a different PC). Small damage to a GRDB file can also not be repaired. Use the
.gramps file format for backups!
Does Gramps support Unicode fonts?
In particular, does it support non-Roman Unicode fonts? Yes. Gramps works internally with Unicode (UTF-8), so all alphabets can be used on all entry fields. All reports fully support this, although for PDF/PS you need to work with gnome-print or LibreOffice.
What is needed to install Gramps under Linux, Solaris, or FreeBSD?
Gramps is a GTK application. Gramps needs to have the PyGObject libraries installed on the system. As long as these libraries are installed, Gramps should function. It will operate under the GNOME desktop, KDE desktop, or any other desktop. If the GNOME bindings for Python are installed on the system, Gramps will have additional functionality. Please check that it meet the Gramps project recommendations on the GTK version to use.
Does Gramps work on Windows?
Yes, Windows is a community supported platform for Gramps.
We will do our best to solve any reported Windows-related problems. See here.
Does Gramps work on the Mac?
Yes, macOS is a community supported platform for Gramps.
You can download the macOS version.
We will do our best to solve any reported Apple macOS related problems. See here.
Does Gramps work on my mobile device?
More technical answer is yes if you can install a version of Linux Operating systems on the mobile device along with all the support packages.
Does Gramps work on my Google Chromebook?
What are the Minimum Specs to run Gramps?
We would recommend at least an 1980x1080 video display. The early memory requirements for Gramps, have been reduced, and Gramps were quite high. Beginning with Gramps 3.0, the software could run quite efficiently on a 256MB system, holding considerably more people. A system with 512MB should be able to hold around 200,000 people. However, disk disk space requirements for databases are however considerably larger, with a typical database being several megabytes in size. For 120.000 people you must consider already 530MB for the database. Pictures are stored on disk separately, so a large harddisk is necessary.
How do I upgrade Gramps?
GNU/Linux operating systems will typically deal with upgrade issues for you. If they do not then you need to ask users of your preferred GNU/Linux distribution.
The Windows port of Gramps needs to be updated manually.
Can I change the dates in reports to 'day month year'?
Yes, in the preferences (Edit -> Preferences Display tab) change the Date format: setting for Gramps to the required format (eg YYYY-MM-DD or day month year), and make the report. Your global date preferences will be used.
Is Gramps compatible with other genealogical software?
Gramps makes every effort to maintain compatibility with GEDCOM, the general standard of recording genealogical information. We have import and export filters that enable Gramps to read and write GEDCOM files.
It is important to understand that the GEDCOM standard is poorly implemented -- virtually every genealogical software has its own "flavor" of GEDCOM. As we learn about new flavor, the import/export filters can be created very quickly. However, finding out about the unknown flavors requires user feedback. Please feel free to inform us about any GEDCOM flavor not supported by Gramps, and we will do our best to support it!
There is a specific section of this wiki which discusses Gramps and GEDCOM.
Can Gramps read files created by other genealogy programs?
Yes can read GEDCOM files created by other genealogy programs.
Can Gramps write files readable by other genealogy programs?
Yes can write GEDCOM files to be read by other genealogy programs.
What standards does Gramps support?
The nice thing about standards is that there never is a shortage of them. Gramps is tested to support the following flavors of GEDCOM 5.5.1, Brother's Keeper, Family Origins, Family Tree Maker, Ftree, GeneWeb, Legacy, Personal Ancestral File, Pro-Gen, Reunion, and Visual Genealogie.
How do I import data from another genealogy program into Gramps?
The best way is to create a new family tree, and select the import option in the file menu. Here you select the GEDCOM you generated with the other program, and import it.
Can I install Gramps on a Linux Web Server and use it via a web browser?
This would enable my relations worldwide to access and update it.
While Gramps can generate web sites, it does not provide a web interface that allows for editing. If this is a requirement, then GeneWeb or webtrees are programs more likely to meet your needs. Also have a look at experimental gramps-online. However, you may wish to ask yourself the following questions:
- Do I really want relatives or other people to directly edit my genealogy database?
- Do I implicitly trust, without verification, any data that people may enter?
- Do these people have the same understanding of good genealogy practice that I have?
A better approach may be to provide a web form interface that allows others to enter data that is then held for your examination. You can then decide if the information should be entered into your database.
You may also want to consider the effects of possible downtime of your site if you cannot afford yourself a premium webhosting service.
Can Gramps print a genealogical tree for my family?
Yes. Different people have different ideas of what a genealogical tree is. Some think of it as a chart going from the distant ancestor and listing all his/her descendants and their families. Others think it should be a chart going from the person back in time, listing the ancestors and their families. Yet other people think of a table, text report, etc.
Gramps can produce any of the above, and many more different charts and reports. Moreover, the plugin architecture enables users (you) to create their own plugins which could be new reports, charts, or research tools.
How can the relationship between people on the tree be determined?
Some users are interested in only showing direct ancestor or descendant genetic relationships. Other users are also interested in collateral (cousins!) lines or immediate in-laws. And yet other users are interested in how the most indirect connections influence a community.
So Gramps offers a continually expanding variety of tools, reports and methods to determine how people are connected within a Tree's database. Following a discussion on the Gramps-User Maillist, the posted suggestions have been collated and expounded upon in the "How to find the relationship between people" article in the "How do I..." wiki category.
In what formats can Gramps output its reports?
Text reports are available in HTML, PDF, ODT, LaTeX, and RTF formats. Graphical reports (charts and diagrams) are available in PostScript, PDF, SVG, ODS, and GraphViz formats.
How can I change the default language in reports?
The reports are in the language of your installation. Most reports allow you to select the Language to output to look for the Translation: option to select the translation to be used for the report. You can change it by installing extra language packs, see Howto: Change the language of reports.
Is Gramps compatible with the Internet?
Gramps can store web addresses and direct your browser to them. It can import data that you download from the Internet. It can export data that you could send over the Internet. Gramps is familiar with the standard file formats widely used on the Internet (e.g. JPEG, PNG, and GIF images, MP3, OGG, and WAV sound files, QuickTime, MPEG, and AVI movie files, etc). Other than that, there is little that a genealogical program can do with the Internet.
Can I create custom reports/filters/whatever?
Yes. There are many levels of customization. One is creating or modifying the templates used for the reports. This gives you some control over the fonts, colors, and some layout of the reports. You can also use Gramps controls in the report dialogs to tell what contents should be used for a particular report. In addition to this, you have an ability to create your own filters -- this is useful in selecting people based on criteria set by you. You can combine these filters to create new, more complex filters. Finally, you have an option to create your own plugins. These may be new reports, research tools, import/export filters, etc. This assumes some knowledge of programming in Python.
Why are non-Latin characters displayed as garbage in PDF/PS reports?
This is a limitation of the built-in fonts of PS and PDF formats. To print non-Latin text, use the Print... in the format selection menu of the report dialog. This will use the
gnome-print backend, which supports PS and PDF creation, as well as direct printing. (Note: you might need to install gnome-print separately as it is not required for Gramps).
If you only have Latin text, the PDF option will produce a smaller PDF compared to that created by gnome-print, simply because no font information will be embedded.
I would like to contribute to Gramps by writing my favorite report. How do I do that?
The easiest way to contribute to reports, filters, tools, etc. is to copy an existing Gramps report, filter, or tool. If you can create what you want by modifying existing code -- great! If your idea does not fit into the logic of any existing Gramps tool, you will need to write your own plugin from scratch. Help is available on the Developers Portal, or on the Developers mailing list: email@example.com.
To test your work in progress, you may save your plugin under
$HOME/.gramps/plugins directory and it should be found and imported on startup. The correctly written addon/plugin will register itself with Gramps, create menu item, and so on.
If you are happy with your addon/plugin and would like to contribute your code back to the Gramps project, you are very welcome to do so by joining and contacting us at firstname.lastname@example.org mailing list.
Database - Gramps file formats
The default file format is Gramps XML it is used for exports, backups, and imports and preserves your entered genealogical data with no data loss as compared to the GEDCOM format.
What is the maximum database size (bytes) Gramps can handle?
Gramps has no hard limits on the size of a database that it can handle. Starting with 2.0.0 release, Gramps no longer loads all data into memory, which allows it to work with a much larger database than before. In reality, however, there are practical limits. The main limiting factors are the available memory on the system and the cache size used for BSDDB database access. With common memory sizes these days, Gramps should have no problem using databases with Millions of people.
How many people can Gramps database handle?
See above. Again, this is dependent on how much memory and storage space your computer has, see Gramps Performance.
My database is really big. Is there a way around loading all the data into memory?
Starting with 2.0.0 release, Gramps no longer loads all data into memory, which allows it to work with a much larger database than before. The fileformat used is
.grdb which means Gramps database.
Yes you can run a Gramps database from a NFS(NetworkFile System) share.
What does "portable" mean?
A Gramps 3 database (and any .grdb file) is very dependent on the software versions that created it. For example, you can't just move your Gramps data in these formats to a different operating system (or even a different version of an operating system) and expect that you will be able to read your data. The data is not "portable". Therefore, you can't just rely on backups of these formats, but you should also occasionally export into a format that is portable. There are two possible portable formats: GEDCOM and Gramps XML (.gramps or .gpkg). But only Gramps XML is recommended, as it faithfully saves all of your data.
Why is the database format (GRDB) not portable?
The biggest issue with Gramps portability lies with 'transactions'. With Gramps 2.2, we added support for atomic transactions to protect data. With atomic transactions, multiple changes are committed as a single unit. Either all the changes make it, or none of the changes make it. You are never left in a situation with a partial set of changes. A side benefit of using transactions is that database access (reads and writes) are faster.
The problem with transactions (at least using BSDDB) is that it does not allow all the data to be stored in a single file. Logging files are needed to keep track of things. These logging files are kept in a DB Environment directory. We need a separate directory for each file, otherwise the log files can interfere with each other.
In 2.2, we keep the log files under the
~/.gramps/ directory, creating a unique directory for each database. The problem is that your GRDB file needs the log files, which are in a different directory.
Copying the GRDB file is only copying a portion of the database.
Bugs and requests
What do I do if I have found a bug?
You can submit a bug report.
A good bug report would include:
- Version of Gramps you were using when you encountered the bug (available through Help → About menu item).
- Language under which Gramps was run (available by executing
echo $LANGin your terminal).
- Symptoms indicating that this is indeed a bug.
- Any Traceback messages, error messages, warnings, etc, that showed up in your terminal or a in separate traceback window.
Most problems can be fixed quickly provided there is enough information. To ensure this, please follow up on your bug reports. Then we will have a way of contacting you should we need more information.
- Gramps should be a .... type of application
The surest way to see it happen is to get it done by yourself. Since Gramps is free/open source, nobody prevents you from taking all of the code and continuing its development in whatever direction you see fit. In doing so, you may consider giving your new project another name to avoid confusion with the continuing Gramps development. If you would like the Gramps project to provide advice, expertise, filters, etc., we will gladly cooperate with your new project, to ensure compatibility or import/export options to your new format of a project.
If, however, you would like the Gramps project to adopt your strategy, you would need to convince Gramps developers that your strategy is good for Gramps and superior to the present development strategy.
Adding to and editing my database
What is the difference between a residence and an address?
A residence is a place where someone lived for a period of time. An address is the name of a residence formatted in the way expected by the postal system. Therefore each residence can also have an address if that is useful. See also: Why residence event and not Address?
How do I change the order of children?
How do I change the order of spouses?
Spouses can be reordered from the Relationships Category by selecting the Reorder button in the toolbar.
How do I add an additional spouse?
See Add a spouse
How do I remove a spouse?
Please update or expand this section.
How do you add photos to an item?
How do you find unused media?
Please update or expand this section.
How can I publish a genealogy web site with Gramps?
You can follow the Howto: Make a genealogy website with Gramps tutorial that describes using the NarrativeWeb (a.k.a. Narrated Web Site) report to generate a website around a set of people in your Family Tree and once generated, you can upload the files to a webserver or distribute it on a portable thumbdrive or CD-ROM.
You can also install additional third party addon reports to create web content see the Addons List.
|Special copyright notice: All edits to this page need to be under two different copyright licenses:
These licenses allow the Gramps project to maximally use this wiki manual as free content in future Gramps versions. If you do not agree with this dual license, then do not edit this page. You may only link to other pages within the wiki which fall only under the GFDL license via external links (using the syntax: [https://www.gramps-project.org/...]), not via internal links.