Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321397 - dev-python/reportlab-2.4 fails to build the userguide
Summary: dev-python/reportlab-2.4 fails to build the userguide
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-25 04:03 UTC by Denilson Sá Maia
Modified: 2013-01-22 20:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,4.58 KB, text/plain)
2010-05-25 04:03 UTC, Denilson Sá Maia
Details
dev-python:reportlab-2.4 build log (20100525-035036.log,75.58 KB, text/plain)
2010-05-25 04:05 UTC, Denilson Sá Maia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denilson Sá Maia 2010-05-25 04:03:06 UTC
By emerging reportlab-2.4 with either +doc or +test, it fails to build the userguide PDF. This is the relevant error message:


/usr/bin/python2.6 genuserguide.py 
Built story contains 1728 flowables...
Traceback (most recent call last):
  File "genuserguide.py", line 104, in <module>
    main()
  File "genuserguide.py", line 102, in main
    run(pagesize, verbose,outDir)
  File "genuserguide.py", line 58, in run
    doc.multiBuild(story)
  File "/usr/lib64/python2.6/site-packages/reportlab/platypus/doctemplate.py", line 855, in multiBuild
    self.build(tempStory, filename, canvasmaker)
  File "/usr/lib64/python2.6/site-packages/reportlab/platypus/doctemplate.py", line 777, in build
    self.handle_flowable(flowables)
  File "/usr/lib64/python2.6/site-packages/reportlab/platypus/doctemplate.py", line 665, in handle_flowable
    if frame.add(f, canv, trySplit=self.allowSplitting):
  File "/usr/lib64/python2.6/site-packages/reportlab/platypus/frames.py", line 174, in _add
    flowable.drawOn(canv, self._x + self._leftExtraIndent, y, _sW=aW-w)
  File "/usr/lib64/python2.6/site-packages/reportlab/platypus/flowables.py", line 105, in drawOn
    self._drawOn(canvas)
  File "/usr/lib64/python2.6/site-packages/reportlab/platypus/flowables.py", line 89, in _drawOn
    self.draw()#this is the bit you overload
  File "/usr/lib64/python2.6/site-packages/reportlab/platypus/figures.py", line 96, in draw
    self.drawFigure()
  File "/var/tmp/portage/dev-python/reportlab-2.4/work/ReportLab_2_4/tools/docco/rl_doc_utils.py", line 246, in drawFigure
    self.operation(self.canv)
  File "<string>", line 4, in alpha
TypeError: __init__() got an unexpected keyword argument 'alpha'
Comment 1 Denilson Sá Maia 2010-05-25 04:03:40 UTC
Created attachment 232811 [details]
emerge --info

emerge --info
Comment 2 Denilson Sá Maia 2010-05-25 04:05:54 UTC
Created attachment 232815 [details]
dev-python:reportlab-2.4 build log

dev-python:reportlab-2.4 build log
Comment 3 Denilson Sá Maia 2010-05-25 04:08:13 UTC
(In reply to comment #2)
> Created an attachment (id=232815) [details]
> dev-python:reportlab-2.4 build log

Forgot to mention... This build log uses the a "fixed" version of the ebuild, as described in bug 318233 comment 3
Comment 4 Mike Gilbert gentoo-dev 2013-01-22 20:45:28 UTC
Seems to be fixed in reportlab-2.5+.