View Single Post
laasonen's Avatar
Posts: 565 | Thanked: 618 times | Joined on Jun 2010 @ Finland
#13
I was testing tapatalk's API, but I keep getting this error message when I'm trying to search for topics: <Fault 3: 'Incorrect parameters passed to method: No method signature matches number of parameters'>

My script:
Code:
#Librarys
import xmlrpclib, base64
#Connect
server = xmlrpclib.ServerProxy('http://murobbs.plaza.fi/mobiquo/mobiquo.php')
#Print servers configurations: works
print server.get_config()
#Search for linux: <Fault 3: 'Incorrect parameters passed to method: No method signature matches number of parameters'>
print server.search_topic(base64.b64encode('linux'))
Screenshot of searc_topic function's documentation (you need to register to get it):


It only requires one parameter in byte[] format, which I think means base64 in java. What I'm doing wrong?

EDIT:
This also gives the same error:
Code:
print server.search_topic(xmlrpclib.Binary('linux'))

Last edited by laasonen; 2011-04-30 at 22:09.
 

The Following User Says Thank You to laasonen For This Useful Post: