From 3171988dfff9e047967d4a518be40db002236006 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Mon, 19 Dec 2011 18:35:59 +0000 Subject: [PATCH] 4156: Database export crash because of entagled jpeg libraries svn: r18637 --- src/ExportAssistant.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/ExportAssistant.py b/src/ExportAssistant.py index dec6a3271..607108754 100644 --- a/src/ExportAssistant.py +++ b/src/ExportAssistant.py @@ -135,8 +135,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()