[Zope-dev] Problem with CMF trunk and Zope 2 trunk
Hi, I just wanted to test something with the CMF buildout and I'm getting the following error. As far as I can tell I have everything correctly up to date. What's going wrong? Charlie fuchsia:trunk charlieclark$ bin/instance fg Traceback (most recent call last): File bin/instance, line 91, in module + sys.argv[1:]) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/plone.recipe.zope2instance-4.0a1-py2.6.egg/plone/recipe/zope2instance/ctl.py, line 232, in main options.realize(args, doc=__doc__) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/Zope2/Startup/zopectl.py, line 148, in realize ZDOptions.realize(self, *args, **kw) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/zdaemon-2.0.4-py2.6.egg/zdaemon/zdoptions.py, line 290, in realize self.load_schema() File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/zdaemon-2.0.4-py2.6.egg/zdaemon/zdoptions.py, line 338, in load_schema self.schema = ZConfig.loadSchema(self.schemafile) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/ZConfig-2.8.0-py2.6.egg/ZConfig/loader.py, line 33, in loadSchema return SchemaLoader().loadURL(url) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/ZConfig-2.8.0-py2.6.egg/ZConfig/loader.py, line 67, in loadURL return self.loadResource(r) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/ZConfig-2.8.0-py2.6.egg/ZConfig/loader.py, line 195, in loadResource schema = ZConfig.schema.parseResource(resource, self) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/ZConfig-2.8.0-py2.6.egg/ZConfig/schema.py, line 27, in parseResource xml.sax.parse(resource.file, parser) File /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/__init__.py, line 33, in parse parser.parse(source) File /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/expatreader.py, line 107, in parse xmlreader.IncrementalParser.parse(self, source) File /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/xmlreader.py, line 123, in parse self.feed(buffer) File /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/expatreader.py, line 207, in feed self._parser.Parse(data, isFinal) File /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/expatreader.py, line 301, in start_element self._cont_handler.startElement(name, AttributesImpl(attrs)) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/ZConfig-2.8.0-py2.6.egg/ZConfig/schema.py, line 103, in startElement getattr(self, start_ + name)(attrs) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/ZConfig-2.8.0-py2.6.egg/ZConfig/schema.py, line 306, in start_import src = self._loader.schemaComponentSource(pkg, file) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/ZConfig-2.8.0-py2.6.egg/ZConfig/loader.py, line 217, in schemaComponentSource package=package) ZConfig.SchemaResourceError: could not load package ZServer: No module named tainted Package name: 'ZServer' File name: 'component.xml' Package path: None -- Charlie Clark Managing Director Clark Consulting Research German Office Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-600-3657 Mobile: +49-178-782-6226 ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Problem with CMF trunk and Zope 2 trunk
Hi. On Wed, Jun 23, 2010 at 8:52 PM, Charlie Clark charlie.cl...@clark-consulting.eu wrote: I just wanted to test something with the CMF buildout and I'm getting the following error. As far as I can tell I have everything correctly up to date. What's going wrong? You have likely some old SVN remains. If you do an svn st on the Zope2 tree, you should see some orphaned directories - remove those. Alternatively remove the Zope2 checkout and start fresh. Hanno ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Problem with CMF trunk and Zope 2 trunk
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charlie Clark wrote: Hi, I just wanted to test something with the CMF buildout and I'm getting the following error. As far as I can tell I have everything correctly up to date. What's going wrong? Charlie fuchsia:trunk charlieclark$ bin/instance fg Traceback (most recent call last): File bin/instance, line 91, in module + sys.argv[1:]) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/plone.recipe.zope2instance-4.0a1-py2.6.egg/plone/recipe/zope2instance/ctl.py, line 232, in main options.realize(args, doc=__doc__) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/Zope2/Startup/zopectl.py, line 148, in realize ZDOptions.realize(self, *args, **kw) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/zdaemon-2.0.4-py2.6.egg/zdaemon/zdoptions.py, line 290, in realize self.load_schema() File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/zdaemon-2.0.4-py2.6.egg/zdaemon/zdoptions.py, line 338, in load_schema self.schema = ZConfig.loadSchema(self.schemafile) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/ZConfig-2.8.0-py2.6.egg/ZConfig/loader.py, line 33, in loadSchema return SchemaLoader().loadURL(url) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/ZConfig-2.8.0-py2.6.egg/ZConfig/loader.py, line 67, in loadURL return self.loadResource(r) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/ZConfig-2.8.0-py2.6.egg/ZConfig/loader.py, line 195, in loadResource schema = ZConfig.schema.parseResource(resource, self) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/ZConfig-2.8.0-py2.6.egg/ZConfig/schema.py, line 27, in parseResource xml.sax.parse(resource.file, parser) File /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/__init__.py, line 33, in parse parser.parse(source) File /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/expatreader.py, line 107, in parse xmlreader.IncrementalParser.parse(self, source) File /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/xmlreader.py, line 123, in parse self.feed(buffer) File /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/expatreader.py, line 207, in feed self._parser.Parse(data, isFinal) File /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/expatreader.py, line 301, in start_element self._cont_handler.startElement(name, AttributesImpl(attrs)) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/ZConfig-2.8.0-py2.6.egg/ZConfig/schema.py, line 103, in startElement getattr(self, start_ + name)(attrs) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/ZConfig-2.8.0-py2.6.egg/ZConfig/schema.py, line 306, in start_import src = self._loader.schemaComponentSource(pkg, file) File /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/eggs/ZConfig-2.8.0-py2.6.egg/ZConfig/loader.py, line 217, in schemaComponentSource package=package) ZConfig.SchemaResourceError: could not load package ZServer: No module named tainted Package name: 'ZServer' File name: 'component.xml' Package path: None You likely need to get rid of the directories in 'src' correspongin to the newly-laid eggs: $ rm -rf include src/AccessControl src/DocumentTemplate \ src/Products/ZCTextIndex and rerun buildout. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkwiXNYACgkQ+gerLs4ltQ7uowCfVmrC8Zw21QKN+lRVB1mdYWtx tv0AoNGz9/RzpcfsrB2NzhK0hToxM3Xd =uhs6 -END PGP SIGNATURE- ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Problem with CMF trunk and Zope 2 trunk
Am 23.06.2010, 21:05 Uhr, schrieb Hanno Schlichting ha...@hannosch.eu: You have likely some old SVN remains. If you do an svn st on the Zope2 tree, you should see some orphaned directories - remove those. Alternatively remove the Zope2 checkout and start fresh. Thanks Hanno and Tres for the pointers. A bundle of stuff has moved: Everything running okay now. /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Products.CMFCore/Products/CMFCore/FSObject.py:21: DeprecationWarning: RoleManager is deprecated. RoleManager is no longer part of AccessControl, please depend on Zope2 and import from OFS.role or use the new minimal RoleManager class from AccessControl.rolemanager. from AccessControl.Role import RoleManager /Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/Zope2/App/ClassFactory.py:22: DeprecationWarning: UserFolder is deprecated. User folders are no longer part of AccessControl, please depend on Zope2 and import from OFS.userfolder or use the new minimal user folder classes from AccessControl.userfolder. return getattr(m, name) I think we need to fix these imports in CMF. Charlie -- Charlie Clark Managing Director Clark Consulting Research German Office Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-600-3657 Mobile: +49-178-782-6226 ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )