The bug collector doesn't appear to be working, so I apologize if this issue has already been raised. ZCatalog is failing for me when I attempt to reindex the catalog after adding a keyword index. Zope complains of a name error for Except on line 118 of UnKeywordIndex.py. Here's the code in question: # First we need to see if there's anything interesting to look at # self.id is the name of the index, which is also the name of the # attribute we're interested in. If the attribute is callable, # we'll do so. try: newKeywords = getattr(obj, self.id) if callable(newKeywords): newKeywords = newKeywords() except Except: # ******** Line 118 newKeywords = MV Could the author have meant to write 'Exception' here instead of 'Except'? I am running Zope 2.3.0 stable. -- Ed Goppelt
On Fri, 16 Mar 2001 08:48:09 -0500, Edmund Goppelt <goppelt@goppelt.net> wrote:
Could the author have meant to write 'Exception' here instead of 'Except'?
I am running Zope 2.3.0 stable.
The current cvs has this changed to 'except AttributeError' Toby Dickenson tdickenson@geminidataloggers.com
participants (2)
-
Edmund Goppelt -
Toby Dickenson