[Zope] Re: [Zope-Annce] ANNOUNCE: Zope 2.3.1 final released
Oleg Broytmann
phd@phd.fep.ru
Sat, 31 Mar 2001 17:01:12 +0400 (MSD)
Hi!
> Zope 2.3.1 final has been released - you can download it from
> Zope.org:
>
> http://www.zope.org/Products/Zope/2.3.1/
Something broken in the ZCatalog again :( I can search a russian word if
it is complete word, for example my surname "broytman" (in Russian) or
name "oleg":
http://phd.russ.ru/zope.net.ru/search-results?text_search=%C2%D2%CF%CA%D4%CD%C1%CE
I can even search an incomplete word with * ("broyt*"):
http://phd.russ.ru/zope.net.ru/search-results?text_search=%C2%D2%CF%CA%D4*
But I cannot search incomplete word ("broyt", "ole"):
http://phd.russ.ru/zope.net.ru/search-results?text_search=%C2%D2%CF%CA%D4
This worked in 2.3.1b3, but stopped in 2.3.1 final :(((
<h2>Zope Error</h2>
<p>Zope has encountered an error while publishing this resource.</p>
<p>
<strong>Error Type: TypeError</strong><br>
<strong>Error Value: expected integer key</strong><br>
Traceback (innermost last):
File /usr/local/Zope-2.3.1-src/lib/python/ZPublisher/Publish.py, line
223, in publish_module
File /usr/local/Zope-2.3.1-src/lib/python/ZPublisher/Publish.py, line
187, in publish
File /usr/local/Zope-2.3.1-src/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
(Object: Traversable)
File /usr/local/Zope-2.3.1-src/lib/python/ZPublisher/Publish.py, line
171, in publish
File /usr/local/Zope-2.3.1-src/lib/python/ZPublisher/mapply.py, line 160,
in mapply
(Object: search-results)
File /usr/local/Zope-2.3.1-src/lib/python/ZPublisher/Publish.py, line
112, in call_object
(Object: search-results)
File /usr/local/Zope-2.3.1-src/lib/python/OFS/DTMLMethod.py, line 189, in
__call__
(Object: search-results)
File /usr/local/Zope-2.3.1-src/lib/python/DocumentTemplate/DT_String.py,
line 538, in __call__
(Object: search-results)
File /usr/local/Zope-2.3.1-src/lib/python/DocumentTemplate/DT_Let.py,
line 147, in render
(Object: catalog="_.getitem('search-catalog', 0)")
File /usr/local/Zope-2.3.1-src/lib/python/DocumentTemplate/DT_Util.py,
line 334, in eval
(Object: REQUEST.set('search1',
catalog(PrincipiaSearchSource=text_search)))
(Info: REQUEST)
File <string>, line 0, in ?
File /usr/local/Zope-2.3.1-src/lib/python/Products/ZCatalog/ZCatalog.py,
line 535, in searchResults
(Object: Traversable)
File /usr/local/Zope-2.3.1-src/lib/python/Products/ZCatalog/Catalog.py,
line 651, in searchResults
File /usr/local/Zope-2.3.1-src/lib/python/Products/ZCatalog/Catalog.py,
line 542, in _indexedSearch
File /usr/local/Zope-2.3.1-src/lib/python/SearchIndex/UnTextIndex.py,
line 513, in _apply_index
File /usr/local/Zope-2.3.1-src/lib/python/SearchIndex/UnTextIndex.py,
line 576, in query
File /usr/local/Zope-2.3.1-src/lib/python/SearchIndex/UnTextIndex.py,
line 616, in evaluate
File /usr/local/Zope-2.3.1-src/lib/python/SearchIndex/UnTextIndex.py,
line 448, in __getitem__
TypeError: (see above)
Oleg.
----
Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.