Gramps 3.2 Wiki Manual - FAQ/zh
|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.
- 1 常见问题
- 2 安装
- 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 In what formats can GRAMPS output its reports?
- 5.3 How can I change the default language in reports?
- 5.4 Is GRAMPS compatible with the Internet?
- 5.5 Can I create custom reports/filters/whatever?
- 5.6 Why are non-Latin characters displayed as garbage in PDF/PS reports?
- 5.7 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 GRAMPS Webhosting
- 8.1 How can I publish web sites generated by GRAMPS?
- 8.2 How do I submit my pages to the GRAMPS library site (http://library.gramps-project.org)?
- 8.3 After I upload my Family Web Page to library.gramps-project.org, is the password used for write privileges only or read privileges?
- 8.4 Do I view the Family Web Page with a url into my browser?
- 9 Adding to and editing my database
支持，现在GRAMPS已经被翻译成了23种语言, 请参照 GRAMPS translations.
你可以将你的备份文件实时拷贝到保存位置（比如，U盘）。【注意： .gramps 文件是一个压缩文件。双击将会打开GRAMPS程序。如果查看XML文件选择他们并用解压缩工具（比如ark,gunzip）打开，之后你可以解压缩出可读取的XML文件，具体请参照 details】。
不要以GRDB格式备份. GRDB 是一种数据库,它有可能依赖于某些计算机 (但是可能不能在某些电脑上读取数据).对GRDB文件的微小损坏也可能不能修复。请使用
GRAMPS 是否支持 Unicode 字体?
支持，GRAMPS内部支持Unicode (UTF-8), 因此所有的字母可以在全域内使用。虽然某些PDF/PS文档你需要与gnome-print或者openoffice配合使用，所有报告都支持Unicode字体。
Linux Genealogy CD 可以作为一个启动光盘，即使你的电脑是Windows系统，你也可以运行Linux和GRAMPS。
Windows installer 也已经可以下载了，虽然我们还没有足够的人手提供对windows系统的支持。 windows mailing list
请参照 GRAMPS_and_Windows 了解在对windows系统中使用的提示集合。
现有版本的GRAMPS不像是由Fink项目维护的，请联系Fink项目了解更多信息。其实，一些用户有一些体会在had success 无论是在本地模式安装还是使用X11并应用一些Fink工具包安装。
What are the Minimum Specs to run GRAMPS?
We would recommend at least an 800x600 video display. For GRAMPS 3.1, the memory requirements have been reduced, and GRAMPS can run quite efficiently on a 256MB system, holding considerably more people. A system with 512MB should be able to hold around 200,000 people. 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 prefered 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, change in the preferences ("Edit->Preferences") the date 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!
Can GRAMPS read files created by other genealogy programs?
Can GRAMPS write files readable 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: GEDCOM5.5, 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 PhpGedView are programs more likely to meet your needs. 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.
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 linux installation. 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 protected]
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 plugin will register itself with GRAMPS, create menu item, and so on.
If you are happy with your plugin and would like to contribute your code back to the GRAMPS project, you are very welcome to do so by contacting us at [email protected]
Database - GRAMPS file formats
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 tens of thousands of people.
How many people can GRAMPS database handle?
See above. Again, this is dependent on how much memory you have, 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.
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/<path> 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?
The best thing you can do is to fix the bug and send the patch to [email protected] :-)
If that is not possible, you should 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.
How can I publish web sites generated by GRAMPS?
Since GRAMPS generates HTML pages, you can upload the pages to your personal web site. If you do not have a personal web site, and still wish to have your pages available on the internet, the GRAMPS project can provide space for you at the http://library.gramps-project.org, see the webhosting article.
How do I submit my pages to the GRAMPS library site (http://library.gramps-project.org)?
If you wish to submit pages to the GRAMPS library site, you will need to contact the GRAMPS project, typically by sending a message to the gramps-users mailing list. You will then be given a username and password that will allow you to upload your files to the site. After you upload the files (in a gzip'ed tar file), the GRAMPS project will install the pages for you on the site.
After I upload my Family Web Page to library.gramps-project.org, is the password used for write privileges only or read privileges?
In order to prevent abuse of the library.gramsp-project.org site, the password given allows uploads only. If you wish to have a username and password combination to restrict read access to your pages, you will need to contact the GRAMPS project, and we could set this up for you. However, the read and write accounts will be separate accounts.
Do I view the Family Web Page with a url into my browser?
Or through a link on a list of Family Web Pages on the GRAMPS-Project.org site? The main page on the library.gramps-project.org site will contain an index of the available family sites. However, there will be a unique URL for each site as well.
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.
How do I change the order of children?
Children can be moved in the Family Editor by dragging and dropping or using the up and down buttons.
How do I change the order of spouses?
Spouses can be reordered from the Relationship View by selecting the 'Reorder' button in the toolbar.