[Zope] Re: [Zope-Annce] ANNOUNCE: Zope 2.3.1 beta 2 released

Oleg Broytmann phd@mail2.phd.pp.ru
Fri, 16 Mar 2001 18:36:27 +0300 (MSK)


Hello!

On Fri, 16 Mar 2001, Oleg Broytmann wrote:
>     http://www.zope.org/Products/Zope/2.3.1b2/
>     http://www.zope.org/Members/mcdonc/HowTos/UpgradeToNewCatalog

   I have problems with new catalog. I successfully upgraded to beta2. I
ran catalog/manage_convertBTrees. It worked, but my catalog lost all
objects. I tried to Find Items. No items found.

   I completely removed the catalog and recreated another one with the same
name. I found a bug - the Undo tab shows operation to undo. That's bad - I
don't wnat to undo manage_convertBTrees on newly created catalog.

   Well, I ran Find Objects. 365 objects found. I performed few test
searches. Almost all goes weel, with one bug.
   I can search "python" and "python*". I can search with russian letters
(I repatched Splitter.c to be locale-aware). But I can't serach russian
text with *

  <h2>Zope Error</h2>
  <p>Zope has encountered an error while publishing this resource.</p>

  <p>
  <strong>Error Type: TextIndex.QueryError</strong><br>
  <strong>Error Value: Malformed query</strong><br>
  </p>

  <hr noshade>

  <p>Troubleshooting Suggestions</p>

  <ul>
    <li>The URL may be incorrect.</li>
  <li>The parameters passed to this resource may be incorrect.</li>
  <li>A resource that this resource relies on may be encountering an
error.</li>
  </ul>

  <p>For more detailed information about the error, please
  refer to the HTML source for this page.
  </p>

  <p>If the error persists please contact the site maintainer.
  Thank you for your patience.
  </p>
</td></tr>
</table>


</BODY></HTML>
<PRE>
Traceback (innermost last):
  File /usr/local/Zope-2.3.1b2-src/lib/python/ZPublisher/Publish.py, line
223, in publish_module
  File /usr/local/Zope-2.3.1b2-src/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /usr/local/Zope-2.3.1b2-src/lib/python/Zope/__init__.py, line 221,
in zpublisher_exception_hook
    (Object: Traversable)
  File /usr/local/Zope-2.3.1b2-src/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /usr/local/Zope-2.3.1b2-src/lib/python/ZPublisher/mapply.py, line
160, in mapply
    (Object: search-results)
  File /usr/local/Zope-2.3.1b2-src/lib/python/ZPublisher/Publish.py, line
112, in call_object
    (Object: search-results)
  File /usr/local/Zope-2.3.1b2-src/lib/python/OFS/DTMLMethod.py, line 189,
in __call__
    (Object: search-results)
  File
/usr/local/Zope-2.3.1b2-src/lib/python/DocumentTemplate/DT_String.py, line
538, in __call__
    (Object: search-results)
  File /usr/local/Zope-2.3.1b2-src/lib/python/DocumentTemplate/DT_Let.py,
line 147, in render
    (Object: catalog=&quot;_.getitem('search-catalog', 0)&quot;)
  File /usr/local/Zope-2.3.1b2-src/lib/python/DocumentTemplate/DT_Util.py,
line 334, in eval
    (Object: REQUEST.set('search1',
catalog(PrincipiaSearchSource=text_search)))
    (Info: REQUEST)
  File &lt;string&gt;, line 0, in ?
  File
/usr/local/Zope-2.3.1b2-src/lib/python/Products/ZCatalog/ZCatalog.py, line
530, in searchResults
    (Object: Traversable)
  File /usr/local/Zope-2.3.1b2-src/lib/python/Products/ZCatalog/Catalog.py,
line 654, in searchResults
  File /usr/local/Zope-2.3.1b2-src/lib/python/Products/ZCatalog/Catalog.py,
line 545, in _indexedSearch
  File /usr/local/Zope-2.3.1b2-src/lib/python/SearchIndex/UnTextIndex.py,
line 492, in _apply_index
  File /usr/local/Zope-2.3.1b2-src/lib/python/SearchIndex/UnTextIndex.py,
line 546, in query
  File /usr/local/Zope-2.3.1b2-src/lib/python/SearchIndex/UnTextIndex.py,
line 624, in evaluate
TextIndex.QueryError: (see above)

Oleg.
----
     Oleg Broytmann            http://phd.pp.ru/            phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.