KLEIN Stéphane wrote at 2005-5-5 19:40 +0200: > ... > typesTool.manage_addTypeInformation( > add_meta_type = > factory_type_information['meta_type'], > id = factory_type_information['id'] > ) > ... > File >"/home/harobed/newzope/Products/ZHelloWorld/Extensions/Install.py", line >22, in install > ) > > File "/home/harobed/newzope/Products/CMFCore/TypesTool.py", line 598, >in manage_addTypeInformation > raise ValueError, ( > >ValueError: Meta type ZHelloWorld is not a type class.
The "add_meta_type" must refer to a class described by "Products.CMFCore.TypesTool.typeClasses". By default, "typeClasses" describes just "FactoryTypeInformation" and "ScriptableTypeInformation". Obviously, your "add_meta_type" does not fulfill this requirement. -- Dieter _______________________________________________ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests