From: Frode J. <fro...@sk...> - 2007-01-19 17:27:34
|
User Information:=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I was trying to run the detailed ancestor report. I got the error when I hi= t=20 the OK button when I was finished setting the preferences for the report. The report file was not created. Error Details:=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 20671483: ERROR: __init__.py: line 1072: Failed to run report. Traceback (most recent call last): File "/usr/share/gramps/ReportBase/_ReportDialog.py", line 656, in report MyReport.end_report() File "/usr/share/gramps/ReportBase/_Report.py", line 80, in end_report self.doc.close() File "/usr/share/gramps/docgen/PdfDoc.py", line 205, in close self.doc.build(self.story) File "/usr/share/gramps/docgen/PdfDoc.py", line 113, in build BaseDocTemplate.build(self,flowables) File "/usr/lib/python2.4/site-packages/reportlab/platypus/doctemplate.py"= ,=20 line 702, in build self.handle_flowable(flowables) File "/usr/lib/python2.4/site-packages/reportlab/platypus/doctemplate.py"= ,=20 line 617, in handle_flowable if self.frame.add(f, self.canv, trySplit=3Dself.allowSplitting): File "/usr/lib/python2.4/site-packages/reportlab/platypus/frames.py", lin= e=20 149, in _add flowable.drawOn(canv, self._x + self._leftExtraIndent, y, _sW=3DaW-w) File "/usr/lib/python2.4/site-packages/reportlab/platypus/flowables.py",= =20 line 103, in drawOn self._drawOn(canvas) File "/usr/lib/python2.4/site-packages/reportlab/platypus/flowables.py",= =20 line 88, in _drawOn self.draw()#this is the bit you overload File "/usr/lib/python2.4/site-packages/reportlab/platypus/flowables.py",= =20 line 381, in draw mask=3Dself._mask, File "/usr/lib/python2.4/site-packages/reportlab/pdfgen/canvas.py", line= =20 584, in drawImage rawdata =3D image.getRGBData() AttributeError: 'unicode' object has no attribute 'getRGBData' System Information:=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Python version: 2.4.4 (#2, Oct 20 2006, 00:23:25) [GCC 4.1.2 20061015=20 (prerelease) (Debian 4.1.1-16.1)]=20 BSDDB version: 4.3.0.3=20 Gramps version: 2.2.3-1=20 LANG: nb_NO.UTF-8 OS: Linux Distribution: 2.6.18-3-686 =2D-=20 =2DFrode The law will never make men free; it is men who have got to make the law fr= ee. -- Henry David Thoreau |