[Zope-dev] Twisted in Zope 2.10 ..some issues

Andreas Jung lists at zopyx.com
Wed May 3 14:18:07 EDT 2006


I tried to get Zope 2.10 working with Twisted however I ran into some 
issues:

After installing Twisted 2.1.0, Zope fails to start (also with Twisted 
2.2.0)...anything I am misssing?

ajung at sentinel:~/sandboxes/Zope/Zope: bin/runzope
Traceback (most recent call last):
  File "/develop/sandboxes/Zope/Zope/lib/python/Zope2/Startup/run.py", line 
56, in ?
    run()
  File "/develop/sandboxes/Zope/Zope/lib/python/Zope2/Startup/run.py", line 
19, in run
    opts = _setconfig()
  File "/develop/sandboxes/Zope/Zope/lib/python/Zope2/Startup/run.py", line 
50, in _setconfig
    handlers.handleConfig(opts.configroot, opts.confighandlers)
  File "/develop/sandboxes/Zope/Zope/lib/python/Zope2/Startup/handlers.py", 
line 252, in handleConfig
    return multihandler(handlers)
  File "/develop/sandboxes/Zope/Zope/lib/python/ZConfig/loader.py", line 
289, in __call__
    f(value)
  File "/develop/sandboxes/Zope/Zope/lib/python/Zope2/Startup/handlers.py", 
line 230, in root_handler
    service = server.create(None)
  File 
"/develop/sandboxes/Zope/Zope/lib/python/zope/app/twisted/server.py", line 
152, in create
    servertype = zapi.getUtility(IServerType, self.type)
  File "/develop/sandboxes/Zope/Zope/lib/python/zope/component/_api.py", 
line 207, in getUtility
    raise ComponentLookupError(interface, name)
zope.component.interfaces.ComponentLookupError: (<InterfaceClass 
zope.app.twisted.interfaces.IServerType>, 'Zope2-HTTP')

I also wonder why 'type' is set to 'Zope2-HTTP' (something like 
Twisted-Zope would perhaps be a better name?!). 'Zope2-HTTP' reminds me of 
ZServer..it there a special reasons for choosing this name?

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20060503/c8f0137b/attachment.bin


More information about the Zope-Dev mailing list