Re: [Sikuli-driver] [Question #263462]: Redirecting the Sikuli Logger and the setLogger: Jython init: we have problems Error

2015-03-12 Thread aidma
Question #263462 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263462 Status: Answered = Open aidma is still having a problem: I tried creating myLogger in the SikuliIDE 1.1.0 and it worked as expected. Unfortunately I am still unable to get it working from within the

Re: [Sikuli-driver] [Question #263462]: Redirecting the Sikuli Logger and the setLogger: Jython init: we have problems Error

2015-03-10 Thread RaiMan
Question #263462 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263462 RaiMan proposed the following answer: %sikuli% is the path to sikulixapi.jar %jython% is the path to jython…..jar -- You received this question notification because you are a member of Sikuli Drivers,

Re: [Sikuli-driver] [Question #263462]: Redirecting the Sikuli Logger and the setLogger: Jython init: we have problems Error

2015-03-10 Thread aidma
Question #263462 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263462 Status: Answered = Open aidma is still having a problem: I'm glad I was able to help improve the docs :D! Unfortunately, I still can't get Debug.setLogger(obj) to accept my custom logger class. Instead

Re: [Sikuli-driver] [Question #263462]: Redirecting the Sikuli Logger and the setLogger: Jython init: we have problems Error

2015-03-10 Thread RaiMan
Question #263462 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263462 RaiMan proposed the following answer: just tested on Windows 8 with this command: java -cp %sikuli%;%jython% org.python.util.jython got interactive python import org.sikuli.basics.SikulixForJython from

[Sikuli-driver] [Question #263462]: Redirecting the Sikuli Logger and the setLogger: Jython init: we have problems Error

2015-03-10 Thread aidma
New question #263462 on Sikuli: https://answers.launchpad.net/sikuli/+question/263462 Hi, I am trying to redirect log messages as explained here: http://sikulix-2014.readthedocs.org/en/latest/scripting.html#writing-and-redirecting-log-and-debug-messages. Unfortunately, when I try to

Re: [Sikuli-driver] [Question #263462]: Redirecting the Sikuli Logger and the setLogger: Jython init: we have problems Error

2015-03-10 Thread RaiMan
Question #263462 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263462 Status: Open = Answered RaiMan proposed the following answer: thanks for the finding: of course the docs are wrong, sorry. Since the callback is expected to be an instance method, the first parameter

Re: [Sikuli-driver] [Question #263462]: Redirecting the Sikuli Logger and the setLogger: Jython init: we have problems Error

2015-03-10 Thread RaiMan
Question #263462 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263462 Status: Open = Answered RaiMan proposed the following answer: uuups, made this comment in the wrong question: … and I am really sorry about that: I tested with my latest build and just realized, that

Re: [Sikuli-driver] [Question #263462]: Redirecting the Sikuli Logger and the setLogger: Jython init: we have problems Error

2015-03-10 Thread aidma
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

Re: [Sikuli-driver] [Question #263462]: Redirecting the Sikuli Logger and the setLogger: Jython init: we have problems Error

2015-03-10 Thread aidma
Question #263462 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263462 aidma confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for

Re: [Sikuli-driver] [Question #263462]: Redirecting the Sikuli Logger and the setLogger: Jython init: we have problems Error

2015-03-10 Thread RaiMan
Question #263462 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263462 RaiMan posted a new comment: I will add to the reflection, that the given callback is checked to be defined correctly and gives an error message otherwise. thanks for feedback. -- You received this