[Zope] Saving PIL Images on zope

2008-05-28 Thread Gaurav Girotra
I am using Plone3 and zope 2.10, I need to save PIL images generated through MatplotLib Graphs using External Methods to my zope site I have used addImage(self,'%s' % img_id, title = '%s' % img_id, file=image_data.getvalue() ) which adds image as a content type and also on the current context

Re: [Zope] saving PIL Images

2008-05-28 Thread Andreas Jung
--On 28. Mai 2008 15:01:56 +0530 Gaurav Girotra [EMAIL PROTECTED] wrote: Can anyone Help me in saving images to the file system. Pretty easy: fix your file permissions. If your zope process should write to the filesystem then the directory must be writable. -aj pgpMbn5l12xbZ.pgp

Re: [Zope] saving PIL Images

2008-05-28 Thread Peter Bengtsson
2008/5/28 Gaurav Girotra [EMAIL PROTECTED]: Hello I am using Plone3 and zope 2.10, I need to save images generated through MatplotLib Graphs using External Methods to my zope site or to my linux file system. When i try to save using im.save(/zope/zeocluster/Extemsions) Been a while but

[Zope] saving PIL Images

2008-05-28 Thread Gaurav Girotra
Hello I am using Plone3 and zope 2.10, I need to save images generated through MatplotLib Graphs using External Methods to my zope site or to my linux file system. When i try to save using im.save(/zope/zeocluster/Extemsions) folder i get Permission denied error. Can anyone Help me in saving