How do I get rid of this message
How do I get rid of this message: .\lib\python\SearchIndex\__init__.py:19: DeprecationWarning: The usage of the Se archIndex package is deprecated since Zope 2.4. This package is only kept for backwards compatibility for a while and will go away in a future release. Please use instead the re-factored modules in Products/PluginIndexes. warnings.warn("The usage of the SearchIndex package is deprecated since \ I upgraded a server from 2.3.3 to 2.5.1, by installing a new 2.5.1 instance, and copying the Data.fs. I don't use any SearchIndex any more, all the ZCatalogs have been recreated using PluginIndexes. I have removed the references to all old products (I think). What more can I do? //Lennart
Never mind. I brutally deleted *all* products and rebooted and it worked. The question now is just how to do that from a Python Script. Hmmmm. ----- Original Message ----- From: "Lennart Regebro" <lennart@torped.se> To: <zope@zope.org> Sent: Tuesday, May 07, 2002 1:00 PM Subject: [Zope] How do I get rid of this message
How do I get rid of this message:
.\lib\python\SearchIndex\__init__.py:19: DeprecationWarning: The usage of the Se archIndex package is deprecated since Zope 2.4. This package is only kept for backwards compatibility for a while and will go away in a future release.
Please use instead the re-factored modules in Products/PluginIndexes.
warnings.warn("The usage of the SearchIndex package is deprecated since \
I upgraded a server from 2.3.3 to 2.5.1, by installing a new 2.5.1 instance, and copying the Data.fs. I don't use any SearchIndex any more, all the ZCatalogs have been recreated using PluginIndexes. I have removed the references to all old products (I think).
What more can I do?
//Lennart
_______________________________________________ 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 )
you can always find out the culprit by using the debugger. you can put a pdb.set_trace into the SearchIndex.__init__.py module and if you do "up" while in the debugger you can see where SearchIndex has been called from. i assume that the problem is the built-in HelpSystem. it has its own little hidden catalog. i'm afraid i can't offer a solution myself on how to upgrade that particular catalog :( jens On Tuesday, May 7, 2002, at 07:00 , Lennart Regebro wrote:
How do I get rid of this message:
.\lib\python\SearchIndex\__init__.py:19: DeprecationWarning: The usage of the Se archIndex package is deprecated since Zope 2.4. This package is only kept for backwards compatibility for a while and will go away in a future release.
Please use instead the re-factored modules in Products/PluginIndexes.
warnings.warn("The usage of the SearchIndex package is deprecated since \
I upgraded a server from 2.3.3 to 2.5.1, by installing a new 2.5.1 instance, and copying the Data.fs. I don't use any SearchIndex any more, all the ZCatalogs have been recreated using PluginIndexes. I have removed the references to all old products (I think).
What more can I do?
//Lennart
_______________________________________________ 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 )
participants (2)
-
Jens Vagelpohl -
Lennart Regebro