--- /usr/local/zope/297/lib/python/OFS/FindSupport.py Sun Mar 25 10:41:48 2007 +++ /usr/local/zope/298/lib/python/OFS/FindSupport.py Tue Jun 10 12:29:41 2008 @@ -118,7 +118,8 @@ if hasattr(ob, 'aq_base'): bs=ob.aq_base else: bs=ob - if ( + try: + if ( (not obj_ids or absattr(bs.getId()) in obj_ids) and (not obj_metatypes or (hasattr(bs, 'meta_type') and @@ -143,6 +144,10 @@ ): add_result((p, ob)) dflag=0 + except: + add_result(("Error searching: "+p, ob)) + dflag=0 + is_zclass = getattr(bs, 'meta_type', None) == 'Z Class' if search_sub and (hasattr(bs, 'objectItems') or is_zclass):