[Zope-CMF] PortalPoll Tutorial / CMF 1.2 / AttributeError

Garry Steedman gs@styrax.com
Mon, 25 Feb 2002 18:15:09 +0000


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."            
+-------------------------------------------+