[Pkg-zope-developers] zope3 debian/testing ZopeXMLConfigurationError

Martin Künstner m.kuenstner at web.de
Thu Feb 23 12:31:55 UTC 2006


hello zope maintainers,

I'm new to zope3 and want to install it on a debian/testing box.
when i want to start the sandbox instanz
with the following command  

mawensi:/home/martin# /var/lib/zope3/instance/sandbox/bin/runzope

i get this error mesage:

Traceback (most recent call last):
  File "/var/lib/zope3/instance/sandbox/bin/runzope", line 48, in ?
    run()
  File "/var/lib/zope3/instance/sandbox/bin/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

I've tried to upgrade twisted
but I think i have all the required packages installed.
what went wrong ?


Regards,
Martin



More information about the Pkg-zope-developers mailing list