[BangPypers] XML RPC Problem....
Usman Ajmal
uzmanajmal at gmail.com
Sat Sep 13 14:23:46 CEST 2008
Problem is that when i start client (while the server is already running), i
get an error i.e.
Error 500 Internal Server Error
On Sat, Sep 13, 2008 at 3:58 PM, Fredrik Lundh <fredrik at pythonware.com>wrote:
> Usman Ajmal wrote:
>
> Where exactly should i call ServerProxy? Following is the code from my
>> client.py
>>
>
> ServerProxy is the preferred name. Server is an old alias for the same
> class.
>
> t = SecureTransport()
>> t.set_authorization(ustring, text_ucert)
>> server = xmlrpclib.Server('http://localhost:8000/',transport=t)
>> print server.s()
>>
>
> that code looks correct. so what's the problem?
>
>
> </F>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/bangpypers/attachments/20080913/48b09908/attachment.htm>
More information about the BangPypers
mailing list