[Zope-dev] Re: CVS: Zope/doc/PLATFORMS - BSD.txt:1.1.2.1

2003-09-26 Thread Jochen Knuth
Hi,

Chris McDonough schrieb:
Update of /cvs-repository/Zope/doc/PLATFORMS
In directory cvs.zope.org:/tmp/cvs-serv28347
Added Files:
  Tag: Zope-2_7-branch
	BSD.txt 
Log Message:
Add thread stack size fix docs by Andrew Sawyers.

=== Added File Zope/doc/PLATFORMS/BSD.txt ===
Steps to building python for use with Zope on FreeBSD to avoid
segmentation faults (by Andrew Sawyers for Pythons up to 2.3).
The default thread stack size for FreeBSD is too small; when building
Python for use with Zope it is often necessary to increase the thread
stack size to avoid segmentation faults. There are two ways which you
can increase the default python thread stack size.
Way #1: In your Python source directory:

Way #2: In your Python source directory:
Way #3: Use Python from the ports system (the fixes are there since 06 
Feb 2003 )

Ciao,
Jochen
--
--
Jochen Knuth  WebMaster http://www.ipro.de
IPRO GmbH Phone ++49-7152-93330
Steinbeisstr. 6   Fax ++49-7152-933340
71229 LeonbergEMail: [EMAIL PROTECTED]
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] VOcabulary stop words

2003-09-26 Thread Paulo Lobo
Sorry Chris, I didnt mean to send a message only to you

I'm using TextIndex, not ZCTextIndex
- Original Message - 
From: "Chris Withers" <[EMAIL PROTECTED]>
To: "Paulo Lobo" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, September 26, 2003 5:36 AM
Subject: Re: [Zope-dev] VOcabulary stop words


> Paulo Lobo wrote:
> > I need to changer my stop words in my vocabulary!!
> >
> > I've tryed to change that file, Lexicon.py, where the stop words are
> > stores, but it doesnt works
> > When i re-index all the data my customized stop words are indexed too!
>
> What version of Zope are you using?
> What kind of text index are you using?
>
> Chris
>
> PS: Please don't post in HTML to a list that specifically asks you not
to...
>
>


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] _p_deactivate() and _v_ variables?

2003-09-26 Thread Toby Dickenson
On Friday 26 September 2003 09:32, Chris Withers wrote:
> Toby Dickenson wrote:
> > On Thursday 25 September 2003 11:51, Chris Withers wrote:
> >>Hmmm, does _p_deactivate() clear the contents of the object's _v_
> >>variables?
> >
> > Yes
>
> Then given your earlier comment that _v_ variables are supposed to last at
> least teh length of the request, John's idea of using _p_deactivate() to
> reduce memory usage for large ZCatalog results sets could be seen as
> playing with fire, right?

He had code that would only deactivate objects at the end of a loop if they 
were not active at the start of the loop. Its not entirely safe, but I think 
it mitigates the most serious risks here.

ZCatalog (and others) have used this same technique for a while.

-- 
Toby Dickenson


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] VOcabulary stop words

2003-09-26 Thread Chris Withers
Paulo Lobo wrote:
I need to changer my stop words in my vocabulary!!
 
I've tryed to change that file, Lexicon.py, where the stop words are 
stores, but it doesnt works
When i re-index all the data my customized stop words are indexed too!
What version of Zope are you using?
What kind of text index are you using?
Chris

PS: Please don't post in HTML to a list that specifically asks you not to...

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] _p_deactivate() and _v_ variables?

2003-09-26 Thread Chris Withers
Toby Dickenson wrote:
On Thursday 25 September 2003 11:51, Chris Withers wrote:

Hmmm, does _p_deactivate() clear the contents of the object's _v_
variables?
Yes
Then given your earlier comment that _v_ variables are supposed to last at least 
teh length of the request, John's idea of using _p_deactivate() to reduce memory 
usage for large ZCatalog results sets could be seen as playing with fire, right?

Chris

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] AW: [Summary] Caching prob with AHCM and headers

2003-09-26 Thread Chris Withers
Tres Seaver wrote:
Where and how are they implemented?
Products.CMFCore.CachingPolicyManager.createCPContext.
Cool, thanks :-)

Chris

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )