After installing Gramps, double-clicking .grdb file gives "Couldn't display" error
Bug #53113 reported by
Matthew Paul Thomas
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gramps (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Gramps 2.0.11, Ubuntu 6.06
1. Install Gramps, and create a Gramps database.
2. Close Gramps.
3. Double-click on the database file.
What should happen: It opens.
What actually happens: "Couldn't display "/home/
There seems to be no application associated with the filetype, which is odd since the file has the correct Gramps icon.
Comment from Albert Wagner: The packager of GRAMPS should contact the GRAMPS project for help in properly packaging GRAMPS. As Matthew reports above, the new mimetypes are improperly installed in Ubuntu 6.0.6, giving the new user a bad impression and improperly blaming the GRAMPS project.
description: | updated |
To post a comment you must log in.
As Albert Wagner noticed: share/mime/ application/ x-extension- grdb.xml:
=============
It also installed the following item in
~/.local/
<?xml version="1.0" encoding="utf-8"?> www.freedesktop .org/standards/ shared- mime-info" on/x-extension- grdb"> mime-database. DO NOT EDIT!-->
<mime-type xmlns="http://
type="applicati
<!--Created automatically by update-
<comment>grdb document</comment>
</mime-type>
and the following in ~/.local/ share/mime/ packages/ Override. xml:
<?xml version="1.0" encoding="UTF-8"?> www.freedesktop .org/standards/ shared- mime-info"> on/x-extension- grdb">< comment> grdb /comment> <glob pattern= "*.grdb" /></mime- type>
<mime-info xmlns="http://
<mime-type type="applicati
document<
</mime-info>
=============
What happens is that the gramps's files with the .grdb extension are now seen as having the mime type of application/ x-extension- grdb instead of intended application/ x-gramps type.
Why on earth would the update- mime-database auto-screwed up the mime types that we properly register in gramps? This is a major problem, as most users rely on format autodetection and that is done in gramps throug mime types.
Please contact <email address hidden> or #gramps on irc.freenode.net
A lot of gramps users run Ubuntu. This pulls the floor from under them.