[Zope-dev] Caching ZCatalog results

2007-02-23 Thread Roché Compaan
I'm curious, has anybody played around with the idea of caching ZCatalog results and if I submitted a patch to do this would it be excepted? I quickly coded some basic caching of results on a volatile attribute and I was really surprised with the amount of cache hits I got (especially with a

[Zope-dev] Re: Caching ZCatalog results

2007-02-23 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roché Compaan wrote: I'm curious, has anybody played around with the idea of caching ZCatalog results and if I submitted a patch to do this would it be excepted? I quickly coded some basic caching of results on a volatile attribute and I was

[Zope-dev] Zope Tests: 7 OK

2007-02-23 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Thu Feb 22 12:00:00 2007 UTC to Fri Feb 23 12:00:00 2007 UTC. There were 7 messages: 7 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.6 Python-2.1.3 : Linux From: Zope Unit Tests Date: Thu Feb 22 21:07:07 EST 2007

[Zope-dev] Uploading the Installer for Windows

2007-02-23 Thread Sidnei da Silva
Someone volunteered to test and upload the Zope Installer for Windows when one was ready. I believe Chris Withers was the vict..^H^H volunteer. There's an installer ready for testing over here: http://files.enfoldsystems.com/Zope-2.10.2-Final-6947.exe Thanks! -- Sidnei da Silva Enfold Systems

Re: [Zope-dev] Re: Caching ZCatalog results

2007-02-23 Thread Roché Compaan
On Fri, 2007-02-23 at 06:55 -0500, Tres Seaver wrote: Roché Compaan wrote: I'm curious, has anybody played around with the idea of caching ZCatalog results and if I submitted a patch to do this would it be excepted? I quickly coded some basic caching of results on a volatile attribute

Re: [Zope-dev] Re: Caching ZCatalog results

2007-02-23 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roché Compaan wrote: On Fri, 2007-02-23 at 06:55 -0500, Tres Seaver wrote: Roché Compaan wrote: I'm curious, has anybody played around with the idea of caching ZCatalog results and if I submitted a patch to do this would it be excepted? I

Re: [Zope-dev] Re: Caching ZCatalog results

2007-02-23 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: Roché Compaan wrote: On Fri, 2007-02-23 at 06:55 -0500, Tres Seaver wrote: Roché Compaan wrote: I'm curious, has anybody played around with the idea of caching ZCatalog results and if I submitted a patch to do this would it be

Re: [Zope-dev] Re: Caching ZCatalog results

2007-02-23 Thread Roché Compaan
On Fri, 2007-02-23 at 12:09 -0500, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: Roché Compaan wrote: On Fri, 2007-02-23 at 06:55 -0500, Tres Seaver wrote: Roché Compaan wrote: I'm curious, has anybody played around with the idea of caching

[Zope-dev] Re: Caching ZCatalog results

2007-02-23 Thread Philipp von Weitershausen
Tres Seaver wrote: Tres Seaver wrote: Roché Compaan wrote: On Fri, 2007-02-23 at 06:55 -0500, Tres Seaver wrote: Roché Compaan wrote: I'm curious, has anybody played around with the idea of caching ZCatalog results and if I submitted a patch to do this would it be excepted? I quickly coded

Re: [Zope-dev] Re: Caching ZCatalog results

2007-02-23 Thread Dieter Maurer
Roché Compaan wrote at 2007-2-23 18:44 +0200: ... Cool idea. I haven't done any coding involving OFS.Cache though. Looking at it briefly it looks like one can modify the catalog to subclass OFS.Cacheable and then use the ZCacheable_get, ZCacheable_set and ZCacheable_invalidate methods to interact

Re: [Zope-dev] Re: Caching ZCatalog results

2007-02-23 Thread Roché Compaan
On Fri, 2007-02-23 at 20:43 +0100, Dieter Maurer wrote: Roché Compaan wrote at 2007-2-23 18:44 +0200: ... Cool idea. I haven't done any coding involving OFS.Cache though. Looking at it briefly it looks like one can modify the catalog to subclass OFS.Cacheable and then use the ZCacheable_get,

Re: [Zope-dev] Re: Caching ZCatalog results

2007-02-23 Thread Lennart Regebro
On 2/23/07, Philipp von Weitershausen [EMAIL PROTECTED] wrote: It may require a bit of hacking the catalog, of course. Perhaps it's time to start thinking about componentizing the Zope 2 catalog to make such things easier in the future? Yup. It would also be interesting to look into making it

Re: [Zope] Error Tracing in Zope 2.6

2007-02-23 Thread David VanKirk
The event_log isn't recording anything about the Zope error I'm getting on the page I have issues with. Is there a setting that I'm missing maybe? Also, has anyone successfully went from Linux to Windows with their Zope instance? I've noticed things like .read() and .write() don't work in

Re: [Zope] Error Tracing in Zope 2.6

2007-02-23 Thread Jonathan
- Original Message - From: David VanKirk [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: Zope Mailing List zope@zope.org Sent: Friday, February 23, 2007 8:50 AM Subject: Re: [Zope] Error Tracing in Zope 2.6 The event_log isn't recording anything about the Zope error I'm getting

[Zope] __bobo_traverse__ and wrappers

2007-02-23 Thread Garito
This is the 3th time I send this message (I experiencing problems with google apps for your domain) If you recive this messege duplicate or triplicate I ask you sorry! Hi all! Some days ago I begin this threat: http://www.mail-archive.com/zope@zope.org/msg26355.html Dieter point me to the

Re: [Zope] Error Tracing in Zope 2.6

2007-02-23 Thread David VanKirk
The error_log isn't helping. Apparently if your error is being caught in a try block and uses an standard_error_page to show you the exception and traceback it doesn't get logged in the error_log. Is there anyway to maybe increase the traceback output from the error_tb variable to traceback all

Re: [Zope] Error Tracing in Zope 2.6

2007-02-23 Thread Jonathan
- Original Message - From: David VanKirk [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: Zope Mailing List zope@zope.org Sent: Friday, February 23, 2007 11:06 AM Subject: Re: [Zope] Error Tracing in Zope 2.6 The error_log isn't helping. Apparently if your error is being caught

[Zope] adding objects to a ZCatalog

2007-02-23 Thread Tom Von Lahndorff
Hi, I have a folder called images and a form that to add images to that folder. The form called an external method (../images/addImage) that references a python script, the one I sent earlier, that creates 4 versions of the images in 4 sizes and places them in the images folder. Also in the

[Zope] invalid property value: wrapped object

2007-02-23 Thread Anthony Monta
Hello group: Running Zope 2.6.1/Python 2.1.3, I get the following error when I try to pass form values to a custom ZClass instance-creating method: Error Type: ValueError Error Value: Invalid property value: wrapped object I haven't had to deal with this kind of error before. Does this mean

Re: [Zope] adding objects to a ZCatalog

2007-02-23 Thread Peter Bengtsson
On 2/23/07, Tom Von Lahndorff [EMAIL PROTECTED] wrote: Hi, I have a folder called images and a form that to add images to that folder. The form called an external method (../images/addImage) that references a python script, the one I sent earlier, that creates 4 versions of the images in 4

Re: [Zope] adding objects to a ZCatalog

2007-02-23 Thread Tom Von Lahndorff
Peter Bengtsson wrote: On 2/23/07, Tom Von Lahndorff [EMAIL PROTECTED] wrote: Hi, I have a folder called images and a form that to add images to that folder. The form called an external method (../images/addImage) that references a python script, the one I sent earlier, that creates 4

Re: [Zope] adding objects to a ZCatalog

2007-02-23 Thread Jonathan
- Original Message - From: Tom Von Lahndorff [EMAIL PROTECTED] To: Peter Bengtsson [EMAIL PROTECTED] Cc: zope@zope.org Sent: Friday, February 23, 2007 1:12 PM Subject: Re: [Zope] adding objects to a ZCatalog Peter Bengtsson wrote: On 2/23/07, Tom Von Lahndorff [EMAIL PROTECTED]

Re: [Zope] __bobo_traverse__ and wrappers

2007-02-23 Thread Dieter . Maurer
You should stay on the mailing list! I usually do not respond to private mail! List readded... Garito wrote at 2007-2-22 21:10 +0100: ... I change NotFound to NotFound2 to test but the real error is a redirection (I need to erase all exceptions to see that) Redirects are (almost) never

Re: [Zope] Problems receiving mails from the list

2007-02-23 Thread Andreas Jung
--On 23. Februar 2007 20:21:54 +0100 Garito [EMAIL PROTECTED] wrote: Hi all! The zope list don't work properly for me for 2 days ago with my normal account [EMAIL PROTECTED] Obviously you have serious problems on *your side*. I have three copies of this related mail. Trible-check *your*

Re: [Zope] Error Tracing in Zope 2.6

2007-02-23 Thread Dieter Maurer
David VanKirk wrote at 2007-2-22 17:10 -0500: Can anyone give me some pointers on tracing errors in Zope 2.6? I'm already using the DTML var error-tb or whatever it is. And that can be helpful at times. But I was wondering if there's some other way to pinpoint which line in the DTML file is

[Zope] Running ./zopectl gives NameError: name 'set' is not defined

2007-02-23 Thread michael nt milne
Hi On trying to make a new zopeinstance from a Plone 2.5 instance created using the unified installer I am getting the following error when I attempt to run ./zopectl and start the instance. Traceback (most recent call last): File /opt/Plone-2.5/lib/python/Zope2/Startup/run.py, line 56, in ?

[Zope] Zeo Client Hanging Unresponsive

2007-02-23 Thread Paul Williams
I have posted this several times, but have not until now been able to get DeadlockDebugger installed. zope 2.9.5 + zeo pythonm2.4.3 Red Hat RHEL 4 Plone 2.5.1 Our zeo clients hang intermittently. We have no way of reproducing the problem, but it occurs daily. The client hangs and a