[Zope-CMF] object does not support item deletion

Loren Stafford lstafford@morphics.com
Wed, 18 Apr 2001 12:17:55 -0700


I wanted to try out the CMF for the first time today. So, on NT 4, I made a
fresh installation of Zope 2.3.2b1, verified that it was working, installed
the three CMF 1.0 products in the Products directory, restarted Zope,
verified that the products installed correctly, created a CMF Site in the
root directory (called MorphicsCMF), then tried to navigate directly to the
CMF Site by entering the url http://morphicsweb:8080/MorphicsCMF in the
browser URL box. The CMF Site is, of course, completely empty, but I
expected to see at least the default interfaces for adding members and
content. However, I got nothing but an error. Following is the error and
traceback that resulted.

The error occurs in catalog.py where it is trying to delete sort
specifications from kw. Apparently it's trying to display the list of
current news items, which should be empty, as I haven't added any yet.

Is this a known problem, or did I fail to configure something correctly?

-- Thanks
-- Loren

====================

Error Type: TypeError
Error Value: object does not support item deletion

Traceback (innermost last):
  File D:\Intranet\ZOPE23~1\lib\python\ZPublisher\Publish.py, line 223, in
publish_module
  File D:\Intranet\ZOPE23~1\lib\python\ZPublisher\Publish.py, line 187, in
publish
  File D:\Intranet\ZOPE23~1\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
    (Object: Traversable)
  File D:\Intranet\ZOPE23~1\lib\python\ZPublisher\Publish.py, line 171, in
publish
  File D:\Intranet\ZOPE23~1\lib\python\ZPublisher\mapply.py, line 160, in
mapply
    (Object: index_html)
  File D:\Intranet\ZOPE23~1\lib\python\ZPublisher\Publish.py, line 112, in
call_object
    (Object: index_html)
  File D:\Intranet\ZOPE23~1\lib\python\Products\CMFCore\FSDTMLMethod.py,
line 218, in __call__
    (Object: index_html)
  File D:\Intranet\ZOPE23~1\lib\python\DocumentTemplate\DT_String.py, line
538, in __call__
    (Object: index_html)
  File D:\Intranet\ZOPE23~1\lib\python\DocumentTemplate\DT_With.py, line
146, in render
    (Object: portal_properties)
  File D:\Intranet\ZOPE23~1\lib\python\Products\CMFCore\FSDTMLMethod.py,
line 213, in __call__
    (Object: news_box)
  File D:\Intranet\ZOPE23~1\lib\python\DocumentTemplate\DT_String.py, line
538, in __call__
    (Object: news_box)
  File D:\Intranet\ZOPE23~1\lib\python\DocumentTemplate\DT_In.py, line 487,
in renderwb
    (Object: portal_catalog.searchResults( meta_type='News Item'
                                        , sort_on='Date'
                                        , sort_order='reverse'
                                        , review_state='published'
                                        ))
  File D:\Intranet\ZOPE23~1\lib\python\DocumentTemplate\DT_Util.py, line
334, in eval
    (Object: portal_catalog.searchResults( meta_type='News Item'
                                        , sort_on='Date'
                                        , sort_order='reverse'
                                        , review_state='published'
                                        ))
    (Info: portal_catalog)
  File <string>, line 0, in ?
  File D:\Intranet\ZOPE23~1\lib\python\Products\CMFCore\CatalogTool.py, line
200, in searchResults
    (Object: Traversable)
  File D:\Intranet\ZOPE23~1\lib\python\Products\ZCatalog\ZCatalog.py, line
535, in searchResults
    (Object: Traversable)
  File D:\Intranet\ZOPE23~1\lib\python\Products\ZCatalog\Catalog.py, line
643, in searchResults
TypeError: (see above)