Attribute Error: archetype_tool / mimetype_registry / reference_catalog

by Jens W. Klein last modified Dec 30, 2008 03:08 PM
Contributors: Alexander Limi
After re- or uninstalling an Archetypes-related Product, this error can appear. AttributeErrors for mimetype_registry or reference_catalog may also be symptoms of the same problem.

This problem is related to a CMFQuickinstaller bug:

Quickinstaller stores what is installed and any dependencies between products. It uninstalls Archetypes if it was installed as a dependency of a Product. QuickInstaller does not care about dependencies from Products installed after you have installed Archetypes first.

If you run into this bug just install Archetypes again using the Add/Remove Products control panel. You may have to remove the information records of Archetypes and related Products (MimetypeRegistry, PortalTransforms) from Quickinstaller using it's contents tab in the Zope Management Interface.

If you want to avoid seeing this bug in the future, do not install a Archetypes together with an Archetypes-dependent Product. Install Archetypes separately first, then the product you want to add.

This bug is annoying, but not critical. It should be fixed in one of the next releases.