Description

XMLRPC getRecentChanges seems to be broken.

Example

import xmlrpclib
srcwiki = xmlrpclib.ServerProxy("http://moinmoin.wikiwikiweb.de/?action=xmlrpc2")

pagedata = srcwiki.getRecentChanges("20020420T13:19:50")
print "Got %s." % "RC"
print pagedata

gives

Traceback (most recent call last):
  File "./test.py", line 8, in ?
    pagedata = srcwiki.getRecentChanges("20020420T13:19:50")
  File "/usr/lib/python2.3/xmlrpclib.py", line 1029, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.3/xmlrpclib.py", line 1316, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.3/xmlrpclib.py", line 1080, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.3/xmlrpclib.py", line 1219, in _parse_response
    return u.close()
  File "/usr/lib/python2.3/xmlrpclib.py", line 742, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: 'exceptions.AttributeError: \'module\' object has no attribute \'LogIterator\'\n  File "/home/twaldmann/moincvs/moin--main--1.2/MoinMoin/wikirpc.py", line 367, in process\n    response = fn(*params)\n\n  File "/home/twaldmann/moincvs/moin--main--1.2/MoinMoin/wikirpc.py", line 144, in xmlrpc_getRecentChanges\n    log = RecentChanges.LogIterator(self.request)\n'>

Details

This Wiki.

It appears that the object "RecentChanges" no longer has a "LogIterator" .

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/GetRecentChangesBroken (last edited 2007-10-29 19:21:59 by localhost)