[Bug 53113] Re: After installing Gramps, double-clicking .grdb file gives "Couldn't display" error

2006-10-09 Thread Alexander Roitman
As Albert Wagner noticed: = It also installed the following item in ~/.local/share/mime/application/x-extension-grdb.xml: http://www.freedesktop.org/standards/shared-mime-info"; type="application/x-extension-grdb"> grdb document and the following in ~/

[Bug 56642] Re: MIME type incorrect

2006-10-09 Thread Alexander Roitman
*** This bug is a duplicate of bug 53113 *** See comments in the dupe. In short, the mime type setup is broken, because the update-mime-database for some reason inserts bogus entries under ~/.local that shadow the properly registered types in /usr Please contact [EMAIL PROTECTED] or #gramps on ir

[Bug 53113] Re: After installing Gramps, double-clicking .grdb file gives "Couldn't display" error

2006-10-11 Thread Alexander Roitman
More news from Albert: I think that update-mime-database creates Override.xml because I deleted it, ran "update-mime-database /usr/share/mime" and then noticed that a new version of Override.xml had appeared: Does this ring the bell with anybody? -- After installing Gramps, double-clicking .

[Bug 53113] Re: After installing Gramps, double-clicking .grdb file gives "Couldn't display" error

2006-10-11 Thread Alexander Roitman
Seems like something in gnome does this: http://www.gnome.org/~jrb/files/mime/ Not sure if this is nautilus or some other part of gnome. -- After installing Gramps, double-clicking .grdb file gives "Couldn't display" error https://launchpad.net/bugs/53113 -- ubuntu-bugs mailing list ubuntu

[Bug 120569] Re: [gutsy] gramps segfaults on load, and dumps

2007-06-25 Thread Alexander Roitman
This is most likely to be the gtkspell problem. If you can reproduce the gramps crash, try running the code below in terminal, without gramps. It should not crash if there's no bug. If this crashes then it's a gtkspell bug. $ python >>> import gtk >>> import gtkspell >>> import locale >>> lang = l

[Bug 120569] Re: [gutsy] gramps segfaults on load, and dumps

2007-06-26 Thread Alexander Roitman
Duncan, It was meant to be typed in, it is only a few lines. If you want to cut/paste, here it is: 1. First start python 2. Run the stuff below import gtk import gtkspell import locale lang = locale.getlocale()[0] if lang == None: print "lang is None" else: gtkspell.Spell(gtk.TextView()).set_lan

[Bug 120569] Re: [gutsy] gramps segfaults on load, and dumps

2007-06-26 Thread Alexander Roitman
It's not bad news for gramps. It clearly demonstrates the issue with "gtkspell" python module. Guessing from my past experience with this on Debian, it is not because of the python bindings but rather in gtkspell itself. However, I am not 100% sure, it's just a guess. -- [gutsy] gramps segfaults

[Bug 120569] Re: [gutsy] gramps segfaults on load, and dumps

2007-06-28 Thread Alexander Roitman
I don't think there's an "if" here. The python script is pretty short, and the only thing that could have crashed it is "gtkspell" python module. This can be either a problem with python bindings for gtkspell: package python-gnome2-extras Or this can be a gtkspell library problem: package libgtks

[Bug 120569] Re: [gutsy] gramps segfaults on load, and dumps

2007-06-28 Thread Alexander Roitman
Can you try this script instead of gramps? Just run $ strace python test.py with the attached test.py file. This script has nothing to do with gramps and should crash just the same. Just to show that this is not a gramps issue and should be dealt with by gtkspell folks. ** Attachment added: "Te

[Bug 120569] Re: [gutsy] gramps segfaults on load, and dumps

2007-06-28 Thread Alexander Roitman
Looks like same crash to me. Can we please drop the gramps thing now and work with the script? This issue just happened to cause gramps to crash too, but this is not gramps problem. The script demonstrates it clearly :-) ** Summary changed: - [gutsy] gramps segfaults on load, and dumps + [gutsy]