[Zope-CMF] CMF 1.1 beta

Tres Seaver tseaver@palladion.com
Tue, 05 Jun 2001 08:04:20 -0400


James van der Veen wrote:

> Hi everybody,
> 
> Hope someone can help me with this.
> 
> I just installed CMF 1.1 beta but when I try to ad a new CMF site I get a
> traceback (see bottom of message.
> 
> The CMF decor product is broken but I don't know why.



The CMFDecor product exists to allow creation of filesystem-based 
Presentation
Templates as skin methods;  if you don't have ZPT installed, it won't work.
Try removing it from your Products directory and restart.


> Setup =
> 
> Zope Version  Zope 2.3.2 (source release, python 1.5.2, linux2)
> Python Version  1.5.2 (#2, Apr 11 2001, 02:55:18) [GCC egcs-2.91.66
> 19990314/Linux (egcs-
> System Platform  linux2
> Process Id  27119 (1024)
> Running For  6 min 11 sec
> 
> 
> Here is the traceback.
> 
> Hope you can help me!
> 
> James
> 
> ------------------------------------------
>    Site Error
> An error was encountered while publishing this resource.
> 
> KeyError
> 
> Sorry, a site error occurred.
> 
> Traceback (innermost last):
>   File /home/sjeems/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line
> 223, in publish_module
>   File /home/sjeems/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line
> 187, in publish
>   File /home/sjeems/Zope-2.3.2-src/lib/python/Zope/__init__.py, line 221, in
> zpublisher_exception_hook
>     (Object: Traversable)
>   File /home/sjeems/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line
> 171, in publish
>   File /home/sjeems/Zope-2.3.2-src/lib/python/ZPublisher/mapply.py, line
> 160, in mapply
>     (Object: finish_portal_construction)
>   File /home/sjeems/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line
> 112, in call_object
>     (Object: finish_portal_construction)
>   File
> /home/sjeems/Zope-2.3.2-src/lib/python/Products/CMFCore/FSDTMLMethod.py,
> line 180, in __call__
>     (Object: finish_portal_construction)
>   File /home/sjeems/Zope-2.3.2-src/lib/python/DocumentTemplate/DT_String.py,
> line 538, in __call__
>     (Object: finish_portal_construction)
>   File
> /home/sjeems/Zope-2.3.2-src/lib/python/Products/CMFCore/FSDTMLMethod.py,
> line 175, in __call__
>     (Object: standard_html_header)
>   File /home/sjeems/Zope-2.3.2-src/lib/python/DocumentTemplate/DT_String.py,
> line 538, in __call__
>     (Object: standard_html_header)
>   File /home/sjeems/Zope-2.3.2-src/lib/python/DocumentTemplate/DT_With.py,
> line 146, in render
>     (Object: stylesheet_properties)
>   File /home/sjeems/Zope-2.3.2-src/lib/python/DocumentTemplate/DT_Var.py,
> line 276, in render
>     (Object: base_font_color)
> KeyError: base_font_color

I'm at a loss, here;  the properties object for the stylesheet works 
fine for
me (and for all the other CMFSites I know of).  Perhaps restarting after
removing the CMFDecor product makes this go away?  Please let us know, 
either
way.

Tres.