Upgrading Zope instances from 2.5 to 2.6a
Hello, I am trying to upgrade one of our instances from Zope 2.5 to 2.6a ... We are running the instance using INSTANCE_HOME so I have just started to Zope-2.6 with this instance home .. But I get the following error: 2002-09-23T14:01:00 ERROR(200) Zope Couldn't install BackTalk Traceback (innermost last): Module OFS.Application, line 639, in install_product - __traceback_info__: BackTalk Module Products.BackTalk, line 48, in initialize Module App.ProductContext, line 327, in registerHelp Module App.ProductContext, line 253, in registerHelpTopic Module OFS.ObjectManager, line 269, in _setObject Module HelpSys.HelpTopic, line 79, in manage_afterAdd Module HelpSys.HelpTopic, line 92, in index_object Module Products.ZCatalog.ZCatalog, line 452, in catalog_object Module Products.ZCatalog.Catalog, line 352, in catalogObject Module Products.PluginIndexes.TextIndex.TextIndex, line 307, in index_object Module ZODB.Connection, line 533, in setstate SystemError: Failed to import class Splitter from module Products.PluginIndexes.TextIndex.Splitter.ZopeSplitter The error appears for all the products. Looks like something has changed in PluginIndexes ? :-) What should I do in order to correct the error ? -- Gitte Wange Email: gitte@mmmanager.org Tlf: +45 29 72 79 72 Win98 error 002: Insufficient diskspace. You need at least 300 GB free memory.
copy TextIndex.Splitter's __init__.py from a working 2.5.1 to 2.6.0a However, you probably should try a CVS checkout, 2.6.0a is quite old already... HTH, Stefan --On Montag, 23. September 2002 14:20 +0200 Gitte Wange <gitte@mmmanager.org> wrote:
Hello,
I am trying to upgrade one of our instances from Zope 2.5 to 2.6a ... We are running the instance using INSTANCE_HOME so I have just started to Zope-2.6 with this instance home ..
But I get the following error: 2002-09-23T14:01:00 ERROR(200) Zope Couldn't install BackTalk Traceback (innermost last): Module OFS.Application, line 639, in install_product - __traceback_info__: BackTalk Module Products.BackTalk, line 48, in initialize Module App.ProductContext, line 327, in registerHelp Module App.ProductContext, line 253, in registerHelpTopic Module OFS.ObjectManager, line 269, in _setObject Module HelpSys.HelpTopic, line 79, in manage_afterAdd Module HelpSys.HelpTopic, line 92, in index_object Module Products.ZCatalog.ZCatalog, line 452, in catalog_object Module Products.ZCatalog.Catalog, line 352, in catalogObject Module Products.PluginIndexes.TextIndex.TextIndex, line 307, in index_object Module ZODB.Connection, line 533, in setstate SystemError: Failed to import class Splitter from module Products.PluginIndexes.TextIndex.Splitter.ZopeSplitter
The error appears for all the products. Looks like something has changed in PluginIndexes ? :-)
What should I do in order to correct the error ?
-- Those who write software only for pay should go hurt some other field. /Erik Naggum/
man, 2002-09-23 kl. 14:30 skrev Stefan H. Holek:
copy TextIndex.Splitter's __init__.py from a working 2.5.1 to 2.6.0a
However, you probably should try a CVS checkout, 2.6.0a is quite old already...
HTH, Stefan
Well we are using the released development versiona at the moment - will try the CVS version at a non-production site at home :-) Well copying the __init__.py file helped a bit. But now I get this error: 2002-09-23T14:40:39 ERROR(200) Zope Couldn't install ZSQLMethods Traceback (innermost last): Module OFS.Application, line 639, in install_product - __traceback_info__: ZSQLMethods Module Products.ZSQLMethods, line 41, in initialize Module App.ProductContext, line 327, in registerHelp Module App.ProductContext, line 253, in registerHelpTopic Module OFS.ObjectManager, line 269, in _setObject Module HelpSys.HelpTopic, line 79, in manage_afterAdd Module HelpSys.HelpTopic, line 92, in index_object Module Products.ZCatalog.ZCatalog, line 452, in catalog_object Module Products.ZCatalog.Catalog, line 352, in catalogObject Module Products.PluginIndexes.TextIndex.TextIndex, line 307, in index_object Module ZODB.Connection, line 533, in setstate SystemError: Failed to import class Splitter from module Products.PluginIndexes.TextIndex.Splitter.ZopeSplitter Will it help to copy the __init__.py from Zope 2.5's PluginIndexes/TextIndex/Splitter/ZopeSplitter ?? -- Gitte Wange Email: gitte@mmmanager.org Tlf: +45 29 72 79 72 If Microsoft built cars, seats would force everyone to have the same size butt.
Ouch, that's what I actually meant to write. ;-) You need to copy ZopeSplitter's __init__.py. Sorry, Stefan --On Montag, 23. September 2002 14:45 +0200 Gitte Wange <gitte@mmmanager.org> wrote:
man, 2002-09-23 kl. 14:30 skrev Stefan H. Holek:
Will it help to copy the __init__.py from Zope 2.5's PluginIndexes/TextIndex/Splitter/ZopeSplitter ??
-- Those who write software only for pay should go hurt some other field. /Erik Naggum/
Gitte Wange writes:
... Module ZODB.Connection, line 533, in setstate SystemError: Failed to import class Splitter from module Products.PluginIndexes.TextIndex.Splitter.ZopeSplitter I got this same error message when I had not recompiled Zope.
"ZopeSplitter" is implemented in "C" (you need a "*.so"/"*.pyd" object). It must be compiled and linked before it becomes usable. Dieter
On Mon, 2002-09-23 at 19:15, Dieter Maurer wrote:
Gitte Wange writes:
... Module ZODB.Connection, line 533, in setstate SystemError: Failed to import class Splitter from module Products.PluginIndexes.TextIndex.Splitter.ZopeSplitter I got this same error message when I had not recompiled Zope.
"ZopeSplitter" is implemented in "C" (you need a "*.so"/"*.pyd" object). It must be compiled and linked before it becomes usable.
Dieter
Thanks Dieter - but I don't quite understand (sorry for being slow). What do I need to compile ? Can't I just copy the __init__.py file? (It worked with the other error I wrote about earlier today). Greetings, Gitte Wange
Gitte Wange writes:
On Mon, 2002-09-23 at 19:15, Dieter Maurer wrote: ...
I got this same error message when I had not recompiled Zope.
"ZopeSplitter" is implemented in "C" (you need a "*.so"/"*.pyd" object). It must be compiled and linked before it becomes usable.
Dieter
Thanks Dieter - but I don't quite understand (sorry for being slow). What do I need to compile ? Can't I just copy the __init__.py file? (It worked with the other error I wrote about earlier today). I do not have Zope 2.6. Thus, I cannot say for sure how you need to do it.
In my Zope 2.5.1, "python wocgi.py" would build all necessary shared objects. Alternatively, in "<zopedir>/lib/python/Products/PluginIndexes/TextIndex/Splitter ", there is a "setup.py". I could use "python setup.py build" to build the necessary shared splitter objects. Dieter
participants (3)
-
Dieter Maurer -
Gitte Wange -
Stefan H. Holek