Results 1 to 2 of 2

Thread: Python xmlrpclib.ServerProxy.system is missing

  1. #1
    Join Date
    Apr 2008
    Beans
    320
    Distro
    Xubuntu 17.10 Artful Aardvark

    Python xmlrpclib.ServerProxy.system is missing

    Code:
    import xmlrpclib
    server=xmlrpclib.ServerProxy("…") //… is shorthand for my server URL
    //server.system is missing (and more importantly server.system.listMethods() is also obviously gone.

    What's going on? Any ideas? Do I need to do something to initialize it before it exists? I'm using python version 2.6.6

  2. #2
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,714

    Re: Python xmlrpclib.ServerProxy.system is missing

    what happems when you try:
    methods = server.system.listMethods()
    print "methods:", methods
    I understand that this is only optional for xmlrpc servers, so the server you are connecting to may not implement this call.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •