Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start #157

Open
jayramr opened this issue Apr 2, 2024 · 0 comments
Open

Unable to start #157

jayramr opened this issue Apr 2, 2024 · 0 comments

Comments

@jayramr
Copy link

jayramr commented Apr 2, 2024

Hello,

While starting baobab instance getting below error. Please advise

bin/instance fg
2024-04-02 12:12:07 INFO ZServer HTTP server started at Tue Apr  2 12:12:07 2024
	Hostname: 0.0.0.0
	Port: 8080
2024-04-02 12:12:09 INFO ZODB.blob (122157) Blob directory `/home/baobab/baobablims/var/blobstorage` is unused and has no layout marker set. Selected `bushy` layout.
2024-04-02 12:12:09 INFO ZODB.blob (122157) Blob temporary directory '/home/baobab/baobablims/var/blobstorage/tmp' does not exist. Created new directory.
Traceback (most recent call last):
  File "/home/baobab/baobablims/parts/instance/bin/interpreter", line 321, in <module>
    exec(compile(__file__f.read(), __file__, "exec"))
  File "/home/baobab/buildout-cache/eggs/Zope2-2.13.29-py2.7.egg/Zope2/Startup/run.py", line 76, in <module>
    run()
  File "/home/baobab/buildout-cache/eggs/Zope2-2.13.29-py2.7.egg/Zope2/Startup/run.py", line 22, in run
    starter.prepare()
  File "/home/baobab/buildout-cache/eggs/Zope2-2.13.29-py2.7.egg/Zope2/Startup/__init__.py", line 92, in prepare
    self.startZope()
  File "/home/baobab/buildout-cache/eggs/Zope2-2.13.29-py2.7.egg/Zope2/Startup/__init__.py", line 268, in startZope
    Zope2.startup()
  File "/home/baobab/buildout-cache/eggs/Zope2-2.13.29-py2.7.egg/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/home/baobab/buildout-cache/eggs/Zope2-2.13.29-py2.7.egg/Zope2/App/startup.py", line 120, in startup
    load_zcml()
  File "/home/baobab/buildout-cache/eggs/Zope2-2.13.29-py2.7.egg/Zope2/App/startup.py", line 52, in load_zcml
    load_site()
  File "/home/baobab/buildout-cache/eggs/Zope2-2.13.29-py2.7.egg/Zope2/App/zcml.py", line 46, in load_site
    _context = xmlconfig.file(site_zcml)
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 649, in file
    include(context, name, package)
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
    processxmlfile(f, context)
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
    parser.parse(src)
  File "/home/baobab/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 111, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/baobab/Python-2.7/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/baobab/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 220, in feed
    self._parser.Parse(data, isFinal)
  File "/home/baobab/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 384, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
    self.context.end()
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
    self.stack.pop().finish()
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
    actions = self.handler(context, **args)
  File "/home/baobab/buildout-cache/eggs/Zope2-2.13.29-py2.7.egg/OFS/metaconfigure.py", line 46, in loadProducts
    xmlconfig.include(_context, zcml, package=product)
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
    processxmlfile(f, context)
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
    parser.parse(src)
  File "/home/baobab/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 111, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/baobab/Python-2.7/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/baobab/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 220, in feed
    self._parser.Parse(data, isFinal)
  File "/home/baobab/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 384, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
    self.context.end()
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
    self.stack.pop().finish()
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
    actions = self.handler(context, **args)
  File "/home/baobab/buildout-cache/eggs/z3c.autoinclude-0.3.9-py2.7.egg/z3c/autoinclude/zcml.py", line 104, in includePluginsDirective
    includeZCMLGroup(_context, info, filename)
  File "/home/baobab/buildout-cache/eggs/z3c.autoinclude-0.3.9-py2.7.egg/z3c/autoinclude/zcml.py", line 30, in includeZCMLGroup
    include(_context, filename, includable_package)
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
    processxmlfile(f, context)
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
    parser.parse(src)
  File "/home/baobab/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 111, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/baobab/Python-2.7/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/baobab/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 220, in feed
    self._parser.Parse(data, isFinal)
  File "/home/baobab/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 384, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
    self.context.end()
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
    self.stack.pop().finish()
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 705, in finish
    args = toargs(context, *self.argdata)
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 1397, in toargs
    args[str(name)] = field.fromUnicode(s)
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/fields.py", line 137, in fromUnicode
    value = self.context.resolve(name)
  File "/home/baobab/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 179, in resolve
    mod = __import__(mname, *_import_chickens)
  File "/home/baobab/buildout-cache/eggs/z3c.jbot-2.0-py2.7.egg/z3c/jbot/metadirectives.py", line 6, in <module>
    class ITemplateOverridesDirective(Interface):
  File "/home/baobab/buildout-cache/eggs/z3c.jbot-2.0-py2.7.egg/z3c/jbot/metadirectives.py", line 11, in ITemplateOverridesDirective
    required=True,
  File "/home/baobab/buildout-cache/eggs/zope.schema-4.2.2-py2.7.egg/zope/schema/_bootstrapfields.py", line 324, in __init__
    super(Text, self).__init__(*args, **kw)
  File "/home/baobab/buildout-cache/eggs/zope.schema-4.2.2-py2.7.egg/zope/schema/_bootstrapfields.py", line 306, in __init__
    super(MinMaxLen, self).__init__(**kw)
  File "/home/baobab/buildout-cache/eggs/zope.schema-4.2.2-py2.7.egg/zope/schema/_bootstrapfields.py", line 151, in __init__
    self.title = title
  File "/home/baobab/buildout-cache/eggs/zope.schema-4.2.2-py2.7.egg/zope/schema/fieldproperty.py", line 52, in __set__
    field.validate(value)
  File "/home/baobab/buildout-cache/eggs/zope.schema-4.2.2-py2.7.egg/zope/schema/_bootstrapfields.py", line 182, in validate
    self._validate(value)
  File "/home/baobab/buildout-cache/eggs/zope.schema-4.2.2-py2.7.egg/zope/schema/_bootstrapfields.py", line 309, in _validate
    super(MinMaxLen, self)._validate(value)
  File "/home/baobab/buildout-cache/eggs/zope.schema-4.2.2-py2.7.egg/zope/schema/_bootstrapfields.py", line 209, in _validate
    raise WrongType(value, self._type, self.__name__)
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/baobab/baobablims/parts/instance/etc/site.zcml", line 12.2-12.39
    ZopeXMLConfigurationError: File "/home/baobab/buildout-cache/eggs/Products.CMFPlone-4.3.19-py2.7.egg/Products/CMFPlone/meta.zcml", line 42.4-46.10
    ZopeXMLConfigurationError: File "/home/baobab/buildout-cache/eggs/z3c.jbot-2.0-py2.7.egg/z3c/jbot/meta.zcml", line 7.6-11.11
    ConfigurationError: ('Invalid value for', 'schema', "('Path to directory', <type 'unicode'>, 'title')")

Thanks
Jay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant