From dc4061b4101613864d09761b0cf51bb5420ff7a8 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Mon, 19 Dec 2011 18:35:23 +0000 Subject: [PATCH] 4156: Database export crash because of entagled jpeg libraries svn: r18636 --- src/ExportAssistant.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/ExportAssistant.py b/src/ExportAssistant.py index 23eb27352..2a9d0f9cd 100644 --- a/src/ExportAssistant.py +++ b/src/ExportAssistant.py @@ -137,8 +137,15 @@ class ExportAssistant(gtk.Assistant, ManagedWindow.ManagedWindow) : if not self.person: self.person = self.dbstate.db.find_initial_person() - self.logo = gtk.gdk.pixbuf_new_from_file(_gramps_png) - self.splash = gtk.gdk.pixbuf_new_from_file(_splash_jpg) + try: + self.logo = gtk.gdk.pixbuf_new_from_file(_gramps_png) + except: + self.logo = None + try: + self.splash = gtk.gdk.pixbuf_new_from_file(_splash_jpg) + except: + self.splash = None + pmgr = GuiPluginManager.get_instance() self.__exporters = pmgr.get_export_plugins()