[Zope-dev] zope (with cmf) instance being frequently restarted by signal SIGSEGV(11)

2004-05-28 Thread Richard Ettema
Hi, I have a cmf site that has begun restarting frequently and at random intervals for no apparent reason. This first occurred about 2 weeks ago for about 2-3 days with the instance being restarted every 15 mins at worst. This problem disappeared as quickly as it had appeared. 2-3 days ago

[Zope-dev] Help: __getstate__ overriding

2004-05-28 Thread Syver Enstad
I have a Persistent derived class where I want to upgrade from using a PersistentList to a BTrees.IOBTree.IOBTree. _articleList is the old Persistent list _oidsToArticles is the new IOBTree. def __setstate__(self, state): articleList = state.get('_articleList') if

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

2004-05-28 Thread Stephan Richter
On Friday 28 May 2004 02:48, Philipp von Weitershausen wrote: Garrett Smith wrote: This problem seems analogous to view lookup -- content/++view++index.html and content/@@index.html are equivalent. So, applied to adapters, we could use:   content/++adapter++dc/title (or '++adapt++')

Re: [Zope-dev] zope (with cmf) instance being frequently restarted by signal SIGSEGV(11)

2004-05-28 Thread Seb Bacon
Hi, Just some quick suggestions: - First, can you reproduce the problem in a test environment? - In general, I would say one of the first steps you should take is try it out with the latest stable versions of Zope (2.7.0) and Python (2.3.4). You shouldn't be surprised to find bugs running

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

2004-05-28 Thread Stephan Richter
On Friday 28 May 2004 11:21, Garrett Smith wrote:    context/##dc/title Not so good; looks convoluted.    context/**dc/title This one looks good. Remind me of the power of a number, like dc takes over context. :-)    context/::dc/title I am fine with this one as well. Regards, Stephan --

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

2004-05-28 Thread Stephan Richter
On Friday 28 May 2004 11:21, Garrett Smith wrote: What was the reasoning behind selecting @@ for the view namespace shortcut? Because it looks like two eyes. (IIRC, the motivation was to use characters that could be used in URLs, but I'm not sure that's an issue for adapters...or is it?)

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

2004-05-28 Thread Jim Fulton
Garrett Smith wrote: What was the reasoning behind selecting @@ for the view namespace shortcut? (IIRC, the motivation was to use characters that could be used in URLs, but I'm not sure that's an issue for adapters...or is it?) Legal in urls, no English. @@ looks like two eyes viwing something.

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

2004-05-28 Thread Jim Fulton
I want to thank everyone who's participating in this thread. The input is extremely valuable. Garrett Smith wrote: Jim Fulton wrote: We don't. In fact, one could argue that adaptation is a bit like a different kind of traversal. In fact, in Zope 3, we already have a notion of this. In

RE: [Zope-dev] Help: __getstate__ overriding

2004-05-28 Thread Tim Peters
[Syver Enstad] I have a Persistent derived class where I want to upgrade from using a PersistentList to a BTrees.IOBTree.IOBTree. _articleList is the old Persistent list _oidsToArticles is the new IOBTree. def __setstate__(self, state): articleList = state.get('_articleList')

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

2004-05-28 Thread Evan Simpson
Jim Fulton wrote: Given that, I still prefer context#dc to context/##dc. +1 I like the idea that '/' and '#' are both path separators, and that the semantics of each path segment depend on the preceding separator. Cheers, Evan ___ Zope-Dev maillist -

RE: [Zope-dev] Help: __getstate__ overriding

2004-05-28 Thread Tim Peters
[Syver Enstad, wants to switch an attribute of a Persitent subclass From PersistentList to an IOBTree] [Tim, guessing] Quick guess (untested, untried, ... ... Perhaps shuffling the code around would work, a la: Persistent.__setstate__(self, state) articleList =

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

2004-05-28 Thread Gary Poster
Jim Fulton wrote: Given that, I still prefer context#dc to context/##dc. +1, also in preference to /# and the other options I've seen. Gary ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or

Re: [Zope-dev] zope (with cmf) instance being frequently restarted by signal SIGSEGV(11)

2004-05-28 Thread Dieter Maurer
Richard Ettema wrote at 2004-5-28 11:28 +0100: I have a cmf site that has begun restarting frequently and at random intervals for no apparent reason. This first occurred about 2 weeks ago for about 2-3 days with the instance being restarted every 15 mins at worst. This problem disappeared as

Re: [Zope-dev] Help: __getstate__ overriding

2004-05-28 Thread Dieter Maurer
Syver Enstad wrote at 2004-5-28 12:41 +0200: I have a Persistent derived class where I want to upgrade from using a PersistentList to a BTrees.IOBTree.IOBTree. _articleList is the old Persistent list _oidsToArticles is the new IOBTree. def __setstate__(self, state): articleList =

[Zope-dev] Bug Day status report (fwd)

2004-05-28 Thread Ken Manheimer
[This was mistaken for spam by our filter, and i was too quick to confirm it as spam...] -- Forwarded message -- Date: Fri, 28 May 2004 18:02:50 -0400 From: Paul Winkler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Bug Day status report Just a quick status report on today's