Oops, seems like somebody already solved this problem some days ago (and it's a pity that squishdot will not work on CVS version) http://classic.zope.org:8080/Collector/1158/view ----- Original Message ----- From: "Vitaly Osipov" <vos@telenor.cz> To: "zope list" <zope@zope.org> Sent: Friday, April 07, 2000 3:26 PM Subject: [Zope] CVS version of Zope and Squishdot
Hello,
I am not sure if this should go to zope-dev list, but I am rather a newbie in Zope and Python, and maybe just do not see something what is very obvious for Zope gurus :)
This is what happened: after I fetched a CVS version of Zope, I noticed that Squishdot object became broken (it works on 2.1.6) with message:
Squishdot Import Traceback Traceback (innermost last): File "/zope/lib/python/OFS/Application.py", line 387, in import_products product=__import__(pname, global_dict, global_dict, silly) File "/zope1/lib/python/Products/Squishdot/__init__.py", line 128, in ? import Squishdot, Squishfile File "/zope1/lib/python/Products/Squishdot/Squishdot.py", line 131, in ? from SearchIndex.TextIndex import TextIndex File "/zope/lib/python/SearchIndex/TextIndex.py", line 217, in ? from Lexicon import Lexicon, query, stop_word_dict ImportError: cannot import name query
and (funny) there are really no "query" defs in Lexicon.py, only "query_hook" (so it is not a problem of Suishdot, but of SearchIndex)... Isn't it a bug in new SearchIndex or I just have to study some big thick Python book? :)))
Vitaly.
_______________________________________________ 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 )