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:
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
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
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
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
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
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
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
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
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
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
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
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)
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
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.
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
16 matches
Mail list logo