<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.8.1">
</HEAD>
<BODY>
Hi,<BR>
<BR>
I'm actually using a SetIndex (as defined in &quot;zc.catalog.catalogindex&quot; package).<BR>
Indexing my documents works perfectly but I still have a little problem : when trying to get to the &quot;Advanced&quot; page of my catalog, a TraversalError exception is raised : <BR>
<BR>
<BLOCKQUOTE>
<PRE>
2006-03-15T23:39:27 ERROR SiteError <A HREF="http://localhost:8080/test1/++etc++site/default/catalog/@@advanced.html">http://localhost:8080/test1/++etc++site/default/catalog/@@advanced.html</A>
Traceback (most recent call last):
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/publisher/publish.py&quot;, line 138, in publish
&nbsp;&nbsp;&nbsp; result = publication.callObject(request, object)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/app/publication/zopepublication.py&quot;, line 161, in callObject
&nbsp;&nbsp;&nbsp; return mapply(ob, request.getPositionalArguments(), request)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/publisher/publish.py&quot;, line 113, in mapply
&nbsp;&nbsp;&nbsp; return debug_call(object, args)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/publisher/publish.py&quot;, line 119, in debug_call
&nbsp;&nbsp;&nbsp; return object(*args)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/app/pagetemplate/simpleviewclass.py&quot;, line 44, in __call__
&nbsp;&nbsp;&nbsp; return self.index(*args, **kw)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/app/pagetemplate/viewpagetemplatefile.py&quot;, line 83, in __call__
&nbsp;&nbsp;&nbsp; return self.im_func(im_self, *args, **kw)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/app/pagetemplate/viewpagetemplatefile.py&quot;, line 51, in __call__
&nbsp;&nbsp;&nbsp; sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/pagetemplate/pagetemplate.py&quot;, line 117, in pt_render
&nbsp;&nbsp;&nbsp; strictinsert=0, sourceAnnotations=sourceAnnotations)()
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tal/talinterpreter.py&quot;, line 277, in __call__
&nbsp;&nbsp;&nbsp; self.interpret(self.program)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tal/talinterpreter.py&quot;, line 352, in interpret
&nbsp;&nbsp;&nbsp; handlers[opcode](self, args)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tal/talinterpreter.py&quot;, line 908, in do_useMacro
&nbsp;&nbsp;&nbsp; self.interpret(macro)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tal/talinterpreter.py&quot;, line 352, in interpret
&nbsp;&nbsp;&nbsp; handlers[opcode](self, args)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tal/talinterpreter.py&quot;, line 538, in do_optTag_tal
&nbsp;&nbsp;&nbsp; self.do_optTag(stuff)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tal/talinterpreter.py&quot;, line 523, in do_optTag
&nbsp;&nbsp;&nbsp; return self.no_tag(start, program)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tal/talinterpreter.py&quot;, line 518, in no_tag
&nbsp;&nbsp;&nbsp; self.interpret(program)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tal/talinterpreter.py&quot;, line 352, in interpret
&nbsp;&nbsp;&nbsp; handlers[opcode](self, args)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tal/talinterpreter.py&quot;, line 878, in do_defineMacro
&nbsp;&nbsp;&nbsp; self.interpret(macro)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tal/talinterpreter.py&quot;, line 352, in interpret
&nbsp;&nbsp;&nbsp; handlers[opcode](self, args)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tal/talinterpreter.py&quot;, line 976, in do_defineSlot
&nbsp;&nbsp;&nbsp; self.interpret(block)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tal/talinterpreter.py&quot;, line 352, in interpret
&nbsp;&nbsp;&nbsp; handlers[opcode](self, args)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tal/talinterpreter.py&quot;, line 966, in do_defineSlot
&nbsp;&nbsp;&nbsp; self.interpret(slot)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tal/talinterpreter.py&quot;, line 352, in interpret
&nbsp;&nbsp;&nbsp; handlers[opcode](self, args)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tal/talinterpreter.py&quot;, line 841, in do_loop_tal
&nbsp;&nbsp;&nbsp; self.interpret(block)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tal/talinterpreter.py&quot;, line 352, in interpret
&nbsp;&nbsp;&nbsp; handlers[opcode](self, args)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tal/talinterpreter.py&quot;, line 625, in do_insertText_tal
&nbsp;&nbsp;&nbsp; text = self.engine.evaluateText(stuff[0])
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/app/pagetemplate/engine.py&quot;, line 101, in evaluateText
&nbsp;&nbsp;&nbsp; text = self.evaluate(expr)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tales/tales.py&quot;, line 696, in evaluate
&nbsp;&nbsp;&nbsp; return expression(self)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tales/expressions.py&quot;, line 205, in __call__
&nbsp;&nbsp;&nbsp; return self._eval(econtext)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tales/expressions.py&quot;, line 192, in _eval
&nbsp;&nbsp;&nbsp; ob = self._subexprs[-1](econtext)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/tales/expressions.py&quot;, line 124, in _eval
&nbsp;&nbsp;&nbsp; ob = self._traverser(ob, element, econtext)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/app/pagetemplate/engine.py&quot;, line 72, in trustedZopeTraverser
&nbsp;&nbsp;&nbsp; request=getattr(econtext, 'request', None))
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/app/traversing/adapters.py&quot;, line 124, in traverse
&nbsp;&nbsp;&nbsp; curr = traversePathElement(curr, name, path, request=request)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/app/traversing/adapters.py&quot;, line 177, in traversePathElement
&nbsp;&nbsp;&nbsp; return traversable.traverse(nm, further_path)
&nbsp; File &quot;/usr/local/zope/3.2/lib/python/zope/app/traversing/adapters.py&quot;, line 61, in traverse
&nbsp;&nbsp;&nbsp; raise TraversalError(subject, name)
TraversalError: (&lt;zc.catalog.catalogindex.SetIndex object at 0xb46bfd2c&gt;, 'documentCount')
</PRE>
</BLOCKQUOTE>
<BR>
&quot;documentCount&quot; seems to be defined into the &quot;SetIndex&quot; class, so I don't understand this error...<BR>
<BR>
Thanks for any explanation,<BR>
<BR>
&nbsp; Thierry<BR>
<BR>
</BODY>
<br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</HTML>