Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
2.2.2
-
xmlrpc getPageHistory python
-
Unknown
-
N/A
-
N/A
-
Description
XWIKI ENTERPRISE 2.2.2.27483
Javadoc of trunks/core/xwiki-xmlrpc/xwiki-xmlrpc-client/src/main/java/org/xwiki/xmlrpc shows existence of getPageHistory. But can not use it from Python.
Python code:
page = proxy.confluence1.getPage(token, 'Linuxbeheer.ProjectNagios')
print page.get('id')
history=proxy.confluence1.getPageHistory(token,page.get('id'))
print type(history),history
Error text:
Traceback (most recent call last):
File "list-attachments.py", line 67, in <module>
history=proxy.confluence1.getPageHistory(token,page.get('id')) #'Linuxbeheer.ProjectNagios')
File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in _call_
return self._send(self._name, args)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1392, in _parse_response
return u.close()
File "/usr/lib64/python2.6/xmlrpclib.py", line 838, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 0: 'Failed to invoke method getPageHistory in class com.xpn.xwiki.xmlrpc.XWikiXmlRpcApiImpl: null'>