This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 6 years ago

Closed 5 years ago

#252 closed defect (fixed)

Incompatible changes in reportlab-2.4 API

Reported by: vokac Owned by: irolewic
Priority: normal Milestone: v0.97.0
Component: General Version: 0.97.0
Keywords: Cc:

Description

Without this patch Indico can't generate PDF with selected conference abstracts when it is using reportlab-2.4.

diff -NPur MaKaC.orig/PDFinterface/base.py MaKaC/PDFinterface/base.py
--- MaKaC.orig/PDFinterface/base.py     2010-01-08 17:34:42.000000000 +0100
+++ MaKaC/PDFinterface/base.py  2010-03-01 20:09:23.000000000 +0100
@@ -445,7 +445,7 @@
             self.pageTemplates[0].beforeDrawPage = self.onFirstPage
         if onLaterPages is _doNothing and hasattr(self,'onLaterPages'):
             self.pageTemplates[1].beforeDrawPage = self.onLaterPages
-        SimpleDocTemplate.multiBuild(self, story, self._filename, canvasMaker, maxPasses)
+        SimpleDocTemplate.multiBuild(self, story, maxPasses=maxPasses, canvasmaker=canvasMaker)
     
     def getCurrentPart(self):
         return self._part

Change History (3)

comment:1 Changed 5 years ago by irolewic

  • Owner set to irolewic
  • Status changed from new to assigned

comment:2 Changed 5 years ago by irolewic

  • Status changed from assigned to accepted

comment:3 Changed 5 years ago by jbenito

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.