[Zope-dev] zopeproject and eggs lead to wrong zopeversion

2007-11-26 Thread Christophe Combelles
Hello, An full-egg zope 3.4 buildout installed with zopeproject tells me the zope version is 3.3.1 (in /++etc++process/): - I have a fully eggified zope 3.4 installed with zopeproject. - I also have a zope 3.3.1 installed on the system python. When I start the 3.4 full-egg instance, I've

[Zope-dev] Zope Tests: 5 OK

2007-11-26 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Sun Nov 25 13:00:00 2007 UTC to Mon Nov 26 13:00:00 2007 UTC. There were 5 messages: 5 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Sun Nov 25 20:52:27 EST 2007

[Zope-dev] Re: zopeproject and eggs lead to wrong zopeversion

2007-11-26 Thread Philipp von Weitershausen
Christophe Combelles wrote: Hello, An full-egg zope 3.4 buildout installed with zopeproject tells me the zope version is 3.3.1 (in /++etc++process/): - I have a fully eggified zope 3.4 installed with zopeproject. - I also have a zope 3.3.1 installed on the system python. When I start the 3.4

Re: [Zope-dev] zopeproject and eggs lead to wrong zopeversion

2007-11-26 Thread TIm TerlegÄrd
On Nov 26, 2007, at 2:28 PM, Philipp von Weitershausen wrote: Christophe Combelles wrote: Hello, An full-egg zope 3.4 buildout installed with zopeproject tells me the zope version is 3.3.1 (in /++etc++process/): - I have a fully eggified zope 3.4 installed with zopeproject. - I also have a

Re: [Zope-dev] zopeproject and eggs lead to wrong zopeversion

2007-11-26 Thread Wichert Akkerman
Previously TIm TerlegÄrd wrote: On Nov 26, 2007, at 2:28 PM, Philipp von Weitershausen wrote: Christophe Combelles wrote: Hello, An full-egg zope 3.4 buildout installed with zopeproject tells me the zope version is 3.3.1 (in /++etc++process/): - I have a fully eggified zope 3.4

[Zope-dev] Re: unregistering components?

2007-11-26 Thread Philipp von Weitershausen
Chris Withers wrote: Philipp von Weitershausen wrote: On 25 Nov 2007, at 13:37 , Chris Withers wrote: Philipp von Weitershausen wrote: class IComponentRegistry(interface.Interface): I think you should use zope.component.getGlobalSiteManager() for this. So getGlobalSiteManager returns a

[Zope-dev] Re: unregistering components?

2007-11-26 Thread Chris Withers
Philipp von Weitershausen wrote: Yes. It returns the one and only global registry. Am I right in thinking the global registry is _only_ used if no context is supplied? No. One should never have to supply an explicit context. Surely that's only the case if you're using zope's traversal

[Zope-dev] Re: unregistering components?

2007-11-26 Thread Chris Withers
Philipp von Weitershausen wrote: I'm guessing that if you are, you either need to stick with the one global registry or manage either ISites or IComponentLookup's yourself? Not sure what you mean by if you are. Sorry, meant if you aren't... If you mean a different ISite, where is it

Re: [Zope-dev] Escaping special characters in ZCTextIndex.QueryParser?

2007-11-26 Thread Dieter Maurer
Robert Casties wrote at 2007-11-25 19:32 +0100: is it possible to escape parentheses in ZCTextIndex searches? If not, why not and how can I do a simple search in an index bypassing the QueryParser? I fear nobody of us knows this. Therefore, you must yourself look at the sources. If you need