From b5c63cf62569b237dd09eaaaef816166c7b3936c Mon Sep 17 00:00:00 2001 From: Martin Hawlisch Date: Wed, 27 Apr 2005 18:28:45 +0000 Subject: [PATCH] * src/gramps_main.py (__init__): Avoid TypeError in schema error message svn: r4433 --- gramps2/ChangeLog | 4 ++++ gramps2/src/gramps_main.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 29f5b93a9..9b2629692 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2005-04-27 Martin Hawlisch + * src/gramps_main.py (__init__): Avoid TypeError in schema error + message + 2005-04-26 Martin Hawlisch * src/EditPerson.py (on_apply_person_clicked): Fix crash when changing gender caused by a family handle/object mismatch diff --git a/gramps2/src/gramps_main.py b/gramps2/src/gramps_main.py index f78d7c2fa..e386bc30f 100755 --- a/gramps2/src/gramps_main.py +++ b/gramps2/src/gramps_main.py @@ -164,7 +164,7 @@ class Gramps(GrampsDBCallback.GrampsDBCallback): except Errors.GConfSchemaError, val: ErrorDialog(_("Configuration error"), - val + _("\n\nPossibly the installation of GRAMPS was incomplete." + str(val) + _("\n\nPossibly the installation of GRAMPS was incomplete." " Make sure the GConf schema of GRAMPS is properly installed.")) gtk.main_quit() return