|
From: ronald m. <si...@gm...> - 2014-05-17 18:18:50
|
Hi Devs,
Installing BIKA Health on Ubuntu 14.04 (LTS) and latest Plone version
(4.3.3) unified installer as per wiki instructions fails with the below
trace:
Note: The install instructions have conflicting information on which
version of plone to use. Some pages say plone 4.2.1 some say the latest
plone version and refer to the plone site on how to install latest plone
version.
Generated script '/home/nmrl/bika/zinstance/bin/instance'.
Generated interpreter
'/home/nmrl/bika/zinstance/parts/instance/bin/interpreter'.
Generated script '/home/nmrl/bika/zinstance/bin/weasyprint'.
Generated script '/home/nmrl/bika/zinstance/bin/pilfont.py'.
Generated script '/home/nmrl/bika/zinstance/bin/pilfile.py'.
Generated script '/home/nmrl/bika/zinstance/bin/pilprint.py'.
Generated script '/home/nmrl/bika/zinstance/bin/pildriver.py'.
Generated script '/home/nmrl/bika/zinstance/bin/pilconvert.py'.
Updating repozo.
Updating backup.
Installing zopepy.
Generated interpreter '/home/nmrl/bika/zinstance/bin/zopepy'.
Updating unifiedinstaller.
Versions had to be automatically picked.
The following part definition lists the versions picked:
[versions]
CairoSVG = 1.0.7
Products.ATExtensions = 1.1
Werkzeug = 0.9.4
cairocffi = 0.5.3
cffi = 0.8.2
cssselect = 0.9.1
# Required by:
# bika.lims==3.01a
Products.AdvancedQuery = 3.0.3
# Required by:
# WeasyPrint==0.19.2
Pyphen = 0.9.1
# Required by:
# bika.health==0.1
# bika.lims==3.01a
collective.wtf = 1.0b9
# Required by:
# bika.lims==3.01a
gpw = 0.2
# Required by:
# bika.lims==3.01a
magnitude = 0.9.3
# Required by:
# bika.lims==3.01a
plone.api = 1.1.0
# Required by:
# bika.lims==3.01a
plone.jsonapi.core = 0.4
# Required by:
# cffi==0.8.2
pycparser = 2.10
nmrl@nmrl-VirtualBox:~/bika/zinstance$ bin/plonectl fg
instance: 2014-05-17 20:11:50 INFO ZServer HTTP server started at Sat May
17 20:11:50 2014
Hostname: 0.0.0.0
Port: 8080
2014-05-17 20:12:12 INFO ZODB.blob (9039) Blob directory
`/home/nmrl/bika/zinstance/var/blobstorage` is unused and has no layout
marker set. Selected `bushy` layout.
2014-05-17 20:12:12 INFO ZODB.blob (9039) Blob temporary directory
'/home/nmrl/bika/zinstance/var/blobstorage/tmp' does not exist. Created new
directory.
2014-05-17 20:12:14 INFO plone.jsonapi.router DefaultRouter::__init__
2014-05-17 20:12:14 INFO plone.jsonapi.router DefaultRouter.add_url_rule:
/version (apiversion) -> 'apiversion' options: {'methods': ['GET']}
2014-05-17 20:13:37 INFO Archetypes
ArchetypesTool: Trying to register "bika.lims.Analysis" which has already
been registered. The new type bika.health.content.analysis.Analysis is
going to override bika.lims.content.analysis.Analysis
2014-05-17 20:13:38 INFO Archetypes
ArchetypesTool: Trying to register "bika.lims.AnalysisSpec" which has
already been registered. The new type
bika.health.content.analysisspec.AnalysisSpec is going to override
bika.lims.content.analysisspec.AnalysisSpec
Traceback (most recent call last):
File "/home/nmrl/bika/zinstance/parts/instance/bin/interpreter", line
288, in <module>
exec(compile(__file__f.read(), __file__, "exec"))
File
"/home/nmrl/bika/buildout-cache/eggs/Zope2-2.13.22-py2.7.egg/Zope2/Startup/run.py",
line 76, in <module>
run()
File
"/home/nmrl/bika/buildout-cache/eggs/Zope2-2.13.22-py2.7.egg/Zope2/Startup/run.py",
line 22, in run
starter.prepare()
File
"/home/nmrl/bika/buildout-cache/eggs/Zope2-2.13.22-py2.7.egg/Zope2/Startup/__init__.py",
line 86, in prepare
self.startZope()
File
"/home/nmrl/bika/buildout-cache/eggs/Zope2-2.13.22-py2.7.egg/Zope2/Startup/__init__.py",
line 262, in startZope
Zope2.startup()
File
"/home/nmrl/bika/buildout-cache/eggs/Zope2-2.13.22-py2.7.egg/Zope2/__init__.py",
line 47, in startup
_startup()
File
"/home/nmrl/bika/buildout-cache/eggs/Zope2-2.13.22-py2.7.egg/Zope2/App/startup.py",
line 118, in startup
load_zcml()
File
"/home/nmrl/bika/buildout-cache/eggs/Zope2-2.13.22-py2.7.egg/Zope2/App/startup.py",
line 52, in load_zcml
load_site()
File
"/home/nmrl/bika/buildout-cache/eggs/Zope2-2.13.22-py2.7.egg/Zope2/App/zcml.py",
line 46, in load_site
_context = xmlconfig.file(site_zcml)
File
"/home/nmrl/bika/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/nmrl/bika/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py",
line 548, in include
processxmlfile(f, context)
File
"/home/nmrl/bika/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py",
line 380, in processxmlfile
parser.parse(src)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 349, in
end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"/home/nmrl/bika/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py",
line 359, in endElementNS
self.context.end()
File
"/home/nmrl/bika/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/nmrl/bika/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/nmrl/bika/buildout-cache/eggs/Zope2-2.13.22-py2.7.egg/OFS/metaconfigure.py",
line 61, in loadProductsOverrides
xmlconfig.includeOverrides(_context, zcml, package=product)
File
"/home/nmrl/bika/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py",
line 604, in includeOverrides
include(_context, file, package, files)
File
"/home/nmrl/bika/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py",
line 548, in include
processxmlfile(f, context)
File
"/home/nmrl/bika/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py",
line 380, in processxmlfile
parser.parse(src)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 349, in
end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"/home/nmrl/bika/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py",
line 359, in endElementNS
self.context.end()
File
"/home/nmrl/bika/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/nmrl/bika/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/nmrl/bika/buildout-cache/eggs/z3c.autoinclude-0.3.5-py2.7.egg/z3c/autoinclude/zcml.py",
line 120, in includePluginsOverridesDirective
includeZCMLGroup(_context, info, filename, override=True)
File
"/home/nmrl/bika/buildout-cache/eggs/z3c.autoinclude-0.3.5-py2.7.egg/z3c/autoinclude/zcml.py",
line 28, in includeZCMLGroup
includeOverrides(_context, filename, includable_package)
File
"/home/nmrl/bika/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py",
line 604, in includeOverrides
include(_context, file, package, files)
File
"/home/nmrl/bika/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py",
line 548, in include
processxmlfile(f, context)
File
"/home/nmrl/bika/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py",
line 380, in processxmlfile
parser.parse(src)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 349, in
end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"/home/nmrl/bika/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py",
line 359, in endElementNS
self.context.end()
File
"/home/nmrl/bika/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/nmrl/bika/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/nmrl/bika/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py",
line 548, in include
processxmlfile(f, context)
File
"/home/nmrl/bika/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py",
line 380, in processxmlfile
parser.parse(src)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 349, in
end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"/home/nmrl/bika/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py",
line 359, in endElementNS
self.context.end()
File
"/home/nmrl/bika/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/nmrl/bika/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/nmrl/bika/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/nmrl/bika/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/nmrl/bika/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/nmrl/bika/zinstance/src/bika.health/bika/health/browser/batch/analysisrequests.py",
line 1, in <module>
from bika.lims.browser.batch.analysisrequests import
AnalysisRequestsView as ARV
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
"/home/nmrl/bika/zinstance/parts/instance/etc/site.zcml", line 20.2-20.32
ZopeXMLConfigurationError: File
"/home/nmrl/bika/buildout-cache/eggs/Products.CMFPlone-4.3.3-py2.7.egg/Products/CMFPlone/overrides.zcml",
line 17.4-21.10
ZopeXMLConfigurationError: File
"/home/nmrl/bika/zinstance/src/bika.health/bika/health/overrides.zcml",
line 7.4-7.51
ZopeXMLConfigurationError: File
"/home/nmrl/bika/zinstance/src/bika.health/bika/health/browser/batch/overrides.zcml",
line 15.4-21.6
ImportError: No module named analysisrequests
nmrl@nmrl-VirtualBox:~/bika/zinstance$
Thanks and Regards
Ronald Munjoma
__________________________________________________________
The United Nations Millennium Development Goals
A set of 8 goals, agreed upon by 189 member countries of the UN, that if
achieved would see the greatest improvement to the human condition by 2015.
http://www.un.org/millenniumgoals/
Action on the MDGs: www.mdgpledge.org
Change your sig: www.mdgpledge.org/sig/
|