[Zope-CMF] CMF product development problems

Georg BERNHARD gogo@bluedynamics.com
Mon, 2 Apr 2001 18:54:08 +0200


Hello, everybody!

I'm developing some CMF products and therefore I went through the CMF
PortalPoll Tutorial.

I ran into problems:

When the product is set up like discribed and I want to instantiate it I get
an error that reads like this:

--------schnipp--------

Zope Error
Zope has encountered an error while publishing this resource.

Error Type: AttributeError
Error Value: __call__

Traceback (innermost last):
  File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/ZPublisher/Publish.py,
line 222, in publish_module
  File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/ZPublisher/Publish.py,
line 187, in publish
  File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/Zope/__init__.py, line
221, in zpublisher_exception_hook
    (Object: Traversable)
  File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/ZPublisher/Publish.py,
line 171, in publish
  File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/ZPublisher/mapply.py,
line 160, in mapply
    (Object: invokeFactory)
  File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/ZPublisher/Publish.py,
line 112, in call_object
    (Object: invokeFactory)
  File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/Products/CMFCore/Porta
lFolder.py, line 368, in invokeFactory
    (Object: Traversable)
  File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/Products/CMFCore/Types
Tool.py, line 714, in constructContent
    (Object: Traversable)
  File
/usr/local/wing/Zope-2.3.0-Wing-linux2-x86/lib/python/Products/CMFCore/Types
Tool.py, line 473, in constructInstance
    (Object: ElementWithAttributes)
AttributeError: (see above)

--------schnapp--------

I have no clue how the error can be fixed and need help. Maybe some file
just needs to be at another spot in the object database, but the tutorial
doesn't tell anything about that. I also wonder if there is some more
up-to-date tutorial online...

Okay, thank you all in advance.
Regards, Gogo.