[Zope] Erro in XML RPC
Michael Geddert
mgeddert@onlinehome.de
10 Jan 2003 19:36:08 +0100
Hi,
Am Fre, 2003-01-10 um 16.25 schrieb zope:
> Hi All
>
> I am trying to create an application that receives xml format requests from
> a client
> and sends the response in Xml format
>
> I have tried the example given at :
> http://www.zope.org/Members/teyc/howxmlrpc
> My system configuration is:
> Zope-2.5.1
> Python-2.2.2
> Linux 2.4.8-26mdk
> ERROR:
> sys.append('/Software/Python-2.2.2/python')
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> AttributeError: 'module' object has no attribute 'append'
> >>> sys.append
I guess this should be
sys.path.append(...)
Seems to be a typo in the xmlrpc-tutorial.
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> AttributeError: 'module' object has no attribute 'append'
> >>> s=xmlrpclib.Server("http://192.168.10.4:8080")
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/Software/Python-2.2.2/Lib/xmlrpclib.py", line 948, in __init__
> import urllib
> File "/Software/Python-2.2.2/Lib/urllib.py", line 26, in ?
> import socket
> File "/Software/Python-2.2.2/Lib/socket.py", line 41, in ?
> from _socket import *
> ImportError: libssl.so.1: cannot open shared object file: No such file or
> directory
This looks like the socket-module can't locate the ssl libs.
Did you compile Python from source ? If not, you should.
BTW, Python 2.1.3 is recommended for Zope 2.5.1 ...
HTH,
Michael
>
> Thanks for all help in Advance
>
> Best Regards
> John Kunchandy
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.435 / Virus Database: 244 - Release Date: 12/30/2002
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )