Re: [Zope-dev] Zope 2.3.2 and win32 python 2.1

2001-05-21 Thread Phil Harris
Richard, Try search for extensionbuilder.py, this is the magic. If you can't find it let me know and I'll send it to you. Be warned though that there are some things it doesn't cope with, the new btree stuff springs to mind. hth Phil - Original Message - From: [EMAIL PROTECTED] To:

[Zope-dev] MySQL (Zope) Problem on Sun Solaris machines ?

2001-05-21 Thread Holger Lehmann
Hi Andy, and all ! I was developing a little webapp under Zope. I was using the following setup: Linux 2.4.x Zope 2.3.0 MySQL 3.22.32 ZMySQLDA-2.0.6 MySQL-python-0.3.5 Everything went smooth that way. Small SQL queries and complex SQL queries, queries on empty tables and on full ones, they all

Re: [Zope-dev] Zope 2.3.2 and win32 python 2.1

2001-05-21 Thread richard
Phil Harris wrote: Richard, Try search for extensionbuilder.py, this is the magic. If you can't find it let me know and I'll send it to you. Be warned though that there are some things it doesn't cope with, the new btree stuff springs to mind. Found it, thanks. We'll give it a try

Re: [Zope-dev] ZCatalog/TextIndex: searching for the exact phraseword1word2

2001-05-21 Thread Erik Enge
On Sat, 19 May 2001, Chris McDonough wrote: 8 words. Not characters. But actually I just looked at the source and it's not even that. It's treated essentially as an AND query, because the UnTextIndex code doesn't store any proximity information between words. ( I knew this once, but I had

Re: [Zope-dev] ZCatalog/TextIndex: searching for the exact phraseword1word2

2001-05-21 Thread Chris McDonough
I've done alot of practical testing with it now, and it seems that the exact phrase query might be overrated. So far, the already-available query types have sufficed. I'll let the client to even more testing, but if they don't really need it, I can't justify spending time on it. Obviously

[Zope-dev] Quick Persistence Question

2001-05-21 Thread Chris Withers
if self.data is a BTree and I do: obj = self.data[id] obj.revsub = obj.revsub + 1 obj's class subclasses Persistant, as does self's Do I need to let the persistence mechanism know something has changed? If so, do I do: obj._p_changed=1 ...or... self._p_changed=1 (which feels like it's

Re: [Zope-dev] Fwd: [Zope] ZCatalog + Directory product question

2001-05-21 Thread R. David Murray
On Thu, 17 May 2001, Casey Duncan wrote: You should create an instance method (It will need to be a Python script, DTML methods cannot be indexed)to return the result of the value To my understanding, this is not true. DTML Methods *can* be indexed, they just can't make use of REQUEST in

Re: [Zope-dev] Quick Persistence Question

2001-05-21 Thread Chris Withers
Casey Duncan wrote: Chris Withers wrote: if self.data is a BTree and I do: obj = self.data[id] obj.revsub = obj.revsub + 1 AFAIK _p_changed is only needed when you change a mutable attribute you want stored like adding a dict key or appending to a list. revsub looks like an int

[Zope-dev] Re: ZSQL Methods in Z Classes

2001-05-21 Thread Shai Berger
Hi Guys, Last week, I wrote: Hi Guys, I wanted to use ZSQL Methods in Z Classes to share code between different parts of a large project. The different parts need to use similar, but separate, database namespaces, but I still wanted to use the same methods. [...] I tried to bypass

[Zope-dev] Woah! Weirdy Catalog Error :-S

2001-05-21 Thread Chris Withers
Automatic Zope Response wrote: Zope reported an error for: Error Type: TextIndex.QueryError Error Value: Malformed query Traceback: Traceback (innermost last): File /usr/local/zope/2.3.2_base/lib/python/ZPublisher/Publish.py, line 171, in publish File

Re: [Zope-dev] Woah! Weirdy Catalog Error :-S

2001-05-21 Thread Chris McDonough
Huh? Why does that say 2.3.1 when the paths above suggest Zope 2.3.2?! No idea. You can reproduce this by going to Squishdot.org and searching for Error Value: frexp() result out of range. I'd imagine this has to do with the fact that parens are meaningful to the Catalog. This happens when

[Zope-dev] Weirdy Catalog Error II :-S

2001-05-21 Thread Chris Withers
Got another one, thsi time from someone trying to upgrade to Squishdot 1.2.1: Error Type: IndexError Error Value: tuple index out of range The traceback is: Traceback (innermost last): File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 223, in publish_module

Re: [Zope-dev] Woah! Weirdy Catalog Error :-S

2001-05-21 Thread Chris Withers
Chris McDonough wrote: It's possible to catch this error, but it's not possible to allow folks to search for things with parens in them currently. I'm not having a good time catching it: from SearchIndex import TextIndex try: brains = apply(self.searchResults,(REQUEST,),kw)

[Zope-dev] Re: [Zope] xmlrpc slowness

2001-05-21 Thread Shilad Sen
Hello Albert, Thanks for the info. I have been researching Zope and Medusa, and I had to add one function to be compatible. It was a quick fix, and the new release should be up on http://www.sourceforge.net/projects/py-xmlrpc some time today. The method you care about for integration is

[Zope-dev] LeakFinder product

2001-05-21 Thread Shane Hathaway
New product: http://www.zope.org/Members/hathawsh/LeakFinder This product assists in locating memory leaks in Zope code. It uses patterns we, at Digital Creations, often employ for fixing memory leaks. It provides a way to get a controlled refcount and the traceback of class instance creation.

Re: [Zope-dev] LeakFinder product

2001-05-21 Thread Chris McDonough
Shane had to run for the day but before he left he asked me to tell folks that when this product is installed, it puts another option in the control panel for leak detection. You interact with it via this interface. ;-) documentation-by-proxy'ly y'rs, - C Shane Hathaway wrote: New