[Sikuli-driver] [Question #261426]: Region.observe(60, True) is throwing an exception

2015-01-30 Thread Pierre Best
New question #261426 on Sikuli: https://answers.launchpad.net/sikuli/+question/261426 Sikuli 1.1.0 I'm trying to track the sub-menu that appears when you click on a menu name. I've set up the handler and assigned it with onChange() but when I call r.observe(60, True) an exception is thrown. Pri

Re: [Sikuli-driver] [Question #261426]: Region.observe(60, True) is throwing an exception

2015-01-30 Thread RaiMan
Question #261426 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261426 Description changed to: Sikuli 1.1.0 I'm trying to track the sub-menu that appears when you click on a menu name. I've set up the handler and assigned it with onChange() but when I call r.observe(60, True) a

Re: [Sikuli-driver] [Question #261426]: Region.observe(60, True) is throwing an exception

2015-01-30 Thread RaiMan
Question #261426 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261426 Status: Open => Answered RaiMan proposed the following answer: I removed the debug log, since this does not help. More helpful would be to see the code you are using (just the relevant snippet). And si

Re: [Sikuli-driver] [Question #261426]: Region.observe(60, True) is throwing an exception

2015-01-30 Thread RaiMan
Question #261426 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261426 RaiMan proposed the following answer: another problem might be, that you are importing Region stuff from the Java level, which is strictly a no-go ;-) Since auto-complete and auto-compile/syntax-check compla

Re: [Sikuli-driver] [Question #261426]: Region.observe(60, True) is throwing an exception

2015-02-02 Thread Pierre Best
Question #261426 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261426 Pierre Best posted a new comment: import org.sikuli.basics.SikulixForJython from sikuli import * Settings.OcrTextSearch = True Settings.OcrTextRead = True _changes = [] def change_handler(event): glo

Re: [Sikuli-driver] [Question #261426]: Region.observe(60, True) is throwing an exception

2015-02-02 Thread Pierre Best
Question #261426 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261426 Pierre Best posted a new comment: Configuration Information: == Adding sys.__stdout__.write('[X] python version: %s\n' % platform.python_version()) sys.__stdout__.write('[X] java versi

Re: [Sikuli-driver] [Question #261426]: Region.observe(60, True) is throwing an exception

2015-02-03 Thread RaiMan
Question #261426 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261426 RaiMan proposed the following answer: @comment #4 the setup looks principally ok, except that need not be and should not be on Python path (sys.path) The latter, because it contains sikulixapi already a

Re: [Sikuli-driver] [Question #261426]: Region.observe(60, True) is throwing an exception

2015-02-03 Thread RaiMan
Question #261426 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261426 RaiMan proposed the following answer: for the error thrown: the only thing I can see: instead of: menu_region = edit_menu.left(1).below().right().intersection(mw) you might try: menu_region = Region(edit_me