When I call search.performSearch:
tracclient.search.performSearch( 'ldap', ['ticket'] )
I get a FaultException back. Looking in the log, it seems the search results contain trac.util.html.Markup objects, which aren't marshallable:
2006-09-18 09:41:10,237 Trac[api] DEBUG: ('SEARCH_VIEW', ((<type 'list'>, <type 'str'>), (<type 'list'>, <type 'str'>, <type 'list'>)), <bound method SearchRPC.performSearch of <tracrpc.search.SearchRPC object at 0x89d566c>>)
2006-09-18 09:41:10,238 Trac[search] DEBUG: Searching with ['ticket']
2006-09-18 09:41:10,288 Trac[web_ui] ERROR: cannot marshal <class 'trac.util.html.Markup'> objects
2006-09-18 09:41:10,290 Trac[web_ui] ERROR: Traceback (most recent call last):
File "build/bdist.freebsd-6.1-RELEASE-i386/egg/tracrpc/web_ui.py", line 58, in process_request
File "/usr/local/lib/python2.4/xmlrpclib.py", line 1029, in dumps
data = m.dumps(params)
File "/usr/local/lib/python2.4/xmlrpclib.py", line 603, in dumps
dump(v, write)
File "/usr/local/lib/python2.4/xmlrpclib.py", line 615, in __dump
f(self, value, write)
File "/usr/local/lib/python2.4/xmlrpclib.py", line 675, in dump_array
dump(v, write)
File "/usr/local/lib/python2.4/xmlrpclib.py", line 615, in __dump
f(self, value, write)
File "/usr/local/lib/python2.4/xmlrpclib.py", line 675, in dump_array
dump(v, write)
File "/usr/local/lib/python2.4/xmlrpclib.py", line 613, in __dump
raise TypeError, "cannot marshal %s objects" % type(value)
TypeError: cannot marshal <class 'trac.util.html.Markup'> objects
I'm using [1276] with Trac [T3747].