Hi Mattias, On 10 April 2015 at 20:12:18, Mattias Vannergård ([email protected]) wrote:
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: [] I do get this from time to time, even if it say s here: https://trac-hacks.org/wiki/AgiloForTracPlugin and here: https://trac-hacks.org/ticket/8550 , that task types should be able to get via XML-RPC. 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 Can you please post a screenshot of the /about page of the second project? (the one which is not returning the tickets requested) Thank you, Claudio Di Cosmo Software Engineer Agilo Software GmbH Gruenberger Str. 54 10245 Berlin, Germany [email protected] http://www.agilosoftware.com Follow us on twitter: http://twitter.com/agiloforscrum, http://twitter.com/agilofortrac Amtsgericht Charlottenburg: HRB 127146 CEO Marion Eickmann, Andrea Tomasini -- -- Follow Agilo on Twitter: http://twitter.com/agilofortrac Please support us by reviewing and voting on: http://userstories.com/products/8-agilo-for-scrum http://ohloh.net/p/agilo-trac http://freshmeat.net/projects/agiloforscrum You have received this message because you are subscribed to the "Agilo for Trac" Google Group. This group is focused on supporting Agilo for Trac users and is moderated by Agilo Software GmbH <http://www.agilosoftware.com>. To post to this group, send email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/agilo --- You received this message because you are subscribed to the Google Groups "Agilo for Trac" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

