[Zope-CMF] How do i fix this error?

Dieter Maurer dieter at handshake.de
Thu Jan 1 14:12:46 EST 2004


Braun Brelin wrote at 2003-12-30 17:33 +0000:
>I've created an archetype content type that inherits from the
>CMFDefault.NewsItem class.  At least that's what I want to have happen,
>but I get the following error when I start zope:
>
>AttributeError: 'Products.CMFDefault.NewsItem' module has no attribute
>'__module__'
>
>
>How do I get around this problem? 

"Products.CMFDefault.NewsItem" is a module while
(almost surely) you want to use the class
"Products.CMFDefault.NewsItem.NewsItem".


Note: carefully reading error messages often provides enough
clues to understand the problem ...

-- 
Dieter



More information about the Zope-CMF mailing list