Re: [Zope-dev] Weird Re-Indexing Errors after move to Zope 2.3.1b1

2001-03-02 Thread Andy Dawkins
Chris Withers wrote: Is there a workaround in the meantime? This is turning into a real showstopper for one of NIP's most important projects right now :~( desperately, Chris I the meantime I have changed that method to the following: def insertReverseIndexEntry(self, entry,

[Zope-dev] SessionDataManager oddness

2001-03-02 Thread Matt Hamilton
Dear All, I am trying to add session tracking to a Product of mine. I am trying to add a SessionDataManager to a Folderish object in the __init__ method of the class, but having troubles. I think I am importing everything: from Globals import HTMLFile from Globals import Persistent from

Re: [Zope-dev] How is memory shared between Zope threads?

2001-03-02 Thread R. David Murray
On Thu, 1 Mar 2001, Erik Stephens wrote: Naively, I can think of 2 approaches: a shared memory approach or a separate memory per thread with notifications. Zope behaves like each thread as its own copy of in-memory pieces and sometimes these per/thread memory blocks do not get updated. That

[Zope-dev] Class attr hotfix

2001-03-02 Thread Casey Duncan
I noticed that the most recent hotfix completely denies access to the getClassAttr, setClassAttr and delClassAttr from DTML. Is this going to be the behavior for future Zope versions? I know this will break code, so it might be prudent to alert people when the fix is rolled into the next Zope

Re: [Zope-dev] SessionDataManager oddness

2001-03-02 Thread Chris McDonough
Mark, Try putting the code which adds the session data manager from your class' __init__ into a manage_afterAdd method of your class, e.g.: def manage_afterAdd(self, item, container): ob = SessionDataManager( id='session_data_mgr', title='', path=None, timeout_mins=20)

Re: [Zope-dev] SessionDataManager oddness

2001-03-02 Thread Chris McDonough
Not really. In this case it seems appropriate, in others its not really necessary. I hope my suggestion works. ;-) - Original Message - From: "Matt Hamilton" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Sent: Friday, March 02, 2001 10:43 AM Subject: Re: [Zope-dev]

Re: [Zope-dev] How is memory shared between Zope threads?

2001-03-02 Thread Erik Stephens
"R. David Murray" wrote: On Thu, 1 Mar 2001, Erik Stephens wrote: Naively, I can think of 2 approaches: a shared memory approach or a separate memory per thread with notifications. Zope behaves like each thread as its own copy of in-memory pieces and sometimes these per/thread memory

Re: [Zope-dev] TransWarp preview release (AOP tools only)

2001-03-02 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 09:37 AM 3/1/01 -0500, Shane Hathaway wrote: What is your vision of integrating AOP into a persistent object system? Would one drop in an object that modifies the class loading mechanism so that the classes come from a TW component rather than Python modules?

Re: [Zope-dev] dtml-in: next-batches

2001-03-02 Thread Brett Carter
I've also discovered that setting overlap = 0 actually causes everything to overlap by 1. I didn't see anything in the collector about this either... -Brett "Brett" == Brett Carter [EMAIL PROTECTED] writes: Brett I'm running Zope 2.2.2, and I'm trying to use the batching stuff for

Re: [Zope-dev] How is memory shared between Zope threads?

2001-03-02 Thread R. David Murray
On Fri, 2 Mar 2001, Erik Stephens wrote: Thanks for the response. If I understand you correctly, then as long a thread does not try to modify an out-of-date object, it will not try to re-read the most current version? Is that the expected behaviour? Hmm. Good question. I seem to remember

Re: [Zope-dev] dtml-in: next-batches

2001-03-02 Thread Dieter Maurer
Brett Carter writes: I'm running Zope 2.2.2, and I'm trying to use the batching stuff for the dtml-in tag, however, I can't seem to access any attributes off the 'next-batches' or 'previous-batches' mapping object that's supposed to be available, with the attributes 'batch-start-index',

Re: [Zope-dev] TransWarp preview release (AOP tools only)

2001-03-02 Thread R. David Murray
On Fri, 2 Mar 2001, Shane Hathaway wrote: "Phillip J. Eby" wrote: One reason I've been racing like mad to get the preview release out is so that, after seeing the usefulness of TW for the Zope 3 component architecture, y'all might be interested in considering implementations for module

Re: [Zope-dev] ZDebug conflicts with MailHost?

2001-03-02 Thread Dieter Maurer
Itai Tavor writes: On Zope 2.3.0 and 2.3.1b1, the following method produces an error when ZDebug is installed; If I remove ZDebug, it works fine. A long time ago, there was firm evidence that ZDebug does not play well with "sendmail" (- list archives). But, I had thought, this had

Re: [Zope-dev] Increased system CPU cycles under heavy load?

2001-03-02 Thread Dieter Maurer
Erik Stephens writes: Does anyone know what kinds of operations fall under 'system'? Task switching, paging, these kinds of things? The computer can execute instruction being part of the operating system (usually priviledged code) or of user processes. The first would be accounted for as

Re: [Zope-dev] TransWarp preview release (AOP tools only)

2001-03-02 Thread Phillip J. Eby
At 03:53 PM 3/2/01 -0500, R. David Murray wrote: On Fri, 2 Mar 2001, Shane Hathaway wrote: "Phillip J. Eby" wrote: One reason I've been racing like mad to get the preview release out is so that, after seeing the usefulness of TW for the Zope 3 component architecture, y'all might be

Re: [Zope-dev] TransWarp preview release (AOP tools only)

2001-03-02 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 03:53 PM 3/2/01 -0500, R. David Murray wrote: I could be wrong, but I didn't read what Phillip wrote as saying he was suggesting TransWarp as a player in the Module Persistence implementation, but rather that he wanted people to see the value of TransWarp first

Re: [Zope-dev] ZDebug conflicts with MailHost?

2001-03-02 Thread Shane Hathaway
Dieter Maurer wrote: Itai Tavor writes: On Zope 2.3.0 and 2.3.1b1, the following method produces an error when ZDebug is installed; If I remove ZDebug, it works fine. A long time ago, there was firm evidence that ZDebug does not play well with "sendmail" (- list archives).

[Zope-dev] DB connection pooling

2001-03-02 Thread Erik Stephens
Hello all, I've been working on an implementation of connection pooling for the MySQLDA. Basically, Zope connections will be pooled by connection string to reduce the number of unecessary connections to MySQL. The number of connections will be reduced in 2 respects: 1) Multiple threads will

Re: [Zope-dev] ZDebug conflicts with MailHost?

2001-03-02 Thread Itai Tavor
Shane Hathaway wrote: Dieter Maurer wrote: Itai Tavor writes: On Zope 2.3.0 and 2.3.1b1, the following method produces an error when ZDebug is installed; If I remove ZDebug, it works fine. A long time ago, there was firm evidence that ZDebug does not play well with

Re: [Zope-dev] TransWarp preview release (AOP tools only)

2001-03-02 Thread Phillip J. Eby
At 12:39 PM 3/2/01 -0500, Shane Hathaway wrote: We've been separating concerns in the PTK/CMF for the last year now. We've been moving as many responsibilities of the content objects as possible into per-portal "service" objects. The services provide user interface, discussion capability,