[BangPypers] XML RPC Problem....

Usman Ajmal uzmanajmal at gmail.com
Sat Sep 13 14:58:09 CEST 2008

Yeah right but i don't see something wrong in my server's code. Following is
my server's simple code

import SimpleXMLRPCServer
#server = ServerProxy("http://betty.userland.com")
class AuthenticationFunctions:

    def s(self):
            print "something..."

server = SimpleXMLRPCServer.SimpleXMLRPCServer(("localhost", 8000))


and following is what i get when i run my client.

Traceback (most recent call last):
  File "ppkey.py", line 48, in <module>
  File "ppkey.py", line 45, in caller
    print server.s()
  File "/usr/lib/python2.5/xmlrpclib.py", line 1147, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.5/xmlrpclib.py", line 1437, in __request
  File "/usr/lib/python2.5/xmlrpclib.py", line 1191, in request
xmlrpclib.ProtocolError: <ProtocolError for localhost:8000/: 500 Internal
Server Error>

On Sat, Sep 13, 2008 at 12:37 PM, Fredrik Lundh <fredrik at pythonware.com>wrote:

> Usman Ajmal wrote:
>  Problem is that when i start client (while the server is already running),
>> i get an error i.e.
>> Error 500 Internal Server Error
> that's a server error, not a client error.  check the server logs (e.g.
> error.log or similar).
> </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/2181df9f/attachment.htm>

More information about the BangPypers mailing list