[Zope-CMF] Re: PortalPoll Tutorial / CMF 1.2 / AttributeError
Garry Steedman
gs@styrax.com
Wed, 27 Feb 2002 15:51:45 +0000
in case anyone was paying attention ;-)
solved this thanks to Antwan:
http://cmf.zope.org/Members/tseaver/how_tos/faq_howto/talkback/1013363771
garry
On 25 Feb 2002, at 18:15, zope-cmf@zope.org wrote:
From: Garry Steedman <gs@styrax.com>
To: zope-cmf@zope.org
Subject: PortalPoll Tutorial / CMF 1.2 / AttributeError
> Hello all,
>
> when playing with the PortalPoll Tutorial on Zope 2.4.3 (source)/CMF-
> 1.2/Python 2.1.1 i get the following error:
>
> Error Type: AttributeError
> Error Value: __getslice__
>
>
> Traceback (innermost last):
> File /opt/zope/lib/python/ZPublisher/Publish.py, line 223, in
> publish_module
> File /opt/zope/lib/python/ZPublisher/Publish.py, line 187, in
> publish
> File /opt/zope/lib/python/Zope/__init__.py, line 226, in
> zpublisher_exception_hook
> (Object: CMF)
> File /opt/zope/lib/python/ZPublisher/Publish.py, line 171, in
> publish
> File /opt/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
> (Object: invokeFactory)
> File /opt/zope/lib/python/ZPublisher/Publish.py, line 112, in
> call_object
> (Object: invokeFactory)
> File /opt/zope/software/CMF-1.2/CMFCore/PortalFolder.py, line 335,
> in invokeFactory
> (Object: CMF)
> File /opt/zope/software/CMF-1.2/CMFCore/TypesTool.py, line 701, in
> constructContent
> (Object: portal_types)
> File /opt/zope/software/CMF-1.2/CMFCore/TypesTool.py, line 430, in
> constructInstance
> (Object: Poll)
> File /opt/zope/lib/python/OFS/ObjectManager.py, line 287, in _getOb
> (Object: CMF)
> AttributeError: (see above)
>
> i notice that a couple of other people have mentioned getting this
> error and wonder if anyone has any pointers?
>
> cheers,
>
> Garry
+-------------------------------------------+
Garry Steedman mailto:gs@styrax.com
Styrax Associates http://www.styrax.com/
"The Good Man has no shape."
+-------------------------------------------+