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

Chris McDonough chrism@digicool.com
Fri, 16 Mar 2001 11:57:50 -0500


----- Original Message -----
From: "Oleg Broytmann" <phd@phd.russ.ru>
To: <phd@mail2.phd.pp.ru>
Cc: "Zope Mailing List" <zope@zope.org>
Sent: Friday, March 16, 2001 10:36 AM
Subject: [Zope] Re: [Zope-Annce] ANNOUNCE: Zope 2.3.1 beta 2 released


> 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.

Clearly this is a bad thing.  Sorry.  I did test this and it worked for me.
Looks like we'll need to take another look at the conversion stuff.

>    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.

Actually, maybe you do.  ;-)  In the case that you weren't able to live with
the fact that all of your items were munched by the conversion routine, this
would be handy.  I think this transaction had to do with the call to
manage_convertBTrees called prior to the new catalog add.

>    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 *

Hmmm.  Can you provide a pointer to the patched splitter.c source?  How do
we test this?

>
>   <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.
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>