[Zope] Re: PageTemplates len() of unsized object

2008-05-28 Thread Philipp von Weitershausen
Dieter Maurer wrote: Giampiero Benvenuti wrote at 2008-5-24 11:47 +0200: ... after the upgrade from zope2.9.7 to 2.10.6 i get this error in the event log: 2008-05-24T09:31:32 ERROR Zope.SiteErrorLog http://myurl/error_log/manage_main Traceback (innermost last): Module ZPublisher.Publish, l

Re: [Zope] PageTemplates len() of unsized object

2008-05-28 Thread Giampiero Benvenuti
Thanks Dieter, I was able to "solve" the problem by uninstalling all the products. By trial and error I found out the problem was caused by the Placeless Translation Service product. Maybe there was some dependency from something else; I can't tell. I just got rid of it and now everything

Re: [Zope] PageTemplates len() of unsized object

2008-05-28 Thread Dieter Maurer
Giampiero Benvenuti wrote at 2008-5-24 11:47 +0200: > ... >after the upgrade from zope2.9.7 to 2.10.6 i get this error in the >event log: > >2008-05-24T09:31:32 ERROR Zope.SiteErrorLog http://myurl/error_log/manage_main >Traceback (innermost last): > Module ZPublisher.Publish, line 119, in publ

Re: [Zope] Multithreading sessions

2008-05-28 Thread Dieter Maurer
Jon Emmons wrote at 2008-5-23 08:58 -0400: > ... >I am running zope 2.9.4 and have observed that it will not simultaneously >serve pages to my users. Usually, it does. I have seen database adapter packages (an old "psycopg" version, to be precise) that forgot to release the GIL for some operation

Re: [Zope] Multithreading sessions

2008-05-28 Thread Jon Emmons
Jens, Thanks for your input. Unfortunately, I am out of the office this week. When I return I will be trying to resolve this issue. I don't believe it has squat to do with my Database at all, so I will be setting up some scenarios where I am making simultaneous requests, requiring no DB access.

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 whi

[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 Is

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 Descri

Re: [Zope] buildout for plone2.5: paster creates bad zcml

2008-05-28 Thread robert rottermann
for the record: I found a way to fix this by using a newer five versin. I added: urls = http://codespeak.net/z3/five/release/Five-1.4.4.tgz in the buildout.cfg. it would be much nicer, to have the buildout recipes fixed robert robert rottermann schrieb: Hi there, I try to use paster for a p

[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 i

[Zope] buildout for plone2.5: paster creates bad zcml

2008-05-28 Thread robert rottermann
Hi there, I try to use paster for a plone 2.5 site. this is what I have done: paster create -t plone2.5_buildout plone2 executed bootstrap and buildout then in src: paster create -t plone2.5_theme x.y which I added to the buildout.cfg like so: [buildout] ... eggs = elementtree x.y develo