[Zope] ZCatalog and the sad state of Zope Book

Andreas Jung Andreas Jung" <andreas@zope.com
Wed, 12 Sep 2001 15:18:48 -0500


----- Original Message -----
From: "Milos Prudek" <milos.prudek@worldonline.cz>
To: <zope@zope.org>
Sent: Wednesday, September 12, 2001 14:02
Subject: [Zope] ZCatalog and the sad state of Zope Book


> Zope Book, once enticing me to delve into Zope, is once again outdated
> :-(
>
> I downloaded Zope 2.4.1 hoping to make use of new Indexes. I tried to
> follow the first few paragraphs in Zope Book. No go. Here's what I did
> step by step:
>
> - Created ZCatalog with the id "Catalog" in root folder.
>
> - Cataloged all DTML documents (I have just about 150).
>
> - Entered the "Add Z Search Interface", and selected Catalog as the
> searchable object.
>
> - Gave "rrr" as Report id, and "sss" as Search input id.  Clicked Add.
> The methods "rrr" and "sss" were created.
>
> - Clicked on "sss". Clicked on the View tab. Crash:

Works for me with a fresh 2.4.1 checkout

>
>
> Site Error
>
> An error was encountered while publishing this resource.
>
> KeyError
>
> Sorry, a site error occurred.
>
> Traceback (innermost last):
> File /usr/src/zope/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py, line
> 223, in publish_module
> File /usr/src/zope/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py, line
> 187, in publish
> File /usr/src/zope/Zope-2.4.1-src/lib/python/Zope/__init__.py, line 226,
> in zpublisher_exception_hook
>  (Object: LockableItem)
> File /usr/src/zope/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py, line
> 171, in publish
> File /usr/src/zope/Zope-2.4.1-src/lib/python/ZPublisher/mapply.py, line
> 160, in mapply
>  (Object: sss)
> File /usr/src/zope/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py, line
> 112, in call_object
>  (Object: sss)
> File /usr/src/zope/Zope-2.4.1-src/lib/python/OFS/DTMLMethod.py, line
> 194, in __call__
>  (Object: sss)
> File
> /usr/src/zope/Zope-2.4.1-src/lib/python/DocumentTemplate/DT_String.py,
> line 546, in __call__
>  (Object: sss)
> File /usr/src/zope/Zope-2.4.1-src/lib/python/OFS/DTMLMethod.py, line
> 187, in __call__
>  (Object: standard_html_footer)
> File
> /usr/src/zope/Zope-2.4.1-src/lib/python/DocumentTemplate/DT_String.py,
> line 546, in __call__
>  (Object: standard_html_footer)
> File /usr/src/zope/Zope-2.4.1-src/lib/python/DocumentTemplate/DT_Var.py,
> line 278, in render
>  (Object: web_updated)
> KeyError: web_updated

"web_updated" is not used by Zope - neither in .py files nor in .dtml files.
Are you using any other third-party products ?

Andreas