Text comprehensive Ancestry File

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Text comprehensive Ancestry File

Rob G. Healey
GRAMPS has encountered an internal error.
Please copy the message below and post a bug report
at http://sourceforge.net/projects/gramps or send an
email message to [hidden email]

GRAMPS : 2.0.8-1
LANG : en_US.UTF-8
Python : 2.4.1 final
GTK : 2.6.7
PyGTK : 2.6.2
OS : Fedora Core release 4 (Stentz)

Traceback (most recent call last):
  File "/usr/share/gramps/docgen/PdfDoc.py", line 178, in close
    self.doc.build(self.story)
  File "/usr/share/gramps/docgen/PdfDoc.py", line 77, in build
    BaseDocTemplate.build(self,flowables)
  File
"/usr/lib/python2.4/site-packages/reportlab/platypus/doctemplate.py",
line 644, in build
    self.handle_flowable(flowables)
  File
"/usr/lib/python2.4/site-packages/reportlab/platypus/doctemplate.py",
line 562, in handle_flowable
    if self.frame.add(f, self.canv, trySplit=self.allowSplitting):
  File "/usr/lib/python2.4/site-packages/reportlab/platypus/frames.py",
line 124, in _add
    w, h = flowable.wrap(aW, h)
  File "/usr/lib/python2.4/site-packages/reportlab/platypus/tables.py",
line 791, in wrap
    self._calc(availWidth, availHeight)
  File "/usr/lib/python2.4/site-packages/reportlab/platypus/tables.py",
line 452, in _calc
    self._calc_height(availHeight,availWidth,W=W)
  File "/usr/lib/python2.4/site-packages/reportlab/platypus/tables.py",
line 407, in _calc_height
    dW,t = self._listCellGeom(v,w,s)
  File "/usr/lib/python2.4/site-packages/reportlab/platypus/tables.py",
line 295, in _listCellGeom
    vw, vh = v.wrapOn(canv,aW, aH)
  File
"/usr/lib/python2.4/site-packages/reportlab/platypus/flowables.py", line
108, in wrapOn
    w, h = self.wrap(aW,aH)
  File
"/usr/lib/python2.4/site-packages/reportlab/platypus/flowables.py", line
360, in wrap
    return (self.drawWidth, self.drawHeight)
  File
"/usr/lib/python2.4/site-packages/reportlab/platypus/flowables.py", line
354, in __getattr__
    self._setup_inner()
  File
"/usr/lib/python2.4/site-packages/reportlab/platypus/flowables.py", line
334, in _setup_inner
    if img: self.imageWidth, self.imageHeight = img.getSize()
  File "/usr/lib/python2.4/site-packages/reportlab/lib/utils.py", line
530, in getSize
    if (self._width is None or self._height is None):
AttributeError: ImageReader instance has no attribute '_width'


robhealey.vcf (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Text comprehensive Ancestry File

Don Allingham
It looks as if there is a problem with the python-reportlab library. I
would recommend either using the Print interface (if gnome-python2-
gnomeprint or gnome-python2-extras is installed), or generating an
OpenOffice.org document and converting to PDF.

This problem seems to be coming from the ReportLab libraries, which are
not under our control.

Don


On Tue, 2005-09-06 at 20:40 -0700, Rob G. Healey wrote:

> GRAMPS has encountered an internal error.
> Please copy the message below and post a bug report
> at http://sourceforge.net/projects/gramps or send an
> email message to [hidden email]
>
> GRAMPS : 2.0.8-1
> LANG : en_US.UTF-8
> Python : 2.4.1 final
> GTK : 2.6.7
> PyGTK : 2.6.2
> OS : Fedora Core release 4 (Stentz)
>
> Traceback (most recent call last):
>   File "/usr/share/gramps/docgen/PdfDoc.py", line 178, in close
>     self.doc.build(self.story)
>   File "/usr/share/gramps/docgen/PdfDoc.py", line 77, in build
>     BaseDocTemplate.build(self,flowables)
>   File
> "/usr/lib/python2.4/site-packages/reportlab/platypus/doctemplate.py",
> line 644, in build
>     self.handle_flowable(flowables)
>   File
> "/usr/lib/python2.4/site-packages/reportlab/platypus/doctemplate.py",
> line 562, in handle_flowable
>     if self.frame.add(f, self.canv, trySplit=self.allowSplitting):
>   File "/usr/lib/python2.4/site-packages/reportlab/platypus/frames.py",
> line 124, in _add
>     w, h = flowable.wrap(aW, h)
>   File "/usr/lib/python2.4/site-packages/reportlab/platypus/tables.py",
> line 791, in wrap
>     self._calc(availWidth, availHeight)
>   File "/usr/lib/python2.4/site-packages/reportlab/platypus/tables.py",
> line 452, in _calc
>     self._calc_height(availHeight,availWidth,W=W)
>   File "/usr/lib/python2.4/site-packages/reportlab/platypus/tables.py",
> line 407, in _calc_height
>     dW,t = self._listCellGeom(v,w,s)
>   File "/usr/lib/python2.4/site-packages/reportlab/platypus/tables.py",
> line 295, in _listCellGeom
>     vw, vh = v.wrapOn(canv,aW, aH)
>   File
> "/usr/lib/python2.4/site-packages/reportlab/platypus/flowables.py", line
> 108, in wrapOn
>     w, h = self.wrap(aW,aH)
>   File
> "/usr/lib/python2.4/site-packages/reportlab/platypus/flowables.py", line
> 360, in wrap
>     return (self.drawWidth, self.drawHeight)
>   File
> "/usr/lib/python2.4/site-packages/reportlab/platypus/flowables.py", line
> 354, in __getattr__
>     self._setup_inner()
>   File
> "/usr/lib/python2.4/site-packages/reportlab/platypus/flowables.py", line
> 334, in _setup_inner
>     if img: self.imageWidth, self.imageHeight = img.getSize()
>   File "/usr/lib/python2.4/site-packages/reportlab/lib/utils.py", line
> 530, in getSize
>     if (self._width is None or self._height is None):
> AttributeError: ImageReader instance has no attribute '_width'
>
--
Don Allingham <[hidden email]>

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Text comprehensive Ancestry File

Alex Roitman
In reply to this post by Rob G. Healey
Rob,

On Tue, 2005-09-06 at 20:40 -0700, Rob G. Healey wrote:
> GRAMPS : 2.0.8-1
[snip]
>   File "/usr/lib/python2.4/site-packages/reportlab/lib/utils.py", line
> 530, in getSize
>     if (self._width is None or self._height is None):
> AttributeError: ImageReader instance has no attribute '_width'

Could you please send me the data that reproduces the problem?

Thanks,
Alex

--
Alexander Roitman   http://www.gramps-project.org

signature.asc (196 bytes) Download Attachment