[Zope-CMF] error with CMF1.2 and PortalPoll
Scott Lewis
scott@bandwidthcoop.org
Thu, 31 Jan 2002 07:39:47 -0700
hi folks,
i've created a ZClass based product, as per the CMF PortalPoll Tutorial. when i add a new PortalPoll via the
CMF, i get an attribute error on __getslice__. when i add one through the ZMI, it works fine.
any ideas what the problem might be?
thanks in advance,
-scott lewis
Zope Version (Zope 2.5.0 (source release, python 2.1, linux2), python 2.1.1, linux2)
Python Version 2.1.1 (#2, Aug 18 2001, 05:07:24) [GCC 2.95.2 19991024 (release)]
---traceback---
Error Type: AttributeError
Error Value: __getslice__
Traceback (innermost last):
File /home/zope/zope250/lib/python/ZPublisher/Publish.py, line 150, in publish_module
File /home/zope/zope250/lib/python/ZPublisher/Publish.py, line 114, in publish
File /home/zope/zope250/lib/python/Zope/__init__.py, line 158, in zpublisher_exception_hook
(Object: cmf)
File /home/zope/zope250/lib/python/ZPublisher/Publish.py, line 98, in publish
File /home/zope/zope250/lib/python/ZPublisher/mapply.py, line 88, in mapply
(Object: invokeFactory)
File /home/zope/zope250/lib/python/ZPublisher/Publish.py, line 39, in call_object
(Object: invokeFactory)
File /home/zope/zope250/lib/python/Products/CMFCore/PortalFolder.py, line 335, in invokeFactory
(Object: cmf)
File /home/zope/zope250/lib/python/Products/CMFCore/TypesTool.py, line 701, in constructContent
(Object: portal_types)
File /home/zope/zope250/lib/python/Products/CMFCore/TypesTool.py, line 430, in constructInstance
(Object: PortalPoll)
File /home/zope/zope250/lib/python/OFS/ObjectManager.py, line 212, in _getOb
(Object: cmf)
AttributeError: (see above)
-----
Albuquerque Bandwidth Coop
A cooperatively owned webservices provider
http://www.bandwidthcoop.org/