If you have write access to the Zope CVS, go ahead.
Thanks,
Andreas
--On Donnerstag, 21. November 2002 17:35 + seb bacon [EMAIL PROTECTED]
wrote:
I've already fixed it; should I commit it or do you want the patches?
Andreas Jung wrote:
Please file a collector issue and assign it to me.
Leonardo Rochael Almeida wrote:
If you are to ignore errors, please ignore specific errors that are
known to happen. Please don't use a generic except.
...or re-raise only ConflictErrors. Hmmm... this issue is perhaps deeper than it
first appeared. Are conflict errors swallowed by the other
Anyone object to me changing PathIndex so it swallows exceptions and
logs them when unindexing content?
On upgrading to Zope 2.6 some if the unindex paths seem to have got
hosed, and I don't want this breaking my site.
___
Zope-Dev maillist -
+1 from me... most other PluginIndexes already fail gracefully when
something to be unindexed has disappeared. IMHO all indexes should
behave that way.
jens
On Thursday, Nov 21, 2002, at 08:24 US/Eastern, seb bacon wrote:
Anyone object to me changing PathIndex so it swallows exceptions and
On Thu, Nov 21, 2002 at 08:52:41AM -0500, Jens Vagelpohl wrote:
| +1 from me... most other PluginIndexes already fail gracefully when
| something to be unindexed has disappeared. IMHO all indexes should
| behave that way.
Now that you mentioned, I got an error while trying to index NZO using
Please file a collector issue and assign it to me.
-aj
--On Donnerstag, 21. November 2002 13:24 + seb bacon [EMAIL PROTECTED]
wrote:
Anyone object to me changing PathIndex so it swallows exceptions and logs
them when unindexing content?
On upgrading to Zope 2.6 some if the unindex paths
Sidnei da Silva wrote:
Now that you mentioned, I got an error while trying to index NZO using
ZCTextIndex, so I guess it is suffering from the same issue. Anyone
can confirm?
No, no, failure during _indexing_ is a good thing (tm).
Failure during _unindexing_ is a bad thing (r).
cheers,
On Thu, 2002-11-21 at 11:24, seb bacon wrote:
Anyone object to me changing PathIndex so it swallows exceptions and
logs them when unindexing content?
This sounds REALLY LOUD ALARMS in my head. There is a class of errors
(subclasses of ConflictError) that should never be ingored because
they're
I've already fixed it; should I commit it or do you want the patches?
Andreas Jung wrote:
Please file a collector issue and assign it to me.
-aj
--On Donnerstag, 21. November 2002 13:24 + seb bacon
[EMAIL PROTECTED] wrote:
Anyone object to me changing PathIndex so it swallows exceptions
, August 19, 2002 11:14 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: [Zope-dev] PathIndex doesn't index last part of path
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday
:49
Subject: RE: [Zope-dev] PathIndex doesn't index last part of path
I'm all for putting together a proposal to do this, soliciting comments,
and
contributing to the effort. What would be the right venue for that?
On the other hand, AFAIK, the addition of a depth query feature to
PathIndex
otherwise.
-Casey
- Original Message -
From: Andy McKay [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, August 17, 2002 6:22 PM
Subject: [Zope-dev] PathIndex doesn't index last part of path
This is mostly a question for AJ, but any input would be great. This bug
bit
me today
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, August 20, 2002 00:58
Subject: RE: [Zope-dev] PathIndex doesn't index last part of path
One thing that seems to be feature-broken about PathIndexes, though
If you call getObject, that actually does traversal anyway.
Right, in that situation it would be pointless...
You rock, Casey, thanks. I was thinking more about adding:
def getMetadataFromPath(self, path):
get metadata for an object using its path
rid = self._catalog.uids[path]
PROTECTED]
To: Casey Duncan [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, August 18, 2002 2:54 AM
Subject: Re: [Zope-dev] PathIndex doesn't index last part of path
If you call getObject, that actually does traversal anyway.
Right, in that situation it would be pointless...
You rock, Casey
Woohoo my first check in ;)
--
Andy McKay
Agmweb Consulting
http://www.agmweb.ca
- Original Message -
From: Casey Duncan [EMAIL PROTECTED]
To: Andy McKay [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, August 17, 2002 12:14 PM
Subject: Re: [Zope-dev] PathIndex doesn't index
Casey Duncan writes:
A PathIndex is designed to make it more efficient to aggregate objects at
various levels of containment. Their primary use case AFAIK is to allow to
to limit queries to particular places within a hierarchy. The idea is to
eliminate recursive searching of leaf level
Duncan [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, August 18, 2002 2:54 AM
Subject: Re: [Zope-dev] PathIndex doesn't index last part of path
If you call getObject, that actually does traversal anyway.
Right, in that situation it would be pointless...
You rock, Casey, thanks. I
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, August 18, 2002 6:55 PM
Subject: Re: [Zope-dev] PathIndex doesn't index last part of path
Hi,
Sorry, maybe I'm too late ;) but I have a note here.
uid in Cataloc can be path but it can be any arbitrary unigue
identifier. In system I'm working
This is mostly a question for AJ, but any input would be great. This bug bit
me today and is documented here:
http://collector.zope.org/Zope/449/ISSUE_TRANSCRIPT/view
I dont understand the brief argument against this one, it would make sense
to me to able to pull an object out of the catalog
Message -
From: Andy McKay [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, August 17, 2002 6:22 PM
Subject: [Zope-dev] PathIndex doesn't index last part of path
This is mostly a question for AJ, but any input would be great. This bug
bit
me today and is documented here:
http
Message -
From: Andy McKay [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, August 17, 2002 6:22 PM
Subject: [Zope-dev] PathIndex doesn't index last part of path
This is mostly a question for AJ, but any input would be great. This bug
bit
me today and is documented here:
http
[snip]
Hmm ok, I can see those reasons.
Unfortunately, ZCatalog does not expose this to the surface but you
can write a trivial external method to do it. And I might entertain adding
a
ZCatalog API to do so if I had a good use case.
Ah... I think this might be the best idea, I'll add that in
The search method of PathIndex class returns varying types depending on
the success of the search.
If the search fails a list object is returned, if the search succeeds an
object of type BTrees.IIBTree.IISet is returned.
This causes a problem in _apply_index in PathIndex when PathIndex tries
Let me know what you think
You should submit this to the Collector:
http://collector.zope.org
I have already had a good experience with it ;-)
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No
I've looked hard at the two pages returned for PathIndex on
Zope.org, and cannot make sense out of how to use 'level'. From
the example, which is full of paths like '/aa/bb/cc' and
'/cc/bb/cc' - all of the same size and using the same three
letters -, I cannot tell if I can do a path query
- Original Message -
From: Jeffrey P Shell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, November 19, 2001 21:36
Subject: [Zope-dev] PathIndex query options
I've looked hard at the two pages returned for PathIndex on
Zope.org, and cannot make sense out
27 matches
Mail list logo