[reportlab-users] Error reporting: please say what image is failing

Robin Becker robin at reportlab.com
Thu Mar 18 08:33:12 EDT 2010


On 18/03/2010 12:18, Roberto Alsina wrote:

> On Thursday 18 March 2010 09:12:15 Roberto Alsina wrote:

>> On Thursday 18 March 2010 08:04:29 Robin Becker wrote:

>>>> Roberto, how should rst2pdf behave if an image is missing? Should it

>>>> fail on first error, or does it have any modes to continue-but-warn,

>>>> or put dummy image placeholders in the PDF? You probably have

>>>> issues we have had in the past with RML...

>>>

>>> Looking in the ImageReader code there is a specific exception being made

>>> for PIL 1.1.7 because that did cause a problem with split ie

>>>

>>> if mode=='RGBA':

>>> if Image.VERSION.startswith('1.1.7'): im.load()

>>> self._dataA = ImageReader(im.split()[3])

>>> im = im.convert('RGB')

>>> self.mode = 'RGB'

>>>

>>> can we find some details on the PIL version etc etc.

>>

>> I think this specific problem is that one (the split in .png images bug in

>> PIL 1.1.7). At least I haven't seen it anywhere else.

>

> I forgot: and upgrading to RL 2.4 fixed it.

.......

so is this specific problem fixed?
--
Robin Becker


More information about the reportlab-users mailing list