collective/collective.hostout — Issue #20: Deployed instance doesn't start up
Author: jean
Created: 2012-02-16 09:28:34+00:00
State: open

`./bin/hostout deploy plone` completes successfully, but starting up the
deployed clients fail. Traceback below. Starting up `./bin/zeoserver start`
is successful.

vagrant@natty:~/plone$ ./bin/client1 fg
Traceback (most recent call last):
File "./bin/client1", line 252, in
+ sys.argv[1:])
File "/home/vagrant/plone/buildout-cache/vagrant/eggs/plone.recipe.zope2instance-3.6-py2.6.egg/plone/recipe/zope2instance/ctl.py", line 321, in main
options.realize(args, doc=__doc__)
File "/home/vagrant/plone/parts/zope2/lib/python/Zope2/Startup/zopectl.py", line 95, in realize
ZDOptions.realize(self, *args, **kw)
File "/home/vagrant/plone/parts/zope2/lib/python/zdaemon/zdoptions.py", line 273, in realize
self.load_schema()
File "/home/vagrant/plone/parts/zope2/lib/python/zdaemon/zdoptions.py", line 321, in load_schema
self.schema = ZConfig.loadSchema(self.schemafile)
File "/home/vagrant/plone/parts/zope2/lib/python/ZConfig/loader.py", line 31, in loadSchema
return SchemaLoader().loadURL(url)
File "/home/vagrant/plone/parts/zope2/lib/python/ZConfig/loader.py", line 65, in loadURL
return self.loadResource(r)
File "/home/vagrant/plone/parts/zope2/lib/python/ZConfig/loader.py", line 159, in loadResource
schema = ZConfig.schema.parseResource(resource, self)
File "/home/vagrant/plone/parts/zope2/lib/python/ZConfig/schema.py", line 27, in parseResource
xml.sax.parse(resource.file, parser)
File "/usr/lib/python2.6/xml/sax/__init__.py", line 33, in parse
parser.parse(source)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.6/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 301, in start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File "/home/vagrant/plone/parts/zope2/lib/python/ZConfig/schema.py", line 99, in startElement
getattr(self, "start_" + name)(attrs)
File "/home/vagrant/plone/parts/zope2/lib/python/ZConfig/schema.py", line 475, in start_schema
keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
File "/home/vagrant/plone/parts/zope2/lib/python/ZConfig/schema.py", line 201, in get_sect_typeinfo
datatype = self.get_datatype(attrs, "datatype", "null", base)
File "/home/vagrant/plone/parts/zope2/lib/python/ZConfig/schema.py", line 194, in get_datatype
return self._registry.get(dtname)
File "/home/vagrant/plone/parts/zope2/lib/python/ZConfig/datatypes.py", line 398, in get
t = self.search(name)
File "/home/vagrant/plone/parts/zope2/lib/python/ZConfig/datatypes.py", line 423, in search
package = __import__(n, g, g, component)
File "/home/vagrant/plone/parts/zope2/lib/python/Zope2/Startup/datatypes.py", line 21, in
import OFS.Uninstalled
File "/home/vagrant/plone/parts/zope2/lib/python/OFS/Uninstalled.py", line 16, in
import SimpleItem, Globals, Acquisition
File "/home/vagrant/plone/parts/zope2/lib/python/OFS/SimpleItem.py", line 26, in
import AccessControl.Role, AccessControl.Owned, App.Common
File "/home/vagrant/plone/parts/zope2/lib/python/AccessControl/__init__.py", line 17, in
from Implementation import setImplementation
File "/home/vagrant/plone/parts/zope2/lib/python/AccessControl/Implementation.py", line 98, in
setImplementation("C")
File "/home/vagrant/plone/parts/zope2/lib/python/AccessControl/Implementation.py", line 51, in setImplementation
from AccessControl import ImplC as impl
File "/home/vagrant/plone/parts/zope2/lib/python/AccessControl/ImplC.py", line 18, in
from cAccessControl import rolesForPermissionOn, \
File "/home/vagrant/plone/parts/zope2/lib/python/AccessControl/SimpleObjectPolicies.py", line 82, in
from DocumentTemplate.DT_Util import TemplateDict
File "/home/vagrant/plone/parts/zope2/lib/python/DocumentTemplate/__init__.py", line 21, in
from DocumentTemplate import String, File, HTML, HTMLDefault, HTMLFile
File "/home/vagrant/plone/parts/zope2/lib/python/DocumentTemplate/DocumentTemplate.py", line 112, in
from DT_String import String, File
File "/home/vagrant/plone/parts/zope2/lib/python/DocumentTemplate/DT_String.py", line 19, in
from DT_Util import ParseError, InstanceDict, TemplateDict, render_blocks, str
File "/home/vagrant/plone/parts/zope2/lib/python/DocumentTemplate/DT_Util.py", line 19, in
from html_quote import html_quote, ustr # for import by other modules, dont remove!
File "/home/vagrant/plone/parts/zope2/lib/python/DocumentTemplate/html_quote.py", line 4, in
from ustr import ustr
File "/home/vagrant/plone/parts/zope2/lib/python/DocumentTemplate/ustr.py", line 18, in
nasty_exception_str = Exception.__str__.im_func
AttributeError: 'wrapper_descriptor' object has no attribute 'im_func'