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

2004-05-21 Thread Jean-Francois . Doyon
]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [Zope-dev] Re: Preliminary findings: Zope 2.7 leakage caused by errors [EMAIL PROTECTED] wrote at 2004-5-20 09:58 -0400: ... def new_publish(request, module_name, after_list, debug=0): id = get_ident() print Localizer

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

2004-05-21 Thread J. David Ibáñez
-dev] Re: Preliminary findings: Zope 2.7 leakage caused by errors [EMAIL PROTECTED] wrote at 2004-5-20 09:58 -0400: ... def new_publish(request, module_name, after_list, debug=0): id = get_ident() print Localizer got thread id: + str(id) Publish._requests[id] = request print Request

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

2004-05-21 Thread J. David Ibanez
To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Zope-dev] Re: Preliminary findings: Zope 2.7 leakage caused by errors 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

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

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

2004-05-20 Thread Jean-Francois . Doyon
]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [Zope-dev] Re: Preliminary findings: Zope 2.7 leakage caused by errors Localizer (1.0.1) dynamically patches Zope, it stores a dictionary in the module ZPublisher.Publish. The keys are integers, they are the values returned

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

2004-05-20 Thread J. David Ibáñez
] Behalf Of J. David Ibáñez Sent: May 20, 2004 6:47 AM To: Tres Seaver Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [Zope-dev] Re: Preliminary findings: Zope 2.7 leakage caused by errors Localizer (1.0.1) dynamically patches Zope, it stores a dictionary

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

2004-05-20 Thread Jean-Francois . Doyon
PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Zope-dev] Re: Preliminary findings: Zope 2.7 leakage caused by errors The a in 1.1.0a3 means alpha. If the problem is in Localizer 1.0.1 I think it will be in 1.1.0a3 too. Yes, I have a site

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

2004-05-20 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2004-5-20 09:58 -0400: ... def new_publish(request, module_name, after_list, debug=0): id = get_ident() print Localizer got thread id: + str(id) Publish._requests[id] = request print Request dict is now: + str(Publish._requests) x =

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

2004-05-20 Thread Jean-Francois . Doyon
. -Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED] Sent: May 20, 2004 2:58 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [Zope-dev] Re: Preliminary findings: Zope 2.7 leakage caused