[Zope-CMF] Metaclass of derived class question

Rob Boyd boydrobh at yahoo.com
Wed Dec 7 15:28:16 EST 2005


I recently moved a CMF product I developed from older Zope/CMF versions
to newer, and have run into "metaclass of a derived class must be a
(non-strict) subclass of the metaclasses of all its bases" when
attempting to import the product.

I'm reading up on metaclass programming now, because this is totally
foreign to me. What change produced this? The use of new-style classes
in Zope 2.8?

My product was developed with Zope 2.7.3, CMF 1.5.0, and Python 2.3.3.
I am porting to Zope 2.8.4, CMF 1.5.5, Python 2.4.2.

My offending class is:
class ProxyGroup(CMFCatalogAware, CMFBTreeFolder)

I previously had imported CMFBTreeFolder from the BTreeFolder2 product,
but now am trying to import from CMFBTreeFolder within CMFCore.

Any tips, explanations?

Thanks,
Rob



		
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 



More information about the Zope-CMF mailing list