[Zope-PTK] Error creating portal content

Nolan Darilek nolan_d@bigfoot.com
Tue, 20 Feb 2001 11:56:19 -0600


Today I instantiated a portal from a fresh CVS checkout. I created a
new account, clicked on "my stuff," then on "New" and received this:

Traceback (innermost last):
  File /home/zope/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module
  File /home/zope/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /home/zope/Zope-2.3.0-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook
    (Object: Traversable)
  File /home/zope/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /home/zope/Zope-2.3.0-src/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: folder_factories)
  File /home/zope/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 112, in call_object
    (Object: folder_factories)
  File /usr/lib/zope/lib/python/Products/PTKBase/FSDTMLMethod.py, line 217, in __call__
    (Object: folder_factories)
  File /home/zope/Zope-2.3.0-src/lib/python/DocumentTemplate/DT_String.py, line 538, in __call__
    (Object: folder_factories)
  File /home/zope/Zope-2.3.0-src/lib/python/DocumentTemplate/DT_In.py, line 644, in renderwob
    (Object: allowedContentTypes)
KeyError: (see above)


The KeyError is being caused by the absence of allowedContentTypes.

Any ideas?

Thanks.