I had a Zcatalog working nice and dandy, cataloging employee-zclasses on our intranet (zope CVS-version).. I left it by itself for some weeks, (cannot remember to have done anything to change it.. ) and now i returns Error Type: TypeError Error Value: getattr, argument 2: expected string, ImplicitAcquirerWrapper found - Everytime i call reindex-object ?! I am completely at loss here - please help me out. Traceback (innermost last): File /usr/local/funcom/intranett/python/Zope2/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /usr/local/funcom/intranett/python/Zope2/lib/python/ZPublisher/Publish.py, line 179, in publish File /usr/local/funcom/intranett/python/Zope2/lib/python/Zope/__init__.py, line 211, in zpublisher_exception_hook (Object: ElementWithAttributes) File /usr/local/funcom/intranett/python/Zope2/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/funcom/intranett/python/Zope2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: loop) File /usr/local/funcom/intranett/python/Zope2/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: loop) File /usr/local/funcom/intranett/python/Zope2/lib/python/OFS/DTMLMethod.py, line 151, in __call__ (Object: loop) File /usr/local/funcom/intranett/python/Zope2/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: loop) File /usr/local/funcom/intranett/python/Zope2/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: objectItems(['employee'])) File /usr/local/funcom/intranett/python/Zope2/lib/python/OFS/DTMLMethod.py, line 147, in __call__ (Object: fix) File /usr/local/funcom/intranett/python/Zope2/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: fix) File /usr/local/funcom/intranett/python/Zope2/lib/python/Products/ZCatalog/CatalogAwareness.py, line 181, in index_object (Object: CatalogAware) File /usr/local/funcom/intranett/python/Zope2/lib/python/Products/ZCatalog/ZCatalog.py, line 398, in catalog_object (Object: ElementWithAttributes) File /usr/local/funcom/intranett/python/Zope2/lib/python/Products/ZCatalog/Catalog.py, line 366, in catalogObject File /usr/local/funcom/intranett/python/Zope2/lib/python/SearchIndex/UnTextIndex.py, line 228, in index_object File /usr/local/funcom/intranett/python/Zope2/lib/python/SearchIndex/UnTextIndex.py, line 175, in getLexicon TypeError: (see above) -- Geir Bækholt Hansen web-developer/designer geirh@funcom.com http://www.funcom.com
Geir B Hansen wrote:
I had a Zcatalog working nice and dandy, cataloging employee-zclasses on our intranet (zope CVS-version).. I left it by itself for some weeks, (cannot remember to have done anything to change it.. ) and now i returns
Error Type: TypeError Error Value: getattr, argument 2: expected string, ImplicitAcquirerWrapper found
Traceback (innermost last): File /usr/local/funcom/intranett/python/Zope2/lib/python/SearchIndex/UnTextIndex.py, line 175, in getLexicon TypeError: (see above)
Sometime between when your catalog was generated and when you tried to re index the content you updated your CVS sandbox. When you did this, you got the new catalog code that doesn't work with old catalogs. This non-backwards compatability has since been fixed. If you update your CVS to the most recent version this error should go away. Let me know if it doesn't. -Michel
on Tuesday, March 28, 2000 Michel Pelletier wrote : [snip] MP> Sometime between when your catalog was generated and when you tried to MP> re index the content you updated your CVS sandbox. When you did this, MP> you got the new catalog code that doesn't work with old catalogs. MP> This non-backwards compatability has since been fixed. If you update MP> your CVS to the most recent version this error should go away. MP> Let me know if it doesn't. MP> -Michel i didn't work, even after updating.. Then, assuming deleting and recreating the catalog would solve the problem, i find that i cannot even create a new Zcatalog : Error Type: KeyError Error Value: VocabularyIDs Traceback (innermost last): File /usr/local/funcom/intranett/python/Zope2/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /usr/local/funcom/intranett/python/Zope2/lib/python/ZPublisher/Publish.py, line 179, in publish File /usr/local/funcom/intranett/python/Zope2/lib/python/Zope/__init__.py, line 211, in zpublisher_exception_hook File /usr/local/funcom/intranett/python/Zope2/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/funcom/intranett/python/Zope2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: addZCatalog) File /usr/local/funcom/intranett/python/Zope2/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: addZCatalog) File /usr/local/funcom/intranett/python/Zope2/lib/python/App/special_dtml.py, line 120, in __call__ (Object: addZCatalog) (Info: /funcom/intranett/python/Zope2/lib/python/Products/ZCatalog/addZCatalog.dtml) File /usr/local/funcom/intranett/python/Zope2/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: addZCatalog) File /usr/local/funcom/intranett/python/Zope2/lib/python/DocumentTemplate/DT_In.py, line 630, in renderwob (Object: VocabularyIDs) KeyError: (see above) -- Geir Bækholt Hansen web-developer/designer geirh@funcom.com http://www.funcom.com
participants (2)
-
Geir B Hansen -
Michel Pelletier