[Zope] catalog.getpath -->search results as links

sean@horse101.com sean@horse101.com
Wed, 12 Jul 2000 16:24:55 -0700


Here is the traceback after changing the DTML VAR syntax and 
changing the catalog.getpath to full_site.getpath (my catalog ID)

Error:
Error Type: KeyError
           Error Value: PrincipiaSearchSource

Traceback (innermost last):
  File /home/kelley/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, 
line 214, in publish_module
  File /home/kelley/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, 
line 179, in publish
  File /home/kelley/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 
202, in zpublisher_exception_hook
                        (Object: ElementWithAttributes)
  File /home/kelley/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, 
line 165, in publish
  File /home/kelley/Zope-2.1.6-src/lib/python/ZPublisher/mapply.py, 
line 160, in mapply
                               (Object: report)
  File /home/kelley/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, 
line 102, in call_object
                               (Object: report)
  File /home/kelley/Zope-2.1.6-src/lib/python/OFS/DTMLMethod.py, 
line 150, in __call__
                               (Object: report)
  File /home/kelley/Zope-2.1.6-
src/lib/python/DocumentTemplate/DT_String.py, line 502, in 
__call__
                               (Object: report)
  File /home/kelley/Zope-2.1.6-
src/lib/python/DocumentTemplate/DT_In.py, line 611, in renderwb
                              (Object: full_site)
                           KeyError: (see above)


On 13 Jul 2000, at 0:10, Chris Withers wrote:

> sean@horse101.com wrote:
> > my catalog ID is full_site, but I already tried this and got another
> > error.  
> 
> What was this error? (please include the full traceback..)
> 
> > When I leave out the link syntax changes, I get the search
> > results (w/o them as active links)...so the catalog term must be
> > right.
> 
> Not necessarly...
> 
> cheers,
> 
> Chris
> 
Thanks for having a look--
Sean