Julio,

Can you give us the actual index names that you're putting in the request to
search against, the query values you're passing in to each index, and the
contents of the sort_on parameter for that request?  What kinds of indexes
are referred to by each of the index names in the query?

----- Original Message -----
From: "Júlio Dinis Silva" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 16, 2001 2:28 PM
Subject: [Zope-dev] New Zcatalog bug on b2?


> When passing in the REQUEST the var sort_on into the
> searchREsults method I get this error:
>
> Zope Errorr
>
> Zope has encountered an error while publishing this resource.
>
> Error Type: TypeError
> Error Value: len() of unsized object
>
> With this traceback:
>
> Traceback (innermost last):
>   File
> /usr/local/src/Zope-2.3.1b2-linux2-x86/lib/python/ZPublisher/Publish.py,
> line 223, in publish_module
>   File
> /usr/local/src/Zope-2.3.1b2-linux2-x86/lib/python/ZPublisher/Publish.py,
> line 187, in publish
>   File /usr/local/src/Zope-2.3.1b2-linux2-x86/lib/python/Zope/__init__.py,
> line 221, in zpublisher_exception_hook
>     (Object: Traversable)
>   File
> /usr/local/src/Zope-2.3.1b2-linux2-x86/lib/python/ZPublisher/Publish.py,
> line 171, in publish
>   File
> /usr/local/src/Zope-2.3.1b2-linux2-x86/lib/python/ZPublisher/mapply.py,
line
> 160, in mapply
>     (Object: executeSearch)
>   File
> /usr/local/src/Zope-2.3.1b2-linux2-x86/lib/python/ZPublisher/Publish.py,
> line 112, in call_object
>     (Object: executeSearch)
>   File
/usr/local/src/Zope-2.3.1b2-linux2-x86/lib/python/OFS/DTMLMethod.py,
> line 189, in __call__
>     (Object: executeSearch)
>   File
>
/usr/local/src/Zope-2.3.1b2-linux2-x86/lib/python/DocumentTemplate/DT_String
.py,
> line 538, in __call__
>     (Object: executeSearch)
>   File
>
/usr/local/src/Zope-2.3.1b2-linux2-x86/lib/python/DocumentTemplate/DT_Let.py
,
> line 146, in render
>     (Object: Results="Catalog(REQUEST=REQUEST)")
>   File
>
/usr/local/src/Zope-2.3.1b2-linux2-x86/lib/python/DocumentTemplate/DT_Util.p
y,
> line 334, in eval
>     (Object: Catalog(REQUEST=REQUEST))
>     (Info: REQUEST)
>   File <string>, line 0, in ?
>   File
>
/usr/local/src/Zope-2.3.1b2-linux2-x86/lib/python/Products/ZCatalog/ZCatalog
.py,
> line 530, in searchResults
>     (Object: Traversable)
>   File
>
/usr/local/src/Zope-2.3.1b2-linux2-x86/lib/python/Products/ZCatalog/Catalog.
py,
> line 654, in searchResults
>   File
>
/usr/local/src/Zope-2.3.1b2-linux2-x86/lib/python/Products/ZCatalog/Catalog.
py,
> line 591, in _indexedSearch
> TypeError: (see above)
>
>
>
>
>
>
>
>
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
> _______________________________________________
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>


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

Reply via email to