Re: [Zope-dev] ImportError
No, this will not work because PluginIndexes were introduced with Zope 2.4.0 and in earlier versions. Andreas - Original Message - From: Andre Schubert [EMAIL PROTECTED] To: zope [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 10:10 Subject: [Zope-dev] ImportError Hi all, i have a little problem. A friend of me has developed a ZClass-Based Product with Zope-2.4.1. And now we tried to import this Product into Zope-2.3.3, but we got this error. No module named PluginIndexes.TextIndex.TextIndex But Zope-2.3.3 doesnt have PluginIndexes, and the ZClass-Product doesnt use PluginIndexes, it uses only Products which are installed on both Zopes. Q: Is there a way to import ZClass based Products from Zope-2.4.1 into Zope-2.3.3?? Thanks as ___ Zope-Dev maillist - [EMAIL PROTECTED] 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 ) ___ Zope-Dev maillist - [EMAIL PROTECTED] 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 )
Re: [Zope-dev] ImportError
ups, this should be: No, this will not work because PluginIndexes were introduced with Zope 2.4.0 and are not available in earlier versions. Andreas - Original Message - From: Andreas Jung [EMAIL PROTECTED] To: Andre Schubert [EMAIL PROTECTED]; zope [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 10:02 Subject: Re: [Zope-dev] ImportError No, this will not work because PluginIndexes were introduced with Zope 2.4.0 and in earlier versions. Andreas ___ Zope-Dev maillist - [EMAIL PROTECTED] 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 )
[Zope-dev] ImportError
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 - [EMAIL PROTECTED] 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 )
Re: [Zope-dev] ImportError
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 - [EMAIL PROTECTED] 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 ) ___ Zope-Dev maillist - [EMAIL PROTECTED] 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 )
Re: [Zope-dev] ImportError
Thaks for your help, but it doesn't work for me. So far, I have deleted the catalog, but have the same Error when importing it. Jens Vagelpohl wrote: 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 ___ Zope-Dev maillist - [EMAIL PROTECTED] 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 )
Re: [Zope-dev] ImportError
hmm.. ZopeSplitter/__init__.py already contains from ZopeSplitter import ZopeSplitter as Splitter Andreas - Original Message - From: Jens Vagelpohl [EMAIL PROTECTED] To: Nils Wiegandt [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 27, 2001 08:07 Subject: Re: [Zope-dev] ImportError 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 - [EMAIL PROTECTED] 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 ) ___ Zope-Dev maillist - [EMAIL PROTECTED] 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 ) ___ Zope-Dev maillist - [EMAIL PROTECTED] 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 )
[Zope-dev] ImportError (No module names utils)
Hi, after using a module named utils in a Zope product the root management screen is no longer available (the module is now renamed). The traceback looks like this: Traceback (innermost last): File /home/morten/tmp/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /home/morten/tmp/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/morten/tmp/Zope-2.4.1-src/lib/python/Zope/__init__.py, line 226, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /home/morten/tmp/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/morten/tmp/Zope-2.4.1-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_main) File /home/morten/tmp/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_main) File /home/morten/tmp/Zope-2.4.1-src/lib/python/Shared/DC/Scripts/Bindings.py, line 324, in __call__ (Object: manage_main) File /home/morten/tmp/Zope-2.4.1-src/lib/python/Shared/DC/Scripts/Bindings.py, line 354, in _bindAndExec (Object: manage_main) File /home/morten/tmp/Zope-2.4.1-src/lib/python/App/special_dtml.py, line 244, in _exec (Object: manage_main) File /home/morten/tmp/Zope-2.4.1-src/lib/python/DocumentTemplate/DT_In.py, line 711, in renderwob (Object: objectItems) File /home/morten/tmp/Zope-2.4.1-src/lib/python/DocumentTemplate/DT_In.py, line 839, in sort_sequence (Object: objectItems) File /home/morten/tmp/Zope-2.4.1-src/lib/python/ZODB/Connection.py, line 544, in setstate ImportError: (see above) Any ideas? Thanks, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] 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 )