[Setup] Re: migrating a site with default encoding other than utf-8

Steve Rauch rauchs54 at yahoo.com
Thu Feb 9 20:49:39 UTC 2006

Lauri Virtanen wrote:
> In evens_log there are lines: 
> ------
> 2006-02-09T11:40:53 ERROR(200) Types Tool _queryFactoryMethod raised an exception
> Traceback (most recent call last):
>   File "/Applications/Plone2/Sites/intra/Products/CMFCore/TypesTool.py", line 518, in _queryFactoryMethod
>     p = dispatcher[self.product]
>   File "/Applications/Plone2/Library/Software/Zope278/Zope/lib/python/App/FactoryDispatcher.py", line 26, in __getitem__
>     return self.__bobo_traverse__(None, name)
>   File "/Applications/Plone2/Library/Software/Zope278/Zope/lib/python/App/FactoryDispatcher.py", line 29, in __bobo_traverse__
>     product=self.aq_acquire('_getProducts')()._product(name)
>   File "/Applications/Plone2/Library/Software/Zope278/Zope/lib/python/App/Product.py", line 67, in _product
>     def _product(self, name): return getattr(self, name)
> AttributeError: CMFCollector

If this is the same issue that I have seen, when you remove a Product 
you might still have portal_types that it created. Go to the 
ZMI/portal_types and see if you have types that you are sure came from 
those Products you removed. I think you can just remove them.

All caveats about back-ups, being careful of what you delete, apply.

Steve Rauch

More information about the Setup mailing list