[Zope] Re: SiteAccess and ZCatalog

Jochen Haeberle listen@MIDRAS.de
Thu, 11 May 2000 19:30:10 +0200


Hi Evan,

At 11:38 Uhr -0400 11-5-00, Evan Simpson wrote:
>----- Original Message -----
>From: Jochen Haeberle <listen@MIDRAS.de>
>
>  > Is there a solution to this damn SiteAccess/ZCatalog problem???
>
>Yes: see http://www.zope.org/Members/4am/SiteAccess/patch

thanks for the link. Is this accessable from the SiteAccess product page???

Applying the patch shifted the error to:

Error Type: AttributeError
Error Value: resolve_url

<!--
Traceback (innermost last):
   File /serve/MIS-Zope-2.1.3/lib/python/ZPublisher/Publish.py, line 
214, in publish_module
   File /serve/MIS-Zope-2.1.3/lib/python/ZPublisher/Publish.py, line 
179, in publish
   File /serve/MIS-Zope-2.1.3/lib/python/Zope/__init__.py, line 202, 
in zpublisher_exception_hook
     (Object: ElementWithAttributes)
   File /serve/MIS-Zope-2.1.3/lib/python/ZPublisher/Publish.py, line 
165, in publish
   File /serve/MIS-Zope-2.1.3/lib/python/ZPublisher/mapply.py, line 
160, in mapply
     (Object: test)
   File /serve/MIS-Zope-2.1.3/lib/python/ZPublisher/Publish.py, line 
102, in call_object
     (Object: test)
   File /serve/MIS-Zope-2.1.3/lib/python/OFS/DTMLDocument.py, line 
166, in __call__
     (Object: test)
   File 
/serve/MIS-Zope-2.1.3/lib/python/DocumentTemplate/DT_String.py, line 
502, in __call__
     (Object: test)
   File /serve/MIS-Zope-2.1.3/lib/python/DocumentTemplate/DT_With.py, 
line 148, in render
     (Object: Articles)
   File /serve/MIS-Zope-2.1.3/lib/python/DocumentTemplate/DT_Util.py, 
line 335, in eval
     (Object: index_html(_.None, _, category='top'))
     (Info: _)
   File <string>, line 0, in ?
   File /serve/MIS-Zope-2.1.3/lib/python/OFS/DTMLMethod.py, line 146, 
in __call__
     (Object: index_html)
   File 
/serve/MIS-Zope-2.1.3/lib/python/DocumentTemplate/DT_String.py, line 
502, in __call__
     (Object: index_html)
   File /serve/MIS-Zope-2.1.3/lib/python/DocumentTemplate/DT_Util.py, 
line 335, in eval
     (Object: article_list(_.None,_,category=category, list_item=item_html))
     (Info: category)
   File <string>, line 0, in ?
   File /serve/MIS-Zope-2.1.3/lib/python/OFS/DTMLMethod.py, line 146, 
in __call__
     (Object: article_list)
   File 
/serve/MIS-Zope-2.1.3/lib/python/DocumentTemplate/DT_String.py, line 
502, in __call__
     (Object: article_list)
   File /serve/MIS-Zope-2.1.3/lib/python/DocumentTemplate/DT_In.py, 
line 691, in renderwob
     (Object: Catalog(searchfor))
   File /serve/MIS-Zope-2.1.3/lib/python/DocumentTemplate/DT_With.py, 
line 133, in render
     (Object: getobject(data_record_id_, REQUEST))
   File /serve/MIS-Zope-2.1.3/lib/python/DocumentTemplate/DT_Util.py, 
line 335, in eval
     (Object: getobject(data_record_id_, REQUEST))
     (Info: getobject)
   File <string>, line 0, in ?
   File 
/serve/MIS-Zope-2.1.3/lib/python/Products/ZCatalog/ZCatalog.py, line 
375, in getobject
     (Object: ElementWithAttributes)
AttributeError: (see above)

-->
I thought this might be caused by my older 2.1.3 installation, so I
upgraded to 2.1.6, but still get the same error :-(

Any idea what might be _this_???

>Also, Zope will soon have changes to the way traversal works which will
>solve this once and for all.

Good to hear - looking forward to this

>Cheers,
>
>Evan @ digicool & 4-am

Thanks for the tip - hoping for more

Jochen