sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17481
Re: [Question #226713]: How to create an instance of an inherited class in unittest Python so that I can register the instance of that class in simpleXMLRPCServer
Question #226713 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/226713
Status: Answered => Open
Aravind is still having a problem:
I tried executing the code above as such, except that I have changed
"server.register_instance(Hallo())" to server.register_instance(Hallo)"
Then also the same error:
xmlrpclib.Fault: <Fault 1: "<type 'exceptions.TypeError'>:unbound method hallo1(
) must be called with Hallo instance as first argument (got nothing instead)">
which is the same error message I've encountered with my code snippet as
well.
Thanks
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.