[Zope-dev] ImportError

Jens Vagelpohl jens@zope.com
Thu, 27 Sep 2001 08:07:57 -0400


nils,

this is actually a bug in 2.4.1. a file was omitted that makes changes to 
the Splitter modules backwards-compatible for content and catalogs that 
have been created under an earlier version of Zope.

AFAIK this will be fixed in the next release, what you can do right now is 
to make a file Splitter.py on the file system under 
<zope>/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter 
with the content::


from ZopeSplitter import *
Splitter = ZopeSplitter


that fixed it for me.

jens





On Thursday, September 27, 2001, at 06:50 , Nils Wiegandt wrote:

> Hello to all of you,
>
> I want to import a website written on a Windows NT machine with Zope
> 2.4.0 to
> a Solarisserver with Zope 2.4.1, but it doesn' t work!?
>
> following error ocurred:
>
> Zope Error
>
>               Zope has encountered an error while publishing this
> resource.
>
>               Error Type: ImportError
>               Error Value: No module named Splitter
>
>
>
>               Troubleshooting Suggestions
>
>                    The URL may be incorrect.
>                    The parameters passed to this resource may be
> incorrect.
>                    A resource that this resource relies on may be
> encountering an error.
>
>               For more detailed information about the error, please
> refer to the HTML     source for this page.
>
>               If the error persists please contact the site maintainer.
> Thank you for your patience.
>
> Traceback (innermost last):
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
>
> line 223, in publish_module
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
>
> line 187, in publish
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/Zope/__init__.py,
> line 226, in zpublisher_exception_hook
>     (Object: ApplicationDefaultPermissions)
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
>
> line 171, in publish
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/mapply.py,
>
> line 160, in mapply
>     (Object: manage_importObject)
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
>
> line 112, in call_object
>     (Object: manage_importObject)
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/OFS/ObjectManager.py,
>
> line 584, in manage_importObject
>     (Object: ApplicationDefaultPermissions)
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZODB/ExportImport.py,
>
> line 150, in importFile
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZODB/Transaction.py,
>
> line 302, in commit
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZODB/Connection.py,
> line 307, in commit
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZODB/ExportImport.py,
>
> line 219, in _importDuringCommit
> ImportError: (see above)
>
>
> Thanks for help
>
> Nils
>
>
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )