Question #263462 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/263462

    Status: Answered => Solved

aidma confirmed that the question is solved:
Awesome! Today's sikulixapi.jar works like a charm! Thanks for all your
help :D

By the way, I noticed that omitting "self" (or equivalent instance
reference) from the callback function causes ungraceful failure in the
SikulixIDE. When I run the code:

class myLogger():
    def callback(message):          #notice how this is not "def 
callback(self,message):"
        print "CUSTOM LOG: ", message

Debug.setLoggerNoPrefix(myLogger())
Debug.setLoggerAll("callback")
Debug.log("Log")

It just hangs forever and needs to be restarted (not even ALT+SHIFT C
can gracefully terminate the hanging). Though, when the callback
function is properly defined, everything works properly.

Anyways, that's an unrelated issue. Thanks again!

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to