• I’m working on a Python 3 script which uses the Python XML-RPC module to add posts to my wordpress site. When I issue the wp.call(NewPost()) command, I get a big mess of errors, culminating in:

    TypeError: cannot marshal <class ‘xml.etree.ElementTree.Element’> objects

    The post that I’m building does include some data that I’ve pulled from an XML file using ElementTree. I assume that it just doesn’t like these data types, but I’m not sure what to do. Any help would be greatly appreciated.

    Thanks!

  • The topic ‘Problem with Python XML-RPC and ElementTree’ is closed to new replies.