[Zope-dev] IMPORTANT! Zcatalog path handling changes in 2.3

Steve Alexander steve@cat-box.net
Mon, 18 Dec 2000 21:24:03 +0000


Christopher Petrilli wrote:

>
> You can find a tarball that contains everything updated here:
> 
>     http://www.zope.org/Members/petrilli/zcatalog-pathsupdate.tgz
> 
> If you untar this in the root of your Zope installation you should get a new
> Zcatalog that has all the new code in it.  Please read and test... This is
> especially important for people who are using Squishdot/etc.  We hope to
> make a full code release with 2.3a2 sometime very soon.
> 
> PLEASE take a look at this, and provide feedback ASAP.

Doesn't work with 2.3 from CVS, 2000-12-18 21:21 UTC

I get a traceback like this:

------
2000-12-18T21:16:09 ERROR(200) Zope Couldn't install ZCatalog
Traceback (innermost last):
   File /mnt/scratch/dl/zope/wombat/lib/python/OFS/Application.py, line 
496, in install_products
     (Object: ApplicationDefaultPermissions)
     (Info: ZCatalog)
   File 
/mnt/scratch/dl/zope/wombat/lib/python/Products/ZCatalog/__init__.py, 
line 113, in initialize
   File /mnt/scratch/dl/zope/wombat/lib/python/App/ProductContext.py, 
line 365, in registerHelp
   File /mnt/scratch/dl/zope/wombat/lib/python/App/ProductContext.py, 
line 298, in registerHelpTopic
   File /mnt/scratch/dl/zope/wombat/lib/python/OFS/ObjectManager.py, 
line 298, in _setObject
     (Object: Traversable)
   File /mnt/scratch/dl/zope/wombat/lib/python/HelpSys/HelpTopic.py, 
line 151, in manage_afterAdd
     (Object: HelpTopicBase)
   File /mnt/scratch/dl/zope/wombat/lib/python/HelpSys/HelpTopic.py, 
line 164, in index_object
     (Object: HelpTopicBase)
   File 
/mnt/scratch/dl/zope/wombat/lib/python/Products/ZCatalog/ZCatalog.py, 
line 379, in catalog_object
     (Object: Traversable)
   File 
/mnt/scratch/dl/zope/wombat/lib/python/Products/ZCatalog/Catalog.py, 
line 357, in catalogObject
   File 
/mnt/scratch/dl/zope/wombat/lib/python/SearchIndex/UnTextIndex.py, line 
242, in index_object
   File /mnt/scratch/dl/zope/wombat/lib/python/HelpSys/APIHelpTopic.py, 
line 135, in SearchableText
     (Object: HelpTopicBase)
TypeError: not enough arguments for format string



And a bunch of warnings like this:

------
2000-12-18T21:16:09 ERROR(200) Zope manage_beforeDelete() threw
Traceback (innermost last):
   File /mnt/scratch/dl/zope/wombat/lib/python/OFS/ObjectManager.py, 
line 335, in _delObject
     (Object: Traversable)
   File /mnt/scratch/dl/zope/wombat/lib/python/HelpSys/HelpTopic.py, 
line 157, in manage_beforeDelete
     (Object: HelpTopicBase)
   File /mnt/scratch/dl/zope/wombat/lib/python/HelpSys/HelpTopic.py, 
line 167, in unindex_object
     (Object: HelpTopicBase)
   File 
/mnt/scratch/dl/zope/wombat/lib/python/Products/ZCatalog/ZCatalog.py, 
line 392, in uncatalog_object
     (Object: Traversable)
   File 
/mnt/scratch/dl/zope/wombat/lib/python/Products/ZCatalog/Catalog.py, 
line 389, in uncatalogObject
   File 
/mnt/scratch/dl/zope/wombat/lib/python/SearchIndex/UnKeywordIndex.py, 
line 151, in unindex_object
NameError: set

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net