[moin-user] Problem uploading pages with xmlrpclib

PETER BLEACKLEY pete.bleackley at btinternet.com
Mon Sep 11 04:03:01 EDT 2017

I'm trying to upload some pages to my Wiki using the attached script. I'm getting the following error.
Traceback (most recent call last):
  File "./Transcribot.py", line 101, in <module>
  File "./Transcribot.py", line 97, in upload
    for item in mc():
  File "/usr/lib/python2.7/xmlrpclib.py", line 1006, in __call__
    return MultiCallIterator(self.__server.system.multicall(marshalled_list))
  File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
  File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1316, in single_request
    return self.parse_response(response)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1493, in parse_response
    return u.close()
  File "/usr/lib/python2.7/xmlrpclib.py", line 800, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: '<class \'xml.parsers.expat.ExpatError\'>: not well-formed (invalid token): line 1361, column 539\n  File "/home/petebleackley/lib/python2.7/site-packages/MoinMoin/xmlrpc/__init__.py", line 141, in process\n    params, method = xmlrpclib.loads(data)\n\n  File "/usr/lib/python2.7/xmlrpclib.py", line 1136, in loads\n    p.feed(data)\n\n  File "/usr/lib/python2.7/xmlrpclib.py", line 558, in feed\n    self._parser.Parse(data, 0)\n'>
This seems to imply that there is some sort of problem with the XML-RPC payload. How can I find out what this is?
Peter Bleackley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20170911/92ce6cbf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Transcribot.py
Type: text/x-python
Size: 3486 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/moin-user/attachments/20170911/92ce6cbf/attachment.py>

More information about the moin-user mailing list