[ZCM] [ZC] 226/ 6 Comment "Indexing of objects on Zope 2.4.4b1"
Collector: Zope Bugs and Patches ...
zope-coders@zope.org
Sat, 16 Mar 2002 12:50:25 -0500
Issue #226 Update (Comment) "Indexing of objects on Zope 2.4.4b1"
Status Pending, Catalog/bug medium
To followup, visit:
http://collector.zope.org/Zope/226
==============================================================
= Comment - Entry #6 by antonio on Mar 16, 2002 12:47 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)
________________________________________
= Comment - Entry #5 by ajung on Feb 19, 2002 2:06 pm
Upgrading a sendbox with a ZCatalog from 2.3.3/2.4.1 to
2.5.1 worked without any problems.
- aj
________________________________________
= Comment - Entry #4 by ajung on Feb 19, 2002 11:56 am
..still unable to reproduce that.
I created a ZCatalog under 2.4.4 and indexed all objects, copied
the Data.fs to a 2.5.1 sandbox and started Zope without a problem...
________________________________________
= Comment - Entry #3 by chrisw on Feb 16, 2002 5:51 am
I've seen lots of these when bringing 2.4.x Data.fs'es up to 2.5.0.
I fixed it by deleting the contents of the Products object through the ZMI.
Why does this happen?
________________________________________
= Comment - Entry #2 by ajung on Feb 15, 2002 8:04 pm
Please provide more informations. Are you running a new installation
or did you upgrade ?
- aj
________________________________________
= Request - Entry #1 by Anonymous User on Feb 15, 2002 8:02 pm
File /services/local/zope/lib/python/Products/ZCatalog/ZCatalog.py, line
+554, in catalog_object
(Object: Catalog)
File /services/local/zope/lib/python/Products/ZCatalog/Catalog.py, line
+439, in catalogObject
File
+/services/local/zope/lib/python/Products/PluginIndexes/TextIndex/TextIndex.
+py, line 363, in index_object
(Object: text)
AttributeError: Splitter
==============================================================