Everyone, Thanks for the help so far. My searchable form and indexes are working 
great, except for one small problem. Whenever I pass in a string to search on a 
text-index, along with the sort_on and/or sort_order parameters I keep getting the 
following error:

Error Type: TypeError
Error Value: loop over non-sequence

Traceback (innermost last):
  File C:\PROGRA~1\DEQ_UP~1\lib\python\ZPublisher\Publish.py, line 222, in 
  File C:\PROGRA~1\DEQ_UP~1\lib\python\ZPublisher\Publish.py, line 187, in publish
  File C:\PROGRA~1\DEQ_UP~1\lib\python\Zope\__init__.py, line 221, in 
    (Object: Traversable)
  File C:\PROGRA~1\DEQ_UP~1\lib\python\ZPublisher\Publish.py, line 171, in publish
  File C:\PROGRA~1\DEQ_UP~1\lib\python\ZPublisher\mapply.py, line 160, in mapply
    (Object: search)
  File C:\PROGRA~1\DEQ_UP~1\lib\python\ZPublisher\Publish.py, line 112, in call_object
    (Object: search)
  File C:\PROGRA~1\DEQ_UP~1\lib\python\OFS\DTMLMethod.py, line 172, in __call__
    (Object: search)
  File C:\PROGRA~1\DEQ_UP~1\lib\python\DocumentTemplate\DT_String.py, line 528, in 
    (Object: search)
  File C:\PROGRA~1\DEQ_UP~1\lib\python\DocumentTemplate\DT_In.py, line 473, in renderwb
    (Object: Catalog)
  File C:\PROGRA~1\DEQ_UP~1\lib\python\Products\ZCatalog\ZCatalog.py, line 455, in 
    (Object: Traversable)
  File C:\PROGRA~1\DEQ_UP~1\lib\python\Products\ZCatalog\Catalog.py, line 602, in 
  File C:\PROGRA~1\DEQ_UP~1\lib\python\Products\ZCatalog\Catalog.py, line 555, in 
TypeError: (see above)

So, on a hunch - I tried the query directly on the Catalog method itself (not my 
home-brew code). 
I typed in 

Same problem - I f I try to query against a zCatalog text-index, and also pass the 
sort_on or sort_order parameters - I get the error.

Is this a Zope bug?

I'd appreciate any information anyone can pass on - I'm so close to getting this thing 

Thanks in advance,
-Darin Lee

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to