[Zope3-Users] Trying to use browser:form -> 404
Garanin Michael
garanin at m-lan.ru
Sat Feb 11 05:59:00 EST 2006
> File "/home/florian/Zope3/src/zope/schema/_bootstrapfields.py", line 171, in
> get
> return getattr(object, self.__name__)
> ForbiddenAttribute: ('blablubb', <CS.centershock.centershock.Centershock
> object at 0xb757a46c>)
>
That is problem? You object don't have '__name__' attribute.
See 'buddydemo.Buddy' please.
There are two variants:
1) in MyClass write ' __name__ = __parent__ = None'
2) or MyClass must implement ILocation
More information about the Zope3-users
mailing list