[Zope] Can not import PersistentMapping
Dieter Maurer
dieter at handshake.de
Sat Jan 24 05:31:37 EST 2004
Sean wrote at 2004-1-23 22:07 -0500:
>When I include the following line of code:
>
> from Persistence.PersistentMapping import PersistentMapping
>
>in my Product, it causes this error when I try to import it:
>
> AttributeError: 'Persistence.PersistentMapping' module has no attribute
>'__basicnew__'
In my Zope codebase (Zope 2.7b3), "Persistence.PersistentMapping"
is itself the class (and not a module).
"from Persistence.PersistentMapping import PersistentMapping"
gives me:
"ImportError: No module named PersistentMapping".
--
Dieter
More information about the Zope
mailing list