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 5 years ago

Closed 4 years ago

#644 closed defect (fixed)

Registrants to PDF fails when there are large text?

Reported by: jbenito Owned by: arescope
Priority: normal Milestone: v0.97.1
Component: Registration form Version: 0.96.x
Keywords: Cc:

Description

Display all the columns here and export to PDF:

2011-02-04 15:53:37,838 indico.requestHandler - ERROR base.py:326 -- Request 46912689707344 failed: "Flowable <Table@0x2AAAB6F061B8 30 rows x 10 cols> with cell(0,0) containing
'<Paragraph at 0x2aaab5e4b878>Mr. BRINK, Uwe'(685.88976378 x 13770) too large on page 2 in frame 'normal'(685.88976378 x 439.275590551*) of template 'Later'"

url: http://indico.cern.ch/confModifRegistrants.py/action?confId=116306

parameters: {'disp': ['Email', 'Institution', 'Phone', 'City', 'Country', '0-3', '0-4', '0-2', 'ReasonParticipation'], 'reglist': '19,4,15,31,12,21,26,27,28,10,6,16,1,23,30,24,8,29,5,11,3,7,0,22,9,25,17,2,14,13', 'pdf.x': '9', 'sortBy': 'Name', 'pdf.y': '7', 'registrant': ['19', '4', '15', '31', '12', '21', '26', '27', '28', '10', '6', '16', '1', '23', '30', '24', '8', '29', '5', '11', '3', '7', '0', '22', '9', '25', '17', '2', '14', '13'], 'confId': '116306'}

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97.0-py2.4.egg/MaKaC/webinterface/rh/base.py", line 480, in process
    res = self._process()
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97.0-py2.4.egg/MaKaC/webinterface/rh/registrantsModif.py", line 304, in _process
    return r.pdf()
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97.0-py2.4.egg/MaKaC/webinterface/rh/registrantsModif.py", line 373, in pdf
    data = pdf.getPDFBin()
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97.0-py2.4.egg/MaKaC/PDFinterface/base.py", line 379, in getPDFBin
    self._doc.build(self._story, onFirstPage=self.firstPage, onLaterPages=self.laterPages)
  File "/usr/lib/python2.4/site-packages/reportlab/platypus/doctemplate.py", line 1110, in build
    BaseDocTemplate.build(self,flowables, canvasmaker=canvasmaker)
  File "/usr/lib/python2.4/site-packages/reportlab/platypus/doctemplate.py", line 877, in build
    self.handle_flowable(flowables)
  File "/usr/lib/python2.4/site-packages/reportlab/platypus/doctemplate.py", line 793, in handle_flowable
    raise LayoutError(ident)
LayoutError: Flowable <Table@0x2AAAB6F061B8 30 rows x 10 cols> with cell(0,0) containing
'<Paragraph at 0x2aaab5e4b878>Mr. BRINK, Uwe'(685.88976378 x 13770) too large on page 2 in frame 'normal'(685.88976378 x 439.275590551*) of template 'Later'

Change History (5)

comment:1 Changed 5 years ago by jbenito

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

comment:2 Changed 5 years ago by arescope

  • Status changed from assigned to in_work

comment:3 Changed 4 years ago by arescope

  • Status changed from in_work to awaiting_merge

comment:4 Changed 4 years ago by jbenito

  • Status changed from awaiting_merge to merging

comment:5 Changed 4 years ago by jbenito

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