[Zope-CMF] IndexRequestParseError

Tres Seaver tseaver@palladion.com
Tue, 05 Jun 2001 14:59:18 -0400


Norman Khine wrote:

> Hello,
> I have just checked out a new copy of CMF and am geting the above error when
> I make an advanced search
> 
> Site Error
> An error was encountered while publishing this resource.
> 
> IndexRequestParseError
> 
> Sorry, a site error occurred.
> 
> Traceback (innermost last):
>   File /usr/local/Zope2/lib/python/ZPublisher/Publish.py, line 223, in
> publish_module
>   File /usr/local/Zope2/lib/python/ZPublisher/Publish.py, line 187, in
> publish
>   File /usr/local/Zope2/lib/python/Zope/__init__.py, line 226, in
> zpublisher_exception_hook
>     (Object: LockableItem)
>   File /usr/local/Zope2/lib/python/ZPublisher/Publish.py, line 171, in
> publish
>   File /usr/local/Zope2/lib/python/ZPublisher/mapply.py, line 160, in mapply
>     (Object: search)
>   File /usr/local/Zope2/lib/python/ZPublisher/Publish.py, line 112, in
> call_object
>     (Object: search)
>   File /usr/local/Zope24/lib/python/Products/CMFCore/FSDTMLMethod.py, line
> 180, in __call__
>     (Object: search)
>   File /usr/local/Zope2/lib/python/DocumentTemplate/DT_String.py, line 543,
> in __call__
>     (Object: search)
>   File /usr/local/Zope24/lib/python/Products/CMFCore/FSDTMLMethod.py, line
> 175, in __call__
>     (Object: standard_html_header)
>   File /usr/local/Zope2/lib/python/DocumentTemplate/DT_String.py, line 543,
> in __call__
>     (Object: standard_html_header)
>   File /usr/local/Zope24/lib/python/Products/CMFCore/FSDTMLMethod.py, line
> 175, in __call__
>     (Object: actions_box)
>   File /usr/local/Zope2/lib/python/DocumentTemplate/DT_String.py, line 543,
> in __call__
>     (Object: actions_box)
>   File /usr/local/Zope2/lib/python/DocumentTemplate/DT_Let.py, line 147, in
> render
>     (Object: isAnon="portal_membership.isAnonymousUser()"
>           AuthClass="isAnon and 'GuestActions' or 'MemberActions'"
>           uname="isAnon and 'Guest'
>                  or
> portal_membership.getAuthenticatedMember().getUserName()"
>           obj="this()"
>           actions="portal_actions.listFilteredActionsFor(obj)"
>           user_actions="actions['user']"
>           folder_actions="actions['folder']"
>           object_actions="actions['object'] + actions['workflow']"
>           global_actions="actions['global']")
>   File /usr/local/Zope2/lib/python/DocumentTemplate/DT_Util.py, line 217, in
> eval
>     (Object: portal_actions.listFilteredActionsFor(obj))
>     (Info: obj)
>   File <string>, line 2, in f
>     (Object: read_guard)
>   File /usr/local/Zope24/lib/python/Products/CMFCore/ActionsTool.py, line
> 190, in listFilteredActionsFor
>     (Object: portal_actions)
>   File /usr/local/Zope24/lib/python/Products/CMFCore/WorkflowTool.py, line
> 374, in listActions
>     (Object: LockableItem)
>   File /usr/local/Zope24/lib/python/Products/CMFDefault/DefaultWorkflow.py,
> line 215, in listGlobalActions
>     (Object: ElementWithAttributes)
>   File /usr/local/Zope2/lib/python/Products/CMFCore/CatalogTool.py, line
> 235, in searchResults
>     (Object: LockableItem)
>   File /usr/local/Zope2/lib/python/Products/ZCatalog/ZCatalog.py, line 582,
> in searchResults
>     (Object: LockableItem)
>   File /usr/local/Zope2/lib/python/Products/ZCatalog/Catalog.py, line 658,
> in searchResults
>   File /usr/local/Zope2/lib/python/Products/ZCatalog/Catalog.py, line 547,
> in _indexedSearch
>   File /usr/local/Zope2/lib/python/Products/PluginIndexes/common/UnIndex.py,
> line 381, in _apply_index
>     (Object: PluggableIndex)
>   File /usr/local/Zope2/lib/python/Products/PluginIndexes/common/util.py,
> line 154, in __init__
> IndexRequestParseError: record for 'created' *must* contain a 'query'
> attribute
> 
> Any suggestions


I'm not yet using Zope 2.4 with the CMF, so I can't debug this.
Are you using a head checkout of Zope, as well as the CMF?  There were
a couple of ugly indexing bugs in the 2.4a1 release.


Tres.
--
===============================================================
Tres Seaver                                tseaver@digicool.com
Digital Creations     "Zope Dealers"       http://www.zope.org