[Zope-dev] Re: New-style ExtensionClasses (Zope 2.8) -- MRO issue

Christian Heimes heimes at faho.rwth-aachen.de
Mon Nov 24 12:03:15 EST 2003


Sidnei da Silva wrote:
> I'm going to fix those (after my english class) and then try something
> harder ;)

Here is more stuff:

 >>> import mrohell
 >>> base = mrohell.step1()
 >>> mrohell.step2(base, mroonly=True)
Couldn't get mro for  Products.Archetypes.BaseBTreeFolder.BaseBTreeFolder
Couldn't get mro for  Products.Archetypes.BaseFolder.BaseFolder
Couldn't get mro for 
Products.Archetypes.OrderedBaseFolder.OrderedBaseFolder
Couldn't get mro for 
Products.GroupUserFolder.GroupUserFolder.GroupUserFolder
Couldn't get mro for  Products.CMFPlone.PloneFolder.BasePloneFolder
Couldn't get mro for  Products.CMFPlone.LargePloneFolder.LargePloneFolder
Couldn't get mro for  Products.Archetypes.BaseFolder.BaseFolderMixin
Couldn't get mro for  Products.CMFDefault.SkinnedFolder.SkinnedFolder
Couldn't get mro for  Products.CMFPlone.PloneFolder.PloneFolder
Couldn't get mro for  Products.Archetypes.ArchetypeTool.ArchetypeTool
Couldn't get mro for  Products.CMFFormController.Script.FSPythonScript
Couldn't get mro for 
Products.CMFFormController.FSControllerValidator.FSControllerValidator
Couldn't get mro for  Products.CMFCore.FSPythonScript.FSPythonScript
Couldn't get mro for 
Products.CMFFormController.FSControllerPythonScript.FSControllerPythonScript
Couldn't get mro for  Products.CMFCore.FSPageTemplate.FSPageTemplate
Couldn't get mro for 
Products.CMFFormController.FSControllerPageTemplate.FSControllerPageTemplate
Couldn't get mro for  Products.CMFPlone.PropertiesTool.PropertiesTool
Couldn't get mro for  Products.CMFCore.FSZSQLMethod.FSZSQLMethod
Couldn't get mro for  Products.CMFPlone.FactoryTool.TempFolder
Couldn't get mro for  Products.Archetypes.OrderedBaseFolder.OrderedFolder
Couldn't get mro for  Products.Archetypes.examples.SimpleFolder.SimpleFolder
526 21 210


It seems that there are only several classes that cause problems:
Products.CMFDefault.SkinnedFolder.SkinnedFolder
Products.Archetypes.BaseFolder.BaseFolder
Products.CMFCore.FS*
Products.Archetypes.BaseFolder.BaseFolderMixin

AFAIK most of the other classes with mro problems are just subclasses of 
these classes above.

Christian





More information about the Zope-Dev mailing list