[Zope] Issues with instance migration and TextIndexNG2->TextIndexNG3

Jonas Meurer jonas at freesources.org
Fri Sep 5 07:48:21 EDT 2008


Hello,

I just needed to migrate a zope2.10 instance from one host to another.
The zope version on the original host was 2.10.5, on the new destination
host it's 2.10.6. Most disk products are the same, only TextIndexNG2 on
the original host changed to TextIndexNG3 on the new destination host.

I simply copied the Data.fs and all Extensions to the new host after
preparing the new instance. So far everything seems to work out of the
box, except that I get an error for TextIndexNG3 in the events.log and
the product TextIndextNG3 is not listed in the Products management in
the ZMI.

Other instances, which are created from the scratch on this new host
don't get ther error, thus I fear that it's not connected to the Product
but to some conflict in the old Data.fs.

The error from events.log is the following:

2008-09-05T13:35:10 ERROR Application Could not import Products.TextIndexNG3
Traceback (most recent call last):
  File "/usr/lib/zope2.10/lib/python/OFS/Application.py", line 709, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/var/lib/zope2.10/instance/donau/Products/TextIndexNG3/__init__.py", line 25, in ?
    import TextIndexNG3
  File "/var/lib/zope2.10/instance/donau/Products/TextIndexNG3/TextIndexNG3.py", line 24, in ?
    from textindexng.index import Index
ImportError: No module named textindexng.index
------
2008-09-05T13:35:12 ERROR Application Couldn't install TextIndexNG3
Traceback (most recent call last):
  File "/usr/lib/zope2.10/lib/python/OFS/Application.py", line 758, in install_product
    global_dict, global_dict, silly)
  File "/var/lib/zope2.10/instance/donau/Products/TextIndexNG3/__init__.py", line 25, in ?
    import TextIndexNG3
  File "/var/lib/zope2.10/instance/donau/Products/TextIndexNG3/TextIndexNG3.py", line 24, in ?
    from textindexng.index import Index
ImportError: No module named textindexng.index
------
2008-09-05T13:35:12 INFO Zope Ready to handle requests

As I'm relatively new to Zope I've simply no idea where to start
debugging. Do you have any suggestions what the problem could be?

greetings,
 jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope/attachments/20080905/e78a8453/attachment.bin 


More information about the Zope mailing list