[ZCM] [ZC] 297/ 3 Assign "Catalog TextIndex splitter encoding"

Collector: Zope Bugs and Patches ... zope-coders@zope.org
Wed, 20 Mar 2002 11:57:25 -0500


Issue #297 Update (Assign) "Catalog TextIndex splitter encoding"
 Status Accepted, Zope/bug medium
To followup, visit:
  http://collector.zope.org/Zope/297

==============================================================
= Assign - Entry #3 by ajung on Mar 20, 2002 11:56 am

 Status: Pending => Accepted

 Supporters added: ajung


________________________________________
= Comment - Entry #2 by ajung on Mar 20, 2002 11:52 am

try to use pdb to investigate what the 'splitter'
object is in TextIndex.py (around line 312) before
'for word in list(splitter(.....))'.


________________________________________
= Request - Entry #1 by antonio on Mar 16, 2002 12:55 pm

I've migrated from 2.4.3 to 2.5.0 and my all my indexing where lost (empty). I had to reindex all.
The most strange thing is that I cannot use TextIndex. When I create a TextIndex (e.g. a string property 'Spanish') and try to index I get the following:
Error Type: TypeError
Error Value: Splitter() got an unexpected keyword argument 'encoding'

Traceback (innermost last):
  File /prj/glossary2/lib/python/ZPublisher/Publish.py, line 150, in publish_module
  File /prj/glossary2/lib/python/ZPublisher/Publish.py, line 114, in publish
  File /prj/glossary2/lib/python/Zope/__init__.py, line 158, in zpublisher_exception_hook
    (Object: )
  File /prj/glossary2/lib/python/ZPublisher/Publish.py, line 98, in publish
  File /prj/glossary2/lib/python/ZPublisher/mapply.py, line 88, in mapply
    (Object: manage_reindexIndex)
  File /prj/glossary2/lib/python/ZPublisher/Publish.py, line 39, in call_object
    (Object: manage_reindexIndex)
  File /prj/glossary2/lib/python/Products/ZCatalog/ZCatalog.py, line 455, in manage_reindexIndex
    (Object: GlossaryCatalog)
  File /prj/glossary2/lib/python/Products/ZCatalog/ZCatalog.py, line 441, in reindexIndex
    (Object: GlossaryCatalog)
  File /prj/glossary2/lib/python/Products/ZCatalog/ZCatalog.py, line 480, in catalog_object
    (Object: GlossaryCatalog)
  File /prj/glossary2/lib/python/Products/ZCatalog/Catalog.py, line 367, in catalogObject
  File /prj/glossary2/lib/python/Products/PluginIndexes/TextIndex/TextIndex.py, line 312, in index_object
    (Object: Spanish)
TypeError: (see above)



==============================================================