RE: [Zope-dev] Re: Preliminary findings: Zope 2.7 leakage caused by errors

2004-05-21 Thread Jean-Francois . Doyon
Juan David, Indeed, thanks for the input, I've ruled out new_publish as the cause as well ... Right now, I'm at the stage where I severely suspect it's got something to do with i18n support or translation somehow, but don't know where exactly yet. If I remove the message_catalog, the problem

Re: [Zope-dev] Re: Preliminary findings: Zope 2.7 leakage caused by errors

2004-05-21 Thread J. David Ibáñez
The problem I have with one of my sites seems to have a different cause, as it does not show up when errors occur, but when requests are succesful. So far I haven't been able to reproduce the problem. You can try to modify new_publish to catch exceptions: def new_publish(request, module_name,

[Zope-dev] [Python 2.3.4c1] nasty LinuxThread problem not solved

2004-05-21 Thread Dieter Maurer
Hello Tim, I just checked that Python 2.3.4c1 does not yet fix our LinuxThread-Crash problem -- the problem that lets a multi-threaded application enter a curious state when one on the threads crashes. And this despite the patch for this problem in Python's collector... Unfortunately, I am no

[Zope-dev] Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-05-21 Thread Jim Fulton
Jim Fulton wrote: I've posted two proposals: http://dev.zope.org/Zope3/TALESPathExpressionAdapters Proposes a mechanism for easily using adapters in TALES expressions. http://dev.zope.org/Zope3/ZPTVariableNamespaces proposes a mechanism for qualifying names defined in TAL and used in TALES

[Zope-dev] RE: [Python 2.3.4c1] nasty LinuxThread problem not solved

2004-05-21 Thread Tim Peters
[Dieter Maurer] I just checked that Python 2.3.4c1 does not yet fix our LinuxThread-Crash problem -- the problem that lets a multi-threaded application enter a curious state when one on the threads crashes. I'm sorry to report that 2.3.4 final won't fix it either. The active Python bug

Re: [Zope-dev] Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-05-21 Thread Stephan Richter
On Friday 21 May 2004 09:07, Jim Fulton wrote: So far the cast syntax seems to be the most popular: (adaptername)ob (dc)context/title Why don't we use adaptername(ob)? Then it looks exactely like in Python! Less to memorize. Regards, Stephan -- Stephan Richter CBU Physics Chemistry

Re: [Zope-dev] Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-05-21 Thread Stephan Richter
On Friday 21 May 2004 09:07, Jim Fulton wrote:    tal:define=adapter dc modules/zope.app.dublincore/IZopeDublinCore This looks very nice to me. Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and

Re: [Zope-dev] Re: Preliminary findings: Zope 2.7 leakage caused by errors

2004-05-21 Thread J. David Ibanez
No, I don't use TranslationService. A quick glance at the code shows that TS uses several caches (dictionaries) which are stored in the request object: _localizer_placeful_mc_cache, _translation_service_cache and _ts_domain_cache. The values of these dictionaries are acquisition wrappers (objects

Re: [Zope-dev] Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-05-21 Thread Jim Fulton
Stephan Richter wrote: On Friday 21 May 2004 09:07, Jim Fulton wrote: So far the cast syntax seems to be the most popular: (adaptername)ob (dc)context/title Why don't we use adaptername(ob)? Then it looks exactely like in Python! Less to memorize. Because that would be the top of a

[Zope-dev] Re: [ZPT] Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-05-21 Thread Ian Bicking
Jim Fulton wrote: One disadvantage I see with the cast notation is that it's a bit jarring in: a/b/(adapter)c/d as the adapter is applied to a/b/c. The order just doesn't seem quite right. That is indeed jarring, especially since c isn't an object, it's just a name, and a/b/c is the object in

[Zope-dev] Re: [ZPT] Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-05-21 Thread Evan Simpson
Jim Fulton wrote: One disadvantage I see with the cast notation is that it's a bit jarring in: a/b/(adapter)c/d as the adapter is applied to a/b/c. The order just doesn't seem quite right. Unless I'm misunderstanding something fundamental here, in the TALES context an adapter is essentially a

[Zope-dev] Zope Bug Day - Friday 28th May?

2004-05-21 Thread Chris Withers
Hi People, I offered to schedule and organise the Zope bug days for the last Friday of each month, and the first one of those is looming. Do people have any objections to Friday 28th May as a bug day? If I hear nothing, I'll begin more widely advertising next week... cheers, Chris -- Simplistix

Re: [Zope-dev] Read-only root database doesn't work ... bug or feature?

2004-05-21 Thread Paul Winkler
On Thu, May 20, 2004 at 09:12:35PM +0200, Dieter Maurer wrote: Paul Winkler wrote at 2004-5-19 19:15 -0400: I'm trying to figure out how to mount my main storage read-only with zope 2.7.0. I fear this is not implemented... I now believe it's implemented just fine, but it's problematic

[Zope-dev] Re: Read-only root database doesn't work ... bug or feature?

2004-05-21 Thread Tres Seaver
Paul Winkler wrote: On Thu, May 20, 2004 at 09:12:35PM +0200, Dieter Maurer wrote: Paul Winkler wrote at 2004-5-19 19:15 -0400: I'm trying to figure out how to mount my main storage read-only with zope 2.7.0. I fear this is not implemented... I now believe it's implemented just fine, but it's

[Zope-dev] Re: Zope Bug Day - Friday 28th May?

2004-05-21 Thread Casey Duncan
On Fri, 21 May 2004 19:57:08 +0100 Chris Withers [EMAIL PROTECTED] wrote: Hi People, I offered to schedule and organise the Zope bug days for the last Friday of each month, and the first one of those is looming. Do people have any objections to Friday 28th May as a bug day? If I hear

Re: [Zope-dev] Re: Zope Bug Day - Friday 28th May?

2004-05-21 Thread Andreas Jung
--On Freitag, 21. Mai 2004 15:19 Uhr -0400 Casey Duncan [EMAIL PROTECTED] wrote: On Fri, 21 May 2004 19:57:08 +0100 Chris Withers [EMAIL PROTECTED] wrote: Hi People, I offered to schedule and organise the Zope bug days for the last Friday of each month, and the first one of those is looming. Do

Re: [Zope-dev] Re: Zope Bug Day - Friday 28th May?

2004-05-21 Thread Casey Duncan
On Fri, 21 May 2004 21:27:02 +0200 Andreas Jung [EMAIL PROTECTED] wrote: --On Freitag, 21. Mai 2004 15:19 Uhr -0400 Casey Duncan [EMAIL PROTECTED] wrote: On Fri, 21 May 2004 19:57:08 +0100 Chris Withers [EMAIL PROTECTED] wrote: Hi People, I offered to schedule and organise the

Re: [Zope-Coders] Re: [Zope-dev] Re: Zope Bug Day - Friday 28th May?

2004-05-21 Thread Paul Winkler
On Fri, May 21, 2004 at 09:27:02PM +0200, Andreas Jung wrote: --On Freitag, 21. Mai 2004 15:19 Uhr -0400 Casey Duncan [EMAIL PROTECTED] wrote: On Fri, 21 May 2004 19:57:08 +0100 Chris Withers [EMAIL PROTECTED] wrote: Hi People, I offered to schedule and organise the Zope bug days for

[Zope-dev] Re: Read-only root database doesn't work ... bug or feature?

2004-05-21 Thread Paul Winkler
On Fri, May 21, 2004 at 03:09:48PM -0400, Tres Seaver wrote: Paul Winkler wrote: (snip) I have not yet found exactly how Formulator triggers a commit, but it is definitely something called by its initialize() function. It is probably trying to do the Right Thing (TM) by registering with the

Re: [Zope-dev] Re: Read-only root database doesn't work ... bug or feature?

2004-05-21 Thread Paul Winkler
On Fri, May 21, 2004 at 03:59:21PM -0400, Paul Winkler wrote: On Fri, May 21, 2004 at 03:09:48PM -0400, Tres Seaver wrote: Paul Winkler wrote: (snip) I have not yet found exactly how Formulator triggers a commit, but it is definitely something called by its initialize() function. It

RE: [Zope-dev] Re: Preliminary findings: Zope 2.7 leakage caused by errors

2004-05-21 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2004-5-21 09:34 -0400: ... If I remove the TranslationService instance, the problem goes away. Do you use this? Does anybody know of alternatives to the TranslationService+Localizer combo to enable i18n in ZPT's on Zope 2? I am no internationalization expert. But many

Re: [Zope-dev] Re: Preliminary findings: Zope 2.7 leakage caused by errors

2004-05-21 Thread Dieter Maurer
J. David Ibanez wrote at 2004-5-21 16:50 +0200: No, I don't use TranslationService. A quick glance at the code shows that TS uses several caches (dictionaries) which are stored in the request object: _localizer_placeful_mc_cache, _translation_service_cache and _ts_domain_cache. The values of