diff --git a/ChangeLog b/ChangeLog index 7921d37bf..4ac9923c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2005-04-27 Martin Hawlisch * src/gramps_main.py (__init__): Avoid TypeError in schema error - message + message + * src/StartupDialog.py (__init__): Catch Schema errors 2005-04-26 Alex Roitman * NEWS, configure.in, src/EditPerson.py, src/EditSource.py, diff --git a/src/StartupDialog.py b/src/StartupDialog.py index 0fbfb5fc4..f6f84c210 100644 --- a/src/StartupDialog.py +++ b/src/StartupDialog.py @@ -27,6 +27,7 @@ import gnome import gnome.ui import GrampsKeys +from QuestionDialog import ErrorDialog from gettext import gettext as _ @@ -51,10 +52,18 @@ class StartupDialog: d = gnome.ui.Druid() self.w.add(d) - d.add(self.build_page1()) - d.add(self.build_page2()) - d.add(self.build_page5()) - d.add(self.build_page_last()) + try: + d.add(self.build_page1()) + d.add(self.build_page2()) + d.add(self.build_page5()) + d.add(self.build_page_last()) + except: + ErrorDialog(_("Configuration error"), + _("\n\nPossibly the installation of GRAMPS was incomplete." + " Make sure the GConf schema of GRAMPS is properly installed.")) + gtk.main_quit() + return + d.connect('cancel',self.close) self.w.connect("delete_event", gtk.main_quit)