[Zope-dev] Problem with CMF trunk and Zope 2 trunk

Tres Seaver tseaver at palladion.com
Wed Jun 23 15:13:31 EDT 2010


-----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          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://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-----



More information about the Zope-Dev mailing list