Hi,
Created a new product using archetypes template and contenttype and 
atschema localcommands. Added to buildout.cfg and ran buildout 
successfully. Upon restarting, getting this error:


2010-06-23 17:46:45 ERROR Application Couldn't install Five
Traceback (most recent call last):
  File "/home/winn/Z13/buildout-cache/eggs/Zope2-2.12.5-py2.6-linux-
i686.egg/OFS/Application.py", line 671, in install_product
    initmethod(context)
  File "/home/winn/Z13/buildout-cache/eggs/Zope2-2.12.5-py2.6-linux-
i686.egg/Products/Five/__init__.py", line 31, in initialize
    zcml.load_site()
  File "/home/winn/Z13/buildout-cache/eggs/Zope2-2.12.5-py2.6-linux-
i686.egg/Products/Five/zcml.py", line 51, in load_site
    _context = xmlconfig.file(file)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 647, in file
    include(context, name, package)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 546, in include
    processxmlfile(f, context)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
    parser.parse(src)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/xmlreader.py", 
line 123, in parse
    self.feed(buffer)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
    self.context.end()
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 537, in end
    self.stack.pop().finish()
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 685, in finish
    actions = self.handler(context, **args)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 546, in include
    processxmlfile(f, context)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
    parser.parse(src)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/xmlreader.py", 
line 123, in parse
    self.feed(buffer)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
    self.context.end()
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 537, in end
    self.stack.pop().finish()
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 685, in finish
    actions = self.handler(context, **args)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 546, in include
    processxmlfile(f, context)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
    parser.parse(src)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/xmlreader.py", 
line 123, in parse
    self.feed(buffer)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
    self.context.end()
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 537, in end
    self.stack.pop().finish()
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 685, in finish
    actions = self.handler(context, **args)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 546, in include
    processxmlfile(f, context)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
    parser.parse(src)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/xmlreader.py", 
line 123, in parse
    self.feed(buffer)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 338, in start_element_ns
    AttributesNSImpl(newattrs, qnames))
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 230, in startElementNS
    self.context.begin(name, data, info)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 534, in begin
    self.stack.append(self.stack[-1].contained(__name, __data, __info))
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 835, in contained
    return RootStackItem.contained(self, name, data, info)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 706, in contained
    adapter = factory(self.context, data, info)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 1203, in factory
    return ComplexStackItem(self, context, data, info)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 949, in __init__
    args = toargs(newcontext, meta.schema, data)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 1376, in toargs
    args[str(name)] = field.fromUnicode(s)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/fields.py", line 139, in fromUnicode
    value = self.context.resolve(name)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 180, in resolve
    mod = __import__(mname, *_import_chickens)
  File "/home/winn/Z13/zinstance/src/pcg.featuredlistings/pcg/
featuredlistings/content/listing.py", line 11, in <module>
    from pcg.featuredlistings.interfaces import IListing
  File "/home/winn/Z13/zinstance/src/pcg.featuredlistings/pcg/
featuredlistings/interfaces/__init__.py", line 2, in <module>
    from listing import IListing
  File "/home/winn/Z13/zinstance/src/pcg.featuredlistings/pcg/
featuredlistings/interfaces/listing.py", line 5, in <module>
    class IListing(Interface):
  File "/home/winn/Z13/zinstance/src/pcg.featuredlistings/pcg/
featuredlistings/interfaces/listing.py", line 9, in IListing
    details = schema.SourceText(
ZopeXMLConfigurationError: File "/home/winn/Z13/zinstance/parts/instance/
etc/site.zcml", line 15.2-15.55
    ZopeXMLConfigurationError: File "/home/winn/Z13/zinstance/parts/
instance/etc/package-includes/004-pcg.featuredlistings-configure.zcml", 
line 1.0-1.64
    ZopeXMLConfigurationError: File "/home/winn/Z13/zinstance/src/
pcg.featuredlistings/pcg/featuredlistings/configure.zcml", line 12.2-12.32
    ZopeXMLConfigurationError: File "/home/winn/Z13/zinstance/src/
pcg.featuredlistings/pcg/featuredlistings/content/configure.zcml", line 
9.2
    NameError: name 'schema' is not defined
Traceback (most recent call last):
  File "/home/winn/Z13/buildout-cache/eggs/Zope2-2.12.5-py2.6-linux-
i686.egg/Zope2/Startup/run.py", line 56, in <module>
    run()
  File "/home/winn/Z13/buildout-cache/eggs/Zope2-2.12.5-py2.6-linux-
i686.egg/Zope2/Startup/run.py", line 21, in run
    starter.prepare()
  File "/home/winn/Z13/buildout-cache/eggs/Zope2-2.12.5-py2.6-linux-
i686.egg/Zope2/Startup/__init__.py", line 87, in prepare
    self.startZope()
  File "/home/winn/Z13/buildout-cache/eggs/Zope2-2.12.5-py2.6-linux-
i686.egg/Zope2/Startup/__init__.py", line 264, in startZope
    Zope2.startup()
  File "/home/winn/Z13/buildout-cache/eggs/Zope2-2.12.5-py2.6-linux-
i686.egg/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/home/winn/Z13/buildout-cache/eggs/Zope2-2.12.5-py2.6-linux-
i686.egg/Zope2/App/startup.py", line 116, in startup
    OFS.Application.initialize(application)
  File "/home/winn/Z13/buildout-cache/eggs/Zope2-2.12.5-py2.6-linux-
i686.egg/OFS/Application.py", line 251, in initialize
    initializer.initialize()
  File "/home/winn/Z13/buildout-cache/eggs/Zope2-2.12.5-py2.6-linux-
i686.egg/OFS/Application.py", line 279, in initialize
    self.install_products()
  File "/home/winn/Z13/buildout-cache/eggs/Zope2-2.12.5-py2.6-linux-
i686.egg/OFS/Application.py", line 492, in install_products
    return install_products(app)
  File "/home/winn/Z13/buildout-cache/eggs/Zope2-2.12.5-py2.6-linux-
i686.egg/OFS/Application.py", line 523, in install_products
    folder_permissions, raise_exc=debug_mode)
  File "/home/winn/Z13/buildout-cache/eggs/Zope2-2.12.5-py2.6-linux-
i686.egg/OFS/Application.py", line 671, in install_product
    initmethod(context)
  File "/home/winn/Z13/buildout-cache/eggs/Zope2-2.12.5-py2.6-linux-
i686.egg/Products/Five/__init__.py", line 31, in initialize
    zcml.load_site()
  File "/home/winn/Z13/buildout-cache/eggs/Zope2-2.12.5-py2.6-linux-
i686.egg/Products/Five/zcml.py", line 51, in load_site
    _context = xmlconfig.file(file)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 647, in file
    include(context, name, package)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 546, in include
    processxmlfile(f, context)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
    parser.parse(src)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/xmlreader.py", 
line 123, in parse
    self.feed(buffer)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
    self.context.end()
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 537, in end
    self.stack.pop().finish()
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 685, in finish
    actions = self.handler(context, **args)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 546, in include
    processxmlfile(f, context)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
    parser.parse(src)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/xmlreader.py", 
line 123, in parse
    self.feed(buffer)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
    self.context.end()
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 537, in end
    self.stack.pop().finish()
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 685, in finish
    actions = self.handler(context, **args)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 546, in include
    processxmlfile(f, context)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
    parser.parse(src)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/xmlreader.py", 
line 123, in parse
    self.feed(buffer)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
    self.context.end()
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 537, in end
    self.stack.pop().finish()
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 685, in finish
    actions = self.handler(context, **args)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 546, in include
    processxmlfile(f, context)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
    parser.parse(src)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/xmlreader.py", 
line 123, in parse
    self.feed(buffer)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/winn/Z13/Python-2.6/lib/python2.6/xml/sax/expatreader.py", 
line 338, in start_element_ns
    AttributesNSImpl(newattrs, qnames))
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/xmlconfig.py", line 230, in startElementNS
    self.context.begin(name, data, info)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 534, in begin
    self.stack.append(self.stack[-1].contained(__name, __data, __info))
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 835, in contained
    return RootStackItem.contained(self, name, data, info)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 706, in contained
    adapter = factory(self.context, data, info)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 1203, in factory
    return ComplexStackItem(self, context, data, info)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 949, in __init__
    args = toargs(newcontext, meta.schema, data)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 1376, in toargs
    args[str(name)] = field.fromUnicode(s)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/fields.py", line 139, in fromUnicode
    value = self.context.resolve(name)
  File "/home/winn/Z13/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py", line 180, in resolve
    mod = __import__(mname, *_import_chickens)
  File "/home/winn/Z13/zinstance/src/pcg.featuredlistings/pcg/
featuredlistings/content/listing.py", line 11, in <module>
    from pcg.featuredlistings.interfaces import IListing
  File "/home/winn/Z13/zinstance/src/pcg.featuredlistings/pcg/
featuredlistings/interfaces/__init__.py", line 2, in <module>
    from listing import IListing
  File "/home/winn/Z13/zinstance/src/pcg.featuredlistings/pcg/
featuredlistings/interfaces/listing.py", line 5, in <module>
    class IListing(Interface):
  File "/home/winn/Z13/zinstance/src/pcg.featuredlistings/pcg/
featuredlistings/interfaces/listing.py", line 9, in IListing
    details = schema.SourceText(
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/winn/
Z13/zinstance/parts/instance/etc/site.zcml", line 15.2-15.55
    ZopeXMLConfigurationError: File "/home/winn/Z13/zinstance/parts/
instance/etc/package-includes/004-pcg.featuredlistings-configure.zcml", 
line 1.0-1.64
    ZopeXMLConfigurationError: File "/home/winn/Z13/zinstance/src/
pcg.featuredlistings/pcg/featuredlistings/configure.zcml", line 12.2-12.32
    ZopeXMLConfigurationError: File "/home/winn/Z13/zinstance/src/
pcg.featuredlistings/pcg/featuredlistings/content/configure.zcml", line 
9.2
    NameError: name 'schema' is not defined


Any clues?
Thanks,
Winn

_______________________________________________
ZopeSkel mailing list
ZopeSkel@lists.plone.org
http://lists.plone.org/mailman/listinfo/zopeskel

Reply via email to