[Zope-PTK] Error creating portal content

Jens Vagelpohl jens@digicool.com
Tue, 20 Feb 2001 13:18:26 -0500


i cannot reproduce this on a fresh CVS checkout.

maybe your checkout coincided with a checkin and something got confused. try
to update your checkout and see if that helps.

jens


On 2/20/01 12:56, "Nolan Darilek" <nolan_d@bigfoot.com> wrote:

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