[reportlab-users] renderPM 'module' object has no attribute 'saveToFile'

Robin Becker robin at reportlab.com
Mon Jul 10 08:52:56 EDT 2006


Robin Becker wrote:
> Genís Pujol wrote:
>> Hello,
>>
>>  
>>
>> I've just installed reportlab and the PM plugin, but when I try to 
>> execute a sample script I found in the documentation, I get the 
>> following error:
>>
.......I forgot to say thanks for the report and it's fixed in SVN now.
> or
> 
> d.save(formats=['PNG'],outDir='.',fnRoot='example1')

this won't actually work as that needs 'png'. Probably should allow upper case 
as well.

> 
> the latter is more useful if saving more than one format eg PDF & PNG. 
> Also there's a useful py format which saves the low level drawing 
> operations needed to create your drawing.


-- 
Robin Becker


More information about the reportlab-users mailing list