I have a trac 1.0.2 installation with two projects with agilo PRO enabled, for one of the projects XmlRpc works just fine, most of the time.
I get:
2015-04-10 17:08:16,937 Trac[query] DEBUG: Count results in Query: 2
2015-04-10 17:08:16,938 Trac[xml_rpc] DEBUG: RPC(xml) 'ticket.query' result: [1, 2]
and later the result is sent back, with all the content of tickets 1 and 2.
2015-04-10 17:08:16,994 Trac[xml_rpc] DEBUG: RPC(xml) 'system.multicall' result: [([1, datetime.datetime...<snip>...])]
But for the other, the result is empty, even if the count is correct:
2015-04-10 17:06:47,399 Trac[query] DEBUG: Count results in Query: 270
2015-04-10 17:06:47,442 Trac[xml_rpc] DEBUG: RPC(xml) 'ticket.query' result: []
but this, of course, also sends back an empty result, because the 270 tickets aren't actually listed in the result handled by web_ui,py.
2015-04-10 17:06:47,483 Trac[xml_rpc] DEBUG: RPC(xml) 'system.multicall' result: []
2015-04-10 19:34:54,267 Trac[web_ui] ERROR: RPC(XML-RPC) Unhandled protocol error
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/tracrpc/web_ui.py", line 167, in _rpc_process
protocol.send_rpc_result(req, result)
File "build/bdist.linux-x86_64/egg/tracrpc/xml_rpc.py", line 133, in send_rpc_result
xmlrpclib.dumps(result, methodresponse=True), rpcreq['mimetype'])
File "/usr/lib64/python2.7/xmlrpclib.py", line 1090, in dumps
data = m.dumps(params)
File "/usr/lib64/python2.7/xmlrpclib.py", line 637, in dumps
dump(v, write)
File "/usr/lib64/python2.7/xmlrpclib.py", line 659, in __dump
f(self, value, write)
File "/usr/lib64/python2.7/xmlrpclib.py", line 719, in dump_array
dump(v, write)
File "/usr/lib64/python2.7/xmlrpclib.py", line 659, in __dump
f(self, value, write)
File "/usr/lib64/python2.7/xmlrpclib.py", line 719, in dump_array
dump(v, write)
File "/usr/lib64/python2.7/xmlrpclib.py", line 659, in __dump
f(self, value, write)
File "/usr/lib64/python2.7/xmlrpclib.py", line 719, in dump_array
dump(v, write)
File "/usr/lib64/python2.7/xmlrpclib.py", line 657, in __dump
raise TypeError, "cannot marshal %s objects" % type(value)
TypeError: cannot marshal <class 'agilo.ticket.model.TicketValueWrapper'> objects
BR
/Mattias