[Zope-dev] Bug in ZopeFind in Zope 2.4.0b2
Chris Withers
chrisw@nipltd.com
Wed, 04 Jul 2001 11:59:45 +0100
I tried to use the Find tab to find all Python Scripts in a ZODB.
It got:
Error Type: KeyError
Error Value: obj_roles
Traceback (innermost last):
File E:\Zope\24C37D~1.0B2\lib\python\ZPublisher\Publish.py, line 223, in
publish_module
File E:\Zope\24C37D~1.0B2\lib\python\ZPublisher\Publish.py, line 187, in
publish
File E:\Zope\24C37D~1.0B2\lib\python\Zope\__init__.py, line 226, in
zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
File E:\Zope\24C37D~1.0B2\lib\python\ZPublisher\Publish.py, line 171, in
publish
File E:\Zope\24C37D~1.0B2\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: manage_findResult)
File E:\Zope\24C37D~1.0B2\lib\python\ZPublisher\Publish.py, line 112, in
call_object
(Object: manage_findResult)
File E:\Zope\24C37D~1.0B2\lib\python\Shared\DC\Scripts\Bindings.py, line 324,
in __call__
(Object: manage_findResult)
File E:\Zope\24C37D~1.0B2\lib\python\Shared\DC\Scripts\Bindings.py, line 354,
in _bindAndExec
(Object: manage_findResult)
File E:\Zope\24C37D~1.0B2\lib\python\App\special_dtml.py, line 241, in _exec
(Object: manage_findResult)
File E:\Zope\24C37D~1.0B2\lib\python\DocumentTemplate\pDocumentTemplate.py,
line 297, in render_blocks
File E:\Zope\24C37D~1.0B2\lib\python\DocumentTemplate\DT_In.py, line 753, in
renderwob
(Object: ('obj_ids', 'obj_metatypes', 'obj_searchterm', 'obj_expr',
'obj_mtime', 'obj_mspec', 'obj_permission', 'obj_roles', 'search_sub'))
File E:\Zope\24C37D~1.0B2\lib\python\DocumentTemplate\pDocumentTemplate.py,
line 282, in render_blocks
File E:\Zope\24C37D~1.0B2\lib\python\DocumentTemplate\DT_Util.py, line 228, in
eval
(Object: _.hasattr(REQUEST, _['sequence-item']))
(Info: REQUEST)
File <string>, line 0, in ?
File E:\Zope\24C37D~1.0B2\lib\python\DocumentTemplate\DT_Util.py, line 163, in
careful_hasattr
File E:\Zope\24C37D~1.0B2\lib\python\ZPublisher\HTTPRequest.py, line 893, in
__getitem__
KeyError: (see above)