#885 closed defect (fixed)
href in pdf generation exception
Reported by: | arescope | Owned by: | arescope |
---|---|---|---|
Priority: | critical | Milestone: | v0.98.1 |
Component: | General | Version: | |
Keywords: | Cc: |
Description
for v0.98b1
2011-07-27 10:12:09,869 indico.requestHandler - ERROR base.py:346 -- Request 46912757987920 failed: "'href'" url: http://indico.cern.ch:80/contributionDisplay.py/pdf?contribId=71&confId=48321 parameters: {'contribId': '71', 'confId': '48321'} Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/rh/base.py", line 528, in process res = self._process() File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/rh/contribDisplay.py", line 105, in _process data = pdf.getPDFBin() File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/PDFinterface/base.py", line 435, in getPDFBin self.getBody() File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/PDFinterface/conference.py", line 756, in getBody p = Paragraph(escape(res), style, part=escape(self._contrib.getTitle())) File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/PDFinterface/base.py", line 175, in __init__ platypus.Paragraph.__init__(self, test, style, bulletText, frags, caseSensitive) File "/usr/lib64/python2.6/site-packages/reportlab/platypus/paragraph.py", line 805, in __init__ self._setup(text, style, bulletText, frags, cleanBlockQuotedText) File "/usr/lib64/python2.6/site-packages/reportlab/platypus/paragraph.py", line 820, in _setup style, frags, bulletTextFrags = _parser.parse(text,style) File "/usr/lib64/python2.6/site-packages/reportlab/platypus/paraparser.py", line 1047, in parse self.feed(text) File "/usr/lib64/python2.6/site-packages/reportlab/lib/xmllib.py", line 562, in finish_starttag self.handle_starttag(tag, method, attrs) File "/usr/lib64/python2.6/site-packages/reportlab/lib/xmllib.py", line 596, in handle_starttag method(attrs) File "/usr/lib64/python2.6/site-packages/reportlab/platypus/paraparser.py", line 627, in start_a A.pop('href') KeyError: 'href'
Change History (5)
comment:1 Changed 4 years ago by arescope
- Owner set to arescope
- Status changed from new to assigned
comment:2 Changed 4 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 Alberto Resco Perez <alberto.resco.perez@…>
- Resolution set to fixed
- Status changed from awaiting_merge to closed
comment:5 Changed 4 years ago by Alberto Resco Perez <alberto.resco.perez@…>
Note: See
TracTickets for help on using
tickets.
In [f42ec62ef29f1775aa675fafcf2c86b1230e73c1/indico]: