[Zope3-Users] Twisted broken in Zope 3.2.1 and later?
Mike Emerick
canyon at theassimilation.com
Mon Jun 19 18:36:31 EDT 2006
Any thing that uses the twised libs simply is not working for me in
linux or Mac OSx. I have double checked the install directions, deps
python version. Am I missing something has some one else seen this.
This is for the SSH server
>>>> 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/local/Zope-3.2.1/lib/python/zope/app/twisted/
>>>> main.py", line 74, in main
>>>> service = setup(load_options(args))
>>>> File "/usr/local/Zope-3.2.1/lib/python/zope/app/twisted/
>>>> main.py", line 151, in setup
>>>> service = server.create(db)
>>>> File "/usr/local/Zope-3.2.1/lib/python/zope/app/twisted/
>>>> server.py", line 204, in create
>>>> servertype = zapi.getUtility(IServerType, self.type)
>>>> File "/usr/local/Zope-3.2.1/lib/python/zope/component/
>>>> __init__.py", line 257, in getUtility
>>>> raise ComponentLookupError(interface, name)
>>>> zope.component.interfaces.ComponentLookupError: (<InterfaceClass
>>>> zope.app.twisted.interfaces.IServerType>, 'SFTP')
>>>> 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/local/Zope-3.2.1/lib/python/zope/app/twisted/
>>>> main.py", line 74, in main
>>>> service = setup(load_options(args))
>>>> File "/usr/local/Zope-3.2.1/lib/python/zope/app/twisted/
>>>> main.py", line 151, in setup
>>>> service = server.create(db)
>>>> File "/usr/local/Zope-3.2.1/lib/python/zope/app/twisted/
>>>> server.py", line 204, in create
>>>> servertype = zapi.getUtility(IServerType, self.type)
>>>> File "/usr/local/Zope-3.2.1/lib/python/zope/component/
>>>> __init__.py", line 257, in getUtility
>>>> raise ComponentLookupError(interface, name)
>>>> zope.component.interfaces.ComponentLookupError: (<InterfaceClass
>>>> zope.app.twisted.interfaces.IServerType>, 'RecordingHTTP')
>>>> 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/local/Zope-3.2.1/lib/python/zope/app/twisted/
>>>> main.py", line 74, in main
>>>> service = setup(load_options(args))
>>>> File "/usr/local/Zope-3.2.1/lib/python/zope/app/twisted/
>>>> main.py", line 151, in setup
>>>> service = server.create(db)
>>>> File "/usr/local/Zope-3.2.1/lib/python/zope/app/twisted/
>>>> server.py", line 204, in create
>>>> servertype = zapi.getUtility(IServerType, self.type)
>>>> File "/usr/local/Zope-3.2.1/lib/python/zope/component/
>>>> __init__.py", line 257, in getUtility
>>>> raise ComponentLookupError(interface, name)
>>>> zope.component.interfaces.ComponentLookupError: (<InterfaceClass
>>>> zope.app.twisted.interfaces.IServerType>, 'HTTPS')
I have tried python 2.4.3 on Mac with both zope 3.2.1, zope 3.3.0 ,
zope 3.1.0. On suse linux 10 I have tried python 2.4.2 and Zope
3.2.1. I recieve the same errors on both machines. I have tried 2
seperate Macs both running 10.4 ( all I have) universal python 2.4.3
install both Intel macs. Any information would be helpful thanks.
Mike
On Jun 16, 2006, at 6:02 PM, David Pratt wrote:
> I've had no problems on any platforms but you must be using the
> twisted server which is default in any case.
>
> Regards,
> David
>
>
> Andreas Reuleaux wrote:
>> I just read Davids answer - interesting - and I am a bit confused:
>> So HTTPS seems to be working now, supported and enabled? - Is this
>> the
>> official status for SSL now? Or is it just working on Mac OS X, is
>> pyopenssl officially required - if so, then I think this should be
>> stated somewhere in the release notes.
>> I must admit it has been a while that I tried HTTPS (with no
>> succes at
>> that time) and the "(disabled for now because of error handling
>> problems)" that I found in the release notes was just the explanation
>> I found convincing at that time.
>> -Andreas
>> On Fri, Jun 16, 2006 at 06:53:02PM -0300, David Pratt wrote:
>>> Hi Mike. Can you confirm you have pyopenssl-0.6 installed and
>>> proper paths in your config. It should look like this in your
>>> config if you are using the default files supplied.
>>>
>>> <sslserver>
>>> type HTTPS
>>> address 8443
>>> privatekeypath $CONFDIR/server.pem
>>> certificatepath $CONFDIR/server.pem
>>> </sslserver>
>>>
>>> Just to let you know I am running on mac and everything is fine
>>> for me. I am on OSX 10.3.
>>>
>>> Regards,
>>> David
>>>
>>> Mike Emerick wrote:
>>>>
>>>> I have been trying to get the SSL server and the SSH server
>>>> running with Zope 3. When I uncomment ssh server in the
>>>> zope.conf file I get the following.
>>>>
>>>> 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/local/Zope-3.2.1/lib/python/zope/app/twisted/
>>>> main.py", line 74, in main
>>>> service = setup(load_options(args))
>>>> File "/usr/local/Zope-3.2.1/lib/python/zope/app/twisted/
>>>> main.py", line 151, in setup
>>>> service = server.create(db)
>>>> File "/usr/local/Zope-3.2.1/lib/python/zope/app/twisted/
>>>> server.py", line 204, in create
>>>> servertype = zapi.getUtility(IServerType, self.type)
>>>> File "/usr/local/Zope-3.2.1/lib/python/zope/component/
>>>> __init__.py", line 257, in getUtility
>>>> raise ComponentLookupError(interface, name)
>>>> zope.component.interfaces.ComponentLookupError: (<InterfaceClass
>>>> zope.app.twisted.interfaces.IServerType>, 'SFTP')
>>>>
>>>>
>>>> I have looked every all over for a solution. I can confirm this
>>>> on Suse Linux 10 and Mac OS 10.4 and 10.3. Has anyone seen
>>>> this. SSL gives a similar error just replace the SFTP with SSL.
>>>>
>>>> Thanks,
>>>>
>>>> Mike_______________________________________________
>>>> Zope3-users mailing list
>>>> Zope3-users at zope.org
>>>> http://mail.zope.org/mailman/listinfo/zope3-users
>>>>
>>> _______________________________________________
>>> Zope3-users mailing list
>>> Zope3-users at zope.org
>>> http://mail.zope.org/mailman/listinfo/zope3-users
>>>
>>>
>>> !DSPAM:44932990119481209560715!
>> _______________________________________________
>> Zope3-users mailing list
>> Zope3-users at zope.org
>> http://mail.zope.org/mailman/listinfo/zope3-users
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
>
More information about the Zope3-users
mailing list