Can anyone tell me how to find all items that have an empty KeywordIndex?
I've trying something like this:
dtml-in expr=catagoryManager.Catalog(parents=_.None)
Thanks.
___
Zope-Dev maillist - [EMAIL PROTECTED]
Igor Stroh wrote:
Hi all,
I don't know if it's the right list to post to, but I have the following
problem:
I have several objects (documents, folders etc) that are accessible only
by a certain user role, this objects are cataloged. Now if I query the
catalog the brains of these objects
Hi,
I have a ZCatalog search that returns 213 results.
As soon as I add a sort_on and sort_order to the request doing this search, the
number of results drops to about 60.
This reminds me of some bugs in the BTrees package that I remember being solved
in the not too distant past.
Can someone
Under a 2.4.1 install I recieve the following error while trying to add a
ZCatalog.
Traceback (innermost last):
File /data/www/Zope/src/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py,
line 223, in publish_module
File /data/www/Zope/src/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py,
line
Hi all,
We've installed Kavio's CatalogQuery product and are very happy with it.
Haven't looked at the ZOQLMethod from iuveno yet, but both look like
great steps in the right direction.
I have one question: is it possible using a normal catalog query or
Kavio's catalog query to check if a value
We've installed Kavio's CatalogQuery product and are very happy with it.
Haven't looked at the ZOQLMethod from iuveno yet, but both look like
great steps in the right direction.
Thanks.
I actually need to look at Casey's code and see what I can reuse. The
efficiency of my version is not that
Having an exists function would be great. I was trying to do the same
using CatalogQuery, but I found no way to check for Missing.Value, which
is the repr() of what's in the catalog's metadata field for objects that
don't have that attribute/function. I also ran into problems doing more
complex
:33
To: Bjorn Stabell
Cc: [EMAIL PROTECTED]
Subject: RE: [Zope-dev] ZCatalog searching for missing values
I just tried out ZOQLMethod as well. Couldn't get it to work, but it
looks like really solid craftsmanship. I like the
user-friendly way of
selecting base object and the complete
E. Seifert wrote:
Hi list,
as I'm not very familiar with the internals of ZCatalog I have a question to
all you API experts:
Why does ZCatalog.py (under Zope 2.4.1) specify a 'addIndex' permission for
a method called 'manage_delIndexes' although there is no such method? The
only method
- Original Message -
From: Shane Rowatt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 00:54
Subject: [Zope-dev] ZCatalog: path summary indices not generated
Unfortunately I tried the same with the 'path' index by adding the
following
to DTMLMethod.py
On Wednesday 03 October 2001 12:54 am, Shane Rowatt allegedly wrote:
Zope Version: 2.4.1 on linux.
When I tried to add a ZCatalog followed by finding objects to index using
the default indices provided (path, summary, id, title etc), the 'path' and
'summary' indices are never generated. The
Zope Version: 2.4.1 on linux.
When I tried to add a ZCatalog followed by finding objects to index using
the default indices provided (path, summary, id, title etc), the 'path' and
'summary' indices are never generated. The 'summary' index is always an
empty string and the 'path' index is 'None'.
Hi list,
as I'm not very familiar with the internals of ZCatalog I have a question to
all you API experts:
Why does ZCatalog.py (under Zope 2.4.1) specify a 'addIndex' permission for
a method called 'manage_delIndexes' although there is no such method? The
only method I could find to delete
E. Seifert wrote:
Hi list,
as I'm not very familiar with the internals of ZCatalog I have a question to
all you API experts:
Why does ZCatalog.py (under Zope 2.4.1) specify a 'addIndex' permission for
a method called 'manage_delIndexes' although there is no such method? The
only method
Thanks for the fast reply Casey.
Casey Duncan wrote:
On Thursday 27 September 2001 12:48 pm, Oliver Bleutgen allegedly wrote:
Hi,
I'm resending this to zope-dev because on zope
nobody answered, it would be very nice if someone
could step up with a small hint.
Can somenone briefly
I'm getting a strange problem with ZCatalog, using python 2.1, Zope from
CVS.
I get all the results I expect with this:
ul
dtml-in Catalog(process_step=['start','mailed'])
li dtml-subject_name; -- dtml-relationship_name; - dtml-rater_name;
/dtml-in
/ul
But, I only get one subject_name's
Steve Alexander wrote:
I'm getting a strange problem with ZCatalog, using python 2.1, Zope from
CVS.
I get all the results I expect with this:
ul
dtml-in Catalog(process_step=['start','mailed'])
li dtml-subject_name; -- dtml-relationship_name; - dtml-rater_name;
/dtml-in
/ul
Steve Alexander wrote:
This gives partial results:
dtml-in Catalog(process_step=['start','mailed'],
sort_on='subject_name')
...because this returns a LazyCat instance, for which len() is broken.
This gives full results:
dtml-in Catalog(process_step=['start','mailed'],
Steve Alexander wrote:
Patch coming up soon...
Patch against Catalog.py, from CVS:
*** lib/python/Products/ZCatalog/Catalog.py.original
--- lib/python/Products/ZCatalog/Catalog.py.patched
***
*** 673,679
if (type(so) is type('') and
I'm updating a site that is currently using Python 1.5.2 and Zope
2.3.something to use Python 2.1 and Zope 2.4.from_cvs.
I've had a problem: most products won't initialize. They fail on an
AttributeError in SearchIndex/UnTextIndex.py related to setting up the
help system.
This ugly patch
Paulo M. Goncalves wrote:
I'm a Zope and Python newbie and I'm trying to work with Zope's ZCatalog
in a Product coded in python. Can anyone give some intro or point to
some links with info in this subject.
Maybe have a look at the SquishSite.py file in Squishdot?
The search method of the
Hi,
I'm a Zope and Python newbie and I'm trying to work with Zope's ZCatalog
in a Product coded in python. Can anyone give some intro or point to
some links with info in this subject.
Thanks,
Paulo
---
Paulo Marques
Hi Paulo..
I can't give you any real specific advice on where to get
info besides the Zope Book, but you may want to take a look
at the ZCatalog.py and Catalog.py source code (in the
ZCatalog product). Also, the (always forgotten) help system
has documentation on the Catalog's interfaces.
- C
On Sat, 30 Jun 2001 20:47:02 +0100, you wrote:
I'm trying to work with Zope's ZCatalog in a Product
coded in python. Can anyone give some intro or point
to some links with info in this subject.
There is a ZCatalog tutorial on
http://www.zope.org/Documentation/How-To/ZCatalogTutorial/
The
Chris McDonough wrote:
This purpose aligns well with those of the ArmoredCatalog proposal as well..
see http://dev.zope.org/Wikis/DevSite/Proposals/ArmoredCatalog .
But even using such a lazy catalog awareness, you might get into
trouble. Using the ZCatalog's find objects function, I
Chris McDonough wrote:
A solution might be a kind of lazy catalog awareness: Instead of
mangling a new object through one or more catalogs when it is created,
this object could be added to a list of objects to be cataloged later.
This way, the transaction to insert a new object would
Chris McDonough wrote:
This purpose aligns well with those of the ArmoredCatalog proposal as
well..
see http://dev.zope.org/Wikis/DevSite/Proposals/ArmoredCatalog .
But even using such a lazy catalog awareness, you might get into
trouble. Using the ZCatalog's find objects function,
Hello Zopistas,
we are developing a Zope 2.3.3 (py 1.5.2) application that will add, index
and reindex some tens of thousands
objects (Zclass that are DTMLDocument on steroids) on some twenty properties
each day, while
the absolute number of objects cataloged keeps growing (think at content
Giovanni Maruzzelli wrote:
Hello Zopistas,
we are developing a Zope 2.3.3 (py 1.5.2) application that will add, index
and reindex some tens of thousands
objects (Zclass that are DTMLDocument on steroids) on some twenty properties
each day, while
the absolute number of objects cataloged
On Mon, 18 Jun 2001, Andreas Jung wrote:
These are good ideas to improve the TextIndex. I already encouraged
Erik to put alltogether into a Fishbowl proposal,
Which I would do, if I had time. Which I will have, but not for another
two weeks. :-)
I'm guessing this is the point at
On Tue, 19 Jun 2001, Chris Withers wrote:
I'm guessing this is the point at which your problems become mine? ;-)
*evil laughter* Yes :-)
We should write about it and publish it to the community...
___
Zope-Dev maillist - [EMAIL PROTECTED]
Rik Hoekstra writes:
This raises the question how dependent the splitter on the paticularities of the
document source - I do not really see how different splitters could be useful
for one single document. This is perhaps less obvious than it appears, as you
may want to use
On Mon, 18 Jun 2001, Andreas Jung wrote:
These are good ideas to improve the TextIndex. I already encouraged
Erik to put alltogether into a Fishbowl proposal,
Which I would do, if I had time. Which I will have, but not for another
two weeks. :-)
Chris McDonough wrote:
It just occurred to me that depending on the splitter to do
positions makes it impossible to alter the splitter without
reindexing the whole text index... but I think this is a
reasonable tradeoff. Other opinions welcome.
This raises the question how dependent
Once you're satisfied with the implementation, would you be willing
submit the module to the collector?
Do you think you (or someone else for that matter) could have a look at
[1] the method that returns the position in the document - positionInDoc()
- to how that could be made to run
On Sun, 17 Jun 2001, Chris McDonough wrote:
index_object, because the splitter return has all the words
in order, even the dupes... as you iterate, you can mutate
Is this part of the current formal Splitter Interface? If not,
it needs to be if other code is going to depend on it.
Oh, yeah,
, June 18, 2001 11:39 AM
Subject: Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase
indexingrevisited)
On Sun, 17 Jun 2001, Chris McDonough wrote:
index_object, because the splitter return has all the words
in order, even the dupes... as you iterate, you can mutate
Is this part
Rik Hoekstra writes:
This raises the question how dependent the splitter on the paticularities of the
document source - I do not really see how different splitters could be useful
for one single document. This is perhaps less obvious than it appears, as you
may want to use different
]; [EMAIL PROTECTED]
Sent: Monday, June 18, 2001 4:59 PM
Subject: Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase
indexingrevisited)
Rik Hoekstra writes:
This raises the question how dependent the splitter on the
paticularities of the
document source - I do not really see how different
On Sat, 16 Jun 2001 [EMAIL PROTECTED] wrote:
Lexis-Nexis: Sean w/2 Upton (where w/2 is within 2 words)
This wouldn't be hard to make happen. I don't know if it is better to do
it before of after the parsers, though. Maybe a more userfriendly alias
would be best as a default?
On Fri, 15 Jun 2001, Chris McDonough wrote:
Once you're satisfied with the implementation, would you be willing
submit the module to the collector?
Do you think you (or someone else for that matter) could have a look at
[1] the method that returns the position in the document -
It just occurred to me that depending on the splitter to do
positions makes it impossible to alter the splitter without
reindexing the whole text index... but I think this is a
reasonable tradeoff. Other opinions welcome.
On Sun, 17 Jun 2001 15:57:20 -0400
Chris McDonough [EMAIL PROTECTED]
On Sun, 17 Jun 2001 21:05:47 +0200 (CEST)
Erik Enge [EMAIL PROTECTED] wrote:
On Fri, 15 Jun 2001, Chris McDonough wrote:
Once you're satisfied with the implementation, would
you be willing
submit the module to the collector?
Do you think you (or someone else for that matter) could
[EMAIL PROTECTED] writes:
A lot of folks who do power searches, say, librarians or other trained
researchers, familiar with the bells and whistles of more powerful search
engines, will want a simple operator for proximity, with the ability to
specify proximity depth:
For example:
On Fri, 15 Jun 2001, Chris McDonough wrote:
Once you're satisfied with the implementation, would you be willing
submit the module to the collector?
Will do. Have you thought about how users actually are to use
exact-phrase? What I'm thinking I will do here (currently I've only been
testing
Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 16, 2001 2:59 AM
To: Erik Enge
Cc: [EMAIL PROTECTED]
Subject: Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase
indexingrevisited)
Erik Enge wrote:
On Fri, 15 Jun 2001, Chris McDonough wrote:
Once you're
On Thu, 14 Jun 2001, Chris McDonough wrote:
Excellent! I haven't looked at it in detail, but thanks very much for
contributing it! Maybe we can roll some of this work into a
position-aware Text Index
It is actually a TextIndex on steoroids. Remove the _proximity attribute
and a couple of
On Thu, 14 Jun 2001, Erik Enge wrote:
To be really useful I think the PossitionIndex' _proximity dictionary
needs to be turned into a BTree of some sort, but apart from that I
don't know what is missing.
It's now using BTrees. And I renamed it to PositionIndex (thanks to
Chris Withers for
(was: Re: [Zope-dev] ZCatalog phrase indexing
revisited)
On Thu, 14 Jun 2001, Erik Enge wrote:
To be really useful I think the PossitionIndex' _proximity dictionary
needs to be turned into a BTree of some sort, but apart from that I
don't know what is missing.
It's now using BTrees
: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase
indexingrevisited)
On Thu, 14 Jun 2001, Erik Enge wrote:
To be really useful I think the PossitionIndex' _proximity dictionary
needs to be turned into a BTree of some sort, but apart from that I
don't know what is missing.
It's now using
[EMAIL PROTECTED]
Cc: Oren Yosifon [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, June 14, 2001 12:45 PM
Subject: Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase
indexingrevisited)
On Thu, 14 Jun 2001, Erik Enge wrote:
Me got a patch: URL:http://nittin.net/erik/software/PossitionIndex
Hi all,
I got problems similar to those described by Erik Enge a few weeks ago
with indexing a somewhat larger amount of text (~500 MB in ~194000
objects): Zope tends to eat up all available memory (640MB in my case)
and swap space.
The main problem seem to be that the classes Zcatalog,
Hi,
Is it still fair game to use the data_record_normalized_score_ attibute of
ZCatalog Brain objects?
If so, is it accurate and meaningful?
Finally, is there any way I can do the Google-esque thing of showing the snippet
of the searched etxt with the words that were found highlighted?
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
On Fri, 18 May 2001, Chris McDonough wrote:
You should be able to do this with quotes around the words, but that
feature is sort of only half-wired-up at this point. [snip] Currently,
quotes around word do the same thing as parens around words (word1
NEAR word2). Sigh.
What does NEAR mean,
Erik Enge wrote:
What does NEAR mean, then? How near is NEAR?
I believe it means within 8 words in the current implementation...
Is it in line for 2.4?
No, unfortunately. I'm not sure when it will be on the map. This is an
area where someone outside of DC sufficiently motivated to make it
On Sat, 19 May 2001, Chris McDonough wrote:
I believe it means within 8 words in the current implementation...
So, word1 NEAR wordlongerthan8characters wouldn't come up with
anything? Or is it number of characters inbetween?
Is it in line for 2.4?
No, unfortunately. I'm not sure when
I believe it means within 8 words in the current implementation...
So, word1 NEAR wordlongerthan8characters wouldn't come up with
anything? Or is it number of characters inbetween?
8 words. Not characters. But actually I just looked at the source and it's
not even that. It's treated
Hiya,
it basically says it in the subject. How can I search for word1
word2 without ZCatalog/TextIndex interpreting it as word1 or/and
word2?
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross
PROTECTED]
Sent: Friday, May 18, 2001 12:25 PM
Subject: [Zope-dev] ZCatalog/TextIndex: searching for the exact phrase
word1 word2
Hiya,
it basically says it in the subject. How can I search for word1
word2 without ZCatalog/TextIndex interpreting it as word1 or/and
word2
On Tue, 15 May 2001, Chris McDonough wrote:
I'll be curious to see the results. Hopefully you'll have better luck
under 2.3.1b2.
I've indexed about 410.000 objects now. A plain query with 'meta_type'
and 'firstname' to searchResults takes about 3-4 seconds. Not too bad,
but not that good
Erik Enge wrote:
I've indexed about 410.000 objects now. A plain query with 'meta_type'
and 'firstname' to searchResults takes about 3-4 seconds. Not too bad,
but not that good either.
I assume meta_type is a field index and 'firstname' is a text index.
I'd be curious to know how long a
On Thu, 17 May 2001, Chris McDonough wrote:
I'd be curious to know how long a query that involves only a single
field index takes, and how long a query that involves only a single text
index takes... does each take a roughly equivalent amount of time?
I might be able to check that for you
On Thu, 17 May 2001, Chris McDonough wrote:
I'd be curious to know how long a query that involves only a single
field index takes, and how long a query that involves only a single text
index takes... does each take a roughly equivalent amount of time?
I might be able to check that for
Chris McDonough wrote:
That sounds good! At least for the Catalog. Want to be a tester? ;-)
I would, especially for drop-in indexes and AND keyword indexes :-)
cheers,
Chris
___
Zope-Dev maillist - [EMAIL PROTECTED]
Subject: Re: [Zope-dev] ZCatalog, REQUEST, misc.
Chris McDonough wrote:
That sounds good! At least for the Catalog. Want to be a tester? ;-)
I would, especially for drop-in indexes and AND keyword indexes :-)
cheers,
Chris
___
Zope
Chris McDonough wrote:
Well, some revision of 2.4 alpha will ship with drop-in indexes, so using it
would be wonderful.
Lemme know as soon as it's in CVS and I'll see if I can get my Zope from source
going on WinNT, I gave up the last tiem my need came close but Brian has solved
the problem
On Thu, 17 May 2001, Chris McDonough wrote:
Well, that's good, except I thought you couldn't get rid of objects?
Muhahaha. I got those little bastards... :)
Yes, but not with 1,000,000 objects (see
lib/python/ZCatalog/tests/testCatalog.py). It would be nice to have
such a report.
If I
Well, that's good, except I thought you couldn't get rid of objects?
Muhahaha. I got those little bastards... :)
That's one way to fix it, I suppose. ;-)
Yes, but not with 1,000,000 objects (see
lib/python/ZCatalog/tests/testCatalog.py). It would be nice to have
such a report.
If
On Tue, 15 May 2001, Chris McDonough wrote:
YourCatalog.catalog_object(newobject)
as opposed from inheriting from CatalogAware and relying on manage_afterAdd
or calling object.index_item() manually. That's really it.
Well, if you put it that way :)
*removing CatalogAwareness*
(it's
I have a 1GHz Pentium with 1GB RAM and 1GB swap. After
I added all the objects with a little script (that took about 12 hours), I
was going to index them to the Catalog I have. (I had to uncomment the
index_object method's innards in CatalogAwareness.py because of a problem
I mention
Thanks for the fast reply!
On Tue, 15 May 2001, Chris McDonough wrote:
Have you read
http://www.zope.org/Members/mcdonc/HowTos/UpgradeToNewCatalog/index_html
? I suspect there will be improvement.
Surely there will be improvement, but not of factors two or three, or
more?
And, I can do the
Erik Enge wrote:
This is Zope 2.3.1b1, by the way. I'm changing to Zope 2.3.2b2 as we
speak, but I don't think it will improve performance that much.
Why nto go for 2.3.2 final? IIRC, 2.3.2b2 had some nasty ZCatalog bugs in it...
cheers,
Chris
Thanks for the fast reply!
On Tue, 15 May 2001, Chris McDonough wrote:
Have you read
http://www.zope.org/Members/mcdonc/HowTos/UpgradeToNewCatalog/index_html
? I suspect there will be improvement.
Surely there will be improvement, but not of factors two or three, or
more?
Probably
On Tue, 15 May 2001, Chris McDonough wrote:
Probably not much difference on bare bulk indexing speed, but I'll bet
that it finishes this time. ;-)
We'll see :)
I'd either make my own CatalogAware-alike mixin class that did things
a bit differently than CatalogAware (perhaps didn't index
I'd either make my own CatalogAware-alike mixin class that did things
a bit differently than CatalogAware (perhaps didn't index on add, and
didn't unindex on delete), or I'd just manage the whole lot completely
manually. (How often will each of these million objects change?)
Not often.
Why CatalogAware? You do know that the only thing CatalogAware does
is add/remove/reindex objects in one particular Catalog when they're
added, removed, or changed?
Yes, and this is all I need. Where is the overhead with CatalogAware
objects, then?
Any time a parent object is deleted
Title: RE: [Zope-dev] ZCatalog features
Sorry... a user came into the office as I was writing that email and completely broke my train of though :( g...
What I meant to say was, I think that access to the Union and Intersection operators would be a very useful feature as long
RE: [Zope-dev] ZCatalog features What I meant to say was, I think that
access to the Union and Intersection
operators would be a very useful feature as long as it would not involve
a change to any other documented APIs etc...
OK, good this is what's specified in the fishbowl proposal
On Fri, 27 Apr 2001, Chris Withers wrote:
Wildcards? Hmmm... that's enticing, where and how will they be supported?
Wildcards are supported (and have been for a while) in text index searches
if you specify a globbing vocabulary at Catalog creation time.
--RDM
Hia guys,
A couple of comments and questions about the ZCatalog:
Is it possible to pass an argument to the catalog so that returned brains
would instead be actual objects?
Given that we have to manually join search results, because ZCatalog
doesn't support ORs etc (for FieldIndexes), wouldn't
Morten W. Petersen wrote:
Hia guys,
A couple of comments and questions about the ZCatalog:
Is it possible to pass an argument to the catalog so that returned brains
would instead be actual objects?
Not currentl, although the new brain objects have a method 'getObject'
that makes
Michel Pelletier wrote:
+There are some rules to consider when querying this method:
+
+- an empty query mapping (or a bogus REQUEST) returns all
+ items in the
+catalog.
Is it only me that finds this really irritating? Surely a blank query
Michel Pelletier wrote:
+There are some rules to consider when querying this method:
+
+- an empty query mapping (or a bogus REQUEST) returns all
+ items in the
+catalog.
Is it only me that finds this really irritating? Surely a blank
Chris Withers writes:
+- an empty query mapping (or a bogus REQUEST) returns all
+ items in the
+catalog.
Is it only me that finds this really irritating? Surely a blank query mapping
should return nothing, not everything?
(at the least it'd
Chris McDonough wrote:
In the meantime, if you're desperate, here's a temporary fix...
replace the items method of the UnTextIndex class in UnTextIndex.py. The
current method looks something like this:
def items(self):
reurn self._index.items()
change it to:
def items(self):
d'oh!
Error type: strongTypeError/strongbr
Error value: strongunsubscriptable object/strong
Traceback (innermost last):
File E:\Zope\2379A4~1.1\lib\python\ZPublisher\Publish.py, line 223, in
publish_module
File E:\Zope\2379A4~1.1\lib\python\ZPublisher\Publish.py, line 187, in
Can you give me something that reproduces this?
- Original Message -
From: Chris Withers [EMAIL PROTECTED]
To: Chris McDonough [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, April 23, 2001 8:32 AM
Subject: Re: [Zope-dev] ZCatalog wgh!: The Error
d'oh!
Error type
Sorry, I meant UnIndex.py! Doh!
There is a more comprehensive fix checked in to 2.3.2b2.
In the meantime, if you're desperate, here's a temporary fix...
replace the items method of the UnTextIndex class in UnTextIndex.py.
The
current method looks something like this:
def
Chris McDonough wrote:
I know why this is, but I'm not going to fix it tonight... sigh.
I need to go cry on Jim's shoulder for a bit before I check a proper fix in.
I'm guessing the fix for this is in 2.3.2b1?
cheers,
Chris
___
Zope-Dev
I have a Python Product with several subobjects which are not products
in their own right. I'm trying to make these subobjects selectable in
the Find Objects tab of a ZCatalog, so I can restrict the cataloged
objects to these types.
Whats the right way to do this?
Since they're not addable
Hi Chris (and anyone else who can help),
Hopefully you may be able to save my sanity. Querying a ZCatalog(2.3.1, running
update thing made no difference), I'm getting the following error:
type: exceptions.TypeError
value: len() of unsized object
sr = self.searchResults(kw)
File
What's the query?
- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, April 12, 2001 12:13 PM
Subject: [Zope-dev] ZCatalog wgh!
Hi Chris (and anyone else who can help),
Ugh. I know why this is. Ugh. Ugh Ugh.
Give me an hour.
- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, April 12, 2001 12:13 PM
Subject: [Zope-dev] ZCatalog wgh!
I have just installed Zope 2.3.1 and the latest CMF. When trying to
publish some CMF resource after submitting a form to edit the site
config, I get a TypeError: expected integer key. The stack traceback is
included below. A more experienced user has said that this looks like
it could be
Adam Chlipala [EMAIL PROTECTED] wrote:
I have just installed Zope 2.3.1 and the latest CMF. When trying to
publish some CMF resource after submitting a form to edit the site
config, I get a TypeError: expected integer key. The stack traceback is
included below. A more experienced user has
Chris Withers wrote:
Correct me if I'm wrong, but if I query a field index with an empty string, I
expect to get returned all catalogued objects where that attribute's value _is_
the empty string.
Anyway, this happens most of the time and I wish it happened all the time.
Basically, the
t, however!
;-)
- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; "Chris McDonough" [EMAIL PROTECTED]
Sent: Thursday, April 05, 2001 6:41 PM
Subject: [Zope-dev] ZCatalog FieldIndex Bug (Fix?)
Chris Withers wrote:
Correct me if I'm wrong
Chris McDonough wrote:
You can run them by doing "python testCatalog.py -p"... some will fail due
to not having various files on the filesystem, but most should pass.
Ah... this doesn't work if you have Python 2.0 installed as your default python
and a Zope binary release ;-)
Zope needs
101 - 200 of 333 matches
Mail list logo