diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 2ba9253d4..6779fd9e1 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2006-06-24 Brian Matherly + * src/plugins/BookReport.py: fix book loading + 2006-06-24 Alex Roitman * src/ReportBase/_ReportDialog.py (report): Handle wm closing. * src/plugins/GraphViz.py (GraphVizDialog.__init__): Handle wm @@ -5,7 +8,7 @@ * src/plugins/NarrativeWeb.py (WebReportDialog.__init__): Handle wm closing. -2006-06-25 Brian Matherly +2006-06-24 Brian Matherly * src/plugins/AncestorChart2.py: fix comment * src/plugins/DecendChart.py: fix comment * src/plugins/TimeLine.py: Remove Title option @@ -13,7 +16,7 @@ 2006-06-24 Alex Roitman * debian/control (Build-Depends-Indep): Add xsltproc -2006-06-25 Brian Matherly +2006-06-24 Brian Matherly * src/docgen/ODFDoc.py: Handle exception when file is not writeable * src/docgen/ODSDoc.py: Handle exception when file is not writeable * src/docgen/OpenOfficeDoc.py: Handle exception when file is not writeable diff --git a/gramps2/src/plugins/BookReport.py b/gramps2/src/plugins/BookReport.py index 016c52cc2..c4357c806 100644 --- a/gramps2/src/plugins/BookReport.py +++ b/gramps2/src/plugins/BookReport.py @@ -400,7 +400,7 @@ class BookList: try: p = make_parser() p.setContentHandler(BookParser(self)) - p.parse("file://" + self.file) + p.parse(self.file) except (IOError,OSError,SAXParseException): pass @@ -726,10 +726,10 @@ class BookReportSelector(ManagedWindow.ManagedWindow): data = [ item.get_translated_name(), item.get_category(), item.get_name() ] if data[2] in ('simple_book_title','custom_text'): - data.append(_("Not Applicable")) + data[2]=(_("Not Applicable")) else: pname = self.db.get_person_from_gramps_id(person_id) - data.append(pname.get_primary_name().get_regular_name()) + data[2]=(pname.get_primary_name().get_regular_name()) self.bk_model.add(data) def on_add_clicked(self,obj):