--- Rob Boyd <[EMAIL PROTECTED]> wrote:

> 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.


Never mind... when changing to import CMFBTreeFolder from CMFCore
rather than BTreeFolder2 product, I was importing the entire module,
not the class. And then referred to the module rather than the class in
MyClass(CMFBTreeFolder).

Still haven't deciphered the error messages, though (still curious even
though my problem is fixed). Reading David Mertz's article on metaclass
programming now, on IBM's developerworks.

Rob


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

_______________________________________________
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

Reply via email to