[Zope-dev] Problems with RackMountable

Itamar Shtull-Trauring itamar@maxnm.com
Sun, 28 May 2000 16:08:35 +0300


I'm adding some RackMountable objects (subclassed from RackMountable and
SimpleItem.Item) and when I try to access them via URL I get an
AttributeError like they don't have attribute __of__:

               Traceback (innermost last):
                 File /hd1/zope/lib/python/ZPublisher/Publish.py, line 214,
in publish_module
                 File /hd1/zope/lib/python/ZPublisher/Publish.py, line 179,
in publish
                 File /hd1/zope/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
                   (Object: ElementWithAttributes)
                 File /hd1/zope/lib/python/ZPublisher/Publish.py, line 151,
in publish
                 File /hd1/zope/lib/python/ZPublisher/BaseRequest.py, line
308, in traverse
                 File
/hd1/zope/lib/python/Products/ZPatterns/Specialists.py, line 27, in
__bobo_traverse__
                   (Object: SheetProviderContainer)
                 File
/hd1/zope/lib/python/Products/ZPatterns/Specialists.py, line 39, in getItem
                   (Object: SheetProviderContainer)
                 File /hd1/zope/lib/python/Products/ZPatterns/Rack.py, line
515, in __get_attr__
                   (Object: cheese4)
               AttributeError: __of__

What am I doing wrong here?

-- 
Itamar S.T.  itamar@maxnm.com