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 首选项
- 4 Collaboration-Portability
- 5 报告单
- 5.1 GRAMPS 是否能为我的家族打印一个家谱树？
- 5.2 GRAMPS可以输出何种格式的报告单？
- 5.3 我如何更改报告的默认语言？
- 5.4 GRAMPS是否与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工具包安装。
我们建议最低显卡像素为 800x600 。 对于版本 GRAMPS 3.1，内存需求已经被削减，它可以有效的运行在256MB内存的系统中。如果系统有512MB的内存，则可以同时运行200，000人的数据。对于典型的数据库，数据库所占的磁盘空间相应的也变大了。针对120,000人来讲，你必须考虑有530MB的数据库空间。图片应该分开存放，因此大容量的硬盘空间十分有必要。
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.
我可以将日期格式修改为‘日 月 年’吗？
可以，在选项中修改("编辑->首选项")的GRAMPS日期到所期望的格式(比如：YYYY-MM-DD 或者 日 月 年)，并制作报告。可是使用全局日期选项。
GRAMPS 努力维护与GEDCOM的兼容性（通用的记录族谱信息的格式）。我们有导入和导出的过滤器可以允许GRAMPS读写 GEDCOM 文档。
事实上，GEDCOM的标准并未能得到很好的执行 -- 每个家谱软件都有它喜爱的GEDCOM文档标准。而我们也不断学习新的标准，不断更新导入/导出过滤器。然而，一旦发现未知的标准请咨询user feedback。请随时联系我们，并告知关于GRAMPS不支持的GEDCOM格式，我们将会尽我们努力改进。
最好的标准就是什么都不缺。GRAMPS已经被验证支持以下类型的GEDCOM格式： GEDCOM5.5, Brother's Keeper, Family Origins, Family Tree Maker, Ftree, GeneWeb, Legacy, Personal Ancestral File, Pro-Gen, Reunion, and Visual Genealogie.
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.
文本报告单： HTML,PDF,ODT,LaTeX 和RTF格式。 图形报告单（图表与图）：PostScript,PDF,SVG,ODS 和GraphViz格式。
报告单的语言与你所安装的linux系统有关。你可以安装扩展语言包，请参照Howto: Change the language of reports
GRAMPS 可以存储WEB地址并引导浏览器打开。 它可以导入你从互联网下载的数据。它可以将数据导出以便于你通过互联网传输。GRAMPS兼容互联网常用的标准格式（如JPEG, PNG, and GIF images, MP3, OGG, 和 WAV sound files, QuickTime, MPEG, 以及 AVI movie files, 等)。除此以外，就很少是家谱软件可以作的了。
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.
儿女的次序可以通过在 Family Editor 菜单中实现，具体可通过拖放或者上下移动按钮实现。
配偶可以被重新排序，是在 Relationship View 工具条中选择 'Reorder' 按钮。