[Zope3-Users] installation of generic setup fails
Martin Schuhmacher
broetchen25 at gmx.net
Mon Jun 2 06:26:05 EDT 2008
Hello list,
[root at plone Products]# /opt/Zope-2.9/instance/bin/zopectl fg
/opt/Zope-2.9/instance/bin/runzope -X debug-mode=on
2008-06-02 14:14:41 INFO ZServer HTTP server started at Mon Jun 2
14:14:41 2008
Hostname: 0.0.0.0
Port: 80
2008-06-02 14:14:41 INFO Zope Set effective user to "zope"
2008-06-02 14:14:43 ERROR Zope Couldn't install Five
Traceback (most recent call last):
File "/opt/Zope-2.9/lib/python/OFS/Application.py", line 783, in
install_product
initmethod(context)
File "/opt/Zope-2.9/lib/python/Products/Five/__init__.py", line 29,
in initialize
zcml.load_site()
File "/opt/Zope-2.9/lib/python/Products/Five/zcml.py", line 41, in
load_site
_context = xmlconfig.file(file)
File "/opt/Zope-2.9/lib/python/zope/configuration/xmlconfig.py", line
558, in file
include(context, name, package)
File "/opt/Zope-2.9/lib/python/zope/configuration/xmlconfig.py", line
494, in include
processxmlfile(f, context)
File "/opt/Zope-2.9/lib/python/zope/configuration/xmlconfig.py", line
349, in processxmlfile
parser.parse(src)
File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.4/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.4/xml/sax/expatreader.py", line 348, in
end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/opt/Zope-2.9/lib/python/zope/configuration/xmlconfig.py", line
328, in endElementNS
self.context.end()
File "/opt/Zope-2.9/lib/python/zope/configuration/config.py", line
544, in end
self.stack.pop().finish()
File "/opt/Zope-2.9/lib/python/zope/configuration/config.py", line
692, in finish
actions = self.handler(context, **args)
File "/opt/Zope-2.9/lib/python/Products/Five/fiveconfigure.py", line
88, in loadProducts
handleBrokenProduct(product)
File "/opt/Zope-2.9/lib/python/Products/Five/fiveconfigure.py", line
86, in loadProducts
xmlconfig.include(_context, zcml, package=product)
File "/opt/Zope-2.9/lib/python/zope/configuration/xmlconfig.py", line
494, in include
processxmlfile(f, context)
File "/opt/Zope-2.9/lib/python/zope/configuration/xmlconfig.py", line
349, in processxmlfile
parser.parse(src)
File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.4/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.4/xml/sax/expatreader.py", line 348, in
end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/opt/Zope-2.9/lib/python/zope/configuration/xmlconfig.py", line
328, in endElementNS
self.context.end()
File "/opt/Zope-2.9/lib/python/zope/configuration/config.py", line
544, in end
self.stack.pop().finish()
File "/opt/Zope-2.9/lib/python/zope/configuration/config.py", line
691, in finish
args = toargs(context, *self.argdata)
File "/opt/Zope-2.9/lib/python/zope/configuration/config.py", line
1383, in toargs
args[str(name)] = field.fromUnicode(s)
File "/opt/Zope-2.9/lib/python/zope/configuration/fields.py", line
229, in fromUnicode
v = vt.fromUnicode(s)
File "/opt/Zope-2.9/lib/python/zope/configuration/fields.py", line
139, in fromUnicode
value = self.context.resolve(name)
File "/opt/Zope-2.9/lib/python/zope/configuration/config.py", line
184, in resolve
mod = __import__(mname, *_import_chickens)
File "/opt/Zope-2.9/instance/Products/GenericSetup/components.py",
line 20, in ?
from zope.component.interfaces import IComponentRegistry
ZopeXMLConfigurationError: File
"/opt/Zope-2.9/lib/python/Products/Five/skel/site.zcml", line 13.2-13.23
ZopeXMLConfigurationError: File
"/opt/Zope-2.9/instance/Products/GenericSetup/configure.zcml", line
55.2-57.8
ImportError: cannot import name IComponentRegistry
Traceback (most recent call last):
File "/opt/Zope-2.9/lib/python/Zope2/Startup/run.py", line 56, in ?
run()
File "/opt/Zope-2.9/lib/python/Zope2/Startup/run.py", line 21, in run
starter.prepare()
File "/opt/Zope-2.9/lib/python/Zope2/Startup/__init__.py", line 98,
in prepare
self.startZope()
File "/opt/Zope-2.9/lib/python/Zope2/Startup/__init__.py", line 257,
in startZope
Zope2.startup()
File "/opt/Zope-2.9/lib/python/Zope2/__init__.py", line 47, in startup
_startup()
File "/opt/Zope-2.9/lib/python/Zope2/App/startup.py", line 103, in
startup
OFS.Application.initialize(application)
File "/opt/Zope-2.9/lib/python/OFS/Application.py", line 304, in
initialize
initializer.initialize()
File "/opt/Zope-2.9/lib/python/OFS/Application.py", line 333, in
initialize
self.install_products()
File "/opt/Zope-2.9/lib/python/OFS/Application.py", line 605, in
install_products
return install_products(app)
File "/opt/Zope-2.9/lib/python/OFS/Application.py", line 636, in
install_products
folder_permissions, raise_exc=debug_mode)
File "/opt/Zope-2.9/lib/python/OFS/Application.py", line 783, in
install_product
initmethod(context)
File "/opt/Zope-2.9/lib/python/Products/Five/__init__.py", line 29,
in initialize
zcml.load_site()
File "/opt/Zope-2.9/lib/python/Products/Five/zcml.py", line 41, in
load_site
_context = xmlconfig.file(file)
File "/opt/Zope-2.9/lib/python/zope/configuration/xmlconfig.py", line
558, in file
include(context, name, package)
File "/opt/Zope-2.9/lib/python/zope/configuration/xmlconfig.py", line
494, in include
processxmlfile(f, context)
File "/opt/Zope-2.9/lib/python/zope/configuration/xmlconfig.py", line
349, in processxmlfile
parser.parse(src)
File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.4/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.4/xml/sax/expatreader.py", line 348, in
end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/opt/Zope-2.9/lib/python/zope/configuration/xmlconfig.py", line
328, in endElementNS
self.context.end()
File "/opt/Zope-2.9/lib/python/zope/configuration/config.py", line
544, in end
self.stack.pop().finish()
File "/opt/Zope-2.9/lib/python/zope/configuration/config.py", line
692, in finish
actions = self.handler(context, **args)
File "/opt/Zope-2.9/lib/python/Products/Five/fiveconfigure.py", line
88, in loadProducts
handleBrokenProduct(product)
File "/opt/Zope-2.9/lib/python/Products/Five/fiveconfigure.py", line
86, in loadProducts
xmlconfig.include(_context, zcml, package=product)
File "/opt/Zope-2.9/lib/python/zope/configuration/xmlconfig.py", line
494, in include
processxmlfile(f, context)
File "/opt/Zope-2.9/lib/python/zope/configuration/xmlconfig.py", line
349, in processxmlfile
parser.parse(src)
File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.4/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.4/xml/sax/expatreader.py", line 348, in
end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/opt/Zope-2.9/lib/python/zope/configuration/xmlconfig.py", line
328, in endElementNS
self.context.end()
File "/opt/Zope-2.9/lib/python/zope/configuration/config.py", line
544, in end
self.stack.pop().finish()
File "/opt/Zope-2.9/lib/python/zope/configuration/config.py", line
691, in finish
args = toargs(context, *self.argdata)
File "/opt/Zope-2.9/lib/python/zope/configuration/config.py", line
1383, in toargs
args[str(name)] = field.fromUnicode(s)
File "/opt/Zope-2.9/lib/python/zope/configuration/fields.py", line
229, in fromUnicode
v = vt.fromUnicode(s)
File "/opt/Zope-2.9/lib/python/zope/configuration/fields.py", line
139, in fromUnicode
value = self.context.resolve(name)
File "/opt/Zope-2.9/lib/python/zope/configuration/config.py", line
184, in resolve
mod = __import__(mname, *_import_chickens)
File "/opt/Zope-2.9/instance/Products/GenericSetup/components.py",
line 20, in ?
from zope.component.interfaces import IComponentRegistry
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
"/opt/Zope-2.9/lib/python/Products/Five/skel/site.zcml", line 13.2-13.23
ZopeXMLConfigurationError: File
"/opt/Zope-2.9/instance/Products/GenericSetup/configure.zcml", line
55.2-57.8
ImportError: cannot import name IComponentRegistry
[root at plone Products]#
well, what is missing here and how can i fix it?
and:
[root at plone Products]# ls
GenericSetup GenericSetup-1.3beta.tar.gz LDAPUserFolder
PluggableAuthService-1.2.tar.gz PluginRegistry-1.1.2.tar.gz
GenericSetup-1.3.tar.gz LDAPMultiPlugins
PluggableAuthService PluginRegistry README.txt
I used the tarballs.
after all, the installation should be used for Plone.
thanks in advance
Martin
More information about the Zope3-users
mailing list