[Pkg-zope-developers] zope3 bug
Martin Künstner
m.kuenstner at service4linux.com
Sun Feb 19 09:00:11 UTC 2006
Dear Fabio,
I've installed zope3 (3.2.0-3)
under debian etch with aptitude.
I installed alse the package zope3-sandbox and it worked all fine.
now i want to start the sandbox instanz as root with
mawensi:/var/lib/zope3/instance/sandbox/bin# ./runzope
and the following happened.
Traceback (most recent call last):
File "./runzope", line 48, in ?
run()
File "./runzope", line 44, in run
main(["-C", CONFIG_FILE] + sys.argv[1:])
File "/usr/lib/python2.4/site-packages/zope/app/twisted/main.py", line 74,
in main
service = setup(load_options(args))
File "/usr/lib/python2.4/site-packages/zope/app/twisted/main.py", line 139,
in setup
zope.app.appsetup.config(options.site_definition, features=features)
File "/usr/lib/python2.4/site-packages/zope/app/appsetup/appsetup.py", line
110, in config
context = xmlconfig.file(file, context=context, execute=execute)
File "/usr/lib/python2.4/site-packages/zope/configuration/xmlconfig.py",
line 554, in file
include(context, name, package)
File "/usr/lib/python2.4/site-packages/zope/configuration/xmlconfig.py",
line 490, in include
processxmlfile(f, context)
File "/usr/lib/python2.4/site-packages/zope/configuration/xmlconfig.py",
line 345, 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 "/usr/lib/python2.4/site-packages/zope/configuration/xmlconfig.py",
line 326, in endElementNS
self.context.end()
File "/usr/lib/python2.4/site-packages/zope/configuration/config.py", line
544, in end
self.stack.pop().finish()
File "/usr/lib/python2.4/site-packages/zope/configuration/config.py", line
690, in finish
actions = self.handler(context, **args)
File "/usr/lib/python2.4/site-packages/zope/configuration/xmlconfig.py",
line 490, in include
processxmlfile(f, context)
File "/usr/lib/python2.4/site-packages/zope/configuration/xmlconfig.py",
line 345, 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 "/usr/lib/python2.4/site-packages/zope/configuration/xmlconfig.py",
line 326, in endElementNS
self.context.end()
File "/usr/lib/python2.4/site-packages/zope/configuration/config.py", line
544, in end
self.stack.pop().finish()
File "/usr/lib/python2.4/site-packages/zope/configuration/config.py", line
690, in finish
actions = self.handler(context, **args)
File "/usr/lib/python2.4/site-packages/zope/configuration/xmlconfig.py",
line 490, in include
processxmlfile(f, context)
File "/usr/lib/python2.4/site-packages/zope/configuration/xmlconfig.py",
line 345, 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 "/usr/lib/python2.4/site-packages/zope/configuration/xmlconfig.py",
line 326, in endElementNS
self.context.end()
File "/usr/lib/python2.4/site-packages/zope/configuration/config.py", line
544, in end
self.stack.pop().finish()
File "/usr/lib/python2.4/site-packages/zope/configuration/config.py", line
689, in finish
args = toargs(context, *self.argdata)
File "/usr/lib/python2.4/site-packages/zope/configuration/config.py", line
1381, in toargs
args[str(name)] = field.fromUnicode(s)
File "/usr/lib/python2.4/site-packages/zope/configuration/fields.py", line
139, in fromUnicode
value = self.context.resolve(name)
File "/usr/lib/python2.4/site-packages/zope/configuration/config.py", line
184, in resolve
mod = __import__(mname, *_import_chickens)
File "/usr/lib/python2.4/site-packages/zope/app/twisted/http.py", line 23,
in ?
from twisted.web2.channel.http import HTTPFactory
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
"/var/lib/zope3/instance/sandbox/etc/site.zcml", line 7.2-7.55
ZopeXMLConfigurationError: File
"/var/lib/zope3/instance/sandbox/etc/package-includes/zope.app.twisted-configure.zcml",
line 1.0-1.38
ZopeXMLConfigurationError: File
"/usr/lib/zope3/lib/python/zope/app/twisted/configure.zcml", line 10.2-14.8
ImportError: No module named channel.http
my /usr/lib/zope3/lib/python/zope/app/twisted/configure.zcml
looks like:
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:zcml="http://namespaces.zope.org/zcml"
zcml:condition="have twisted">
<utility
component=".servercontrol.serverControl"
provides="zope.app.applicationcontrol.interfaces.IServerControl" />
<utility
name="HTTP"
component=".http.http"
provides=".interfaces.IServerType"
/>
<utility
name="HTTPS"
component=".http.https"
provides=".interfaces.IServerType"
/>
<utility
name="PostmortemDebuggingHTTP"
component=".http.pmhttp"
provides=".interfaces.IServerType"
/>
<include package=".ftp" />
</configure>
and my
/var/lib/zope3/instance/sandbox/etc/package-includes/zope.app.twisted-configure.zcml
looks like
<include package="zope.app.twisted" />
Ive nothing changed in the zope3 configuration. it's all the original .deb
package.
As the Package maintainer, can you help me.
I've searched the web but I've found nothing which looks like this fault.
Whith best Regards
Martin Künstner
More information about the Pkg-zope-developers
mailing list