Re: [Sikuli-driver] [Question #678428]: [1.1.14 Jython] App() crashes with NullPointerException
Question #678428 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678428 RaiMan proposed the following answer: I made some tests with different scenarios. --- pyjnius In the current shape of SikuliX it is not useable with jnius from Python. I now have it on the list to make it useable though. Might take a while, but seems to be worth it --- plain Jython The sikulixapi.jar MUST be on the Java classpath (environment CLASSPATH) at time of first use of any SikuliX feature. Simply having it on sys.path does not work (causes the NPE with App("test") as mentioned above) -- You received this question notification because your team Sikuli Drivers 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
Re: [Sikuli-driver] [Question #678428]: [1.1.14 Jython] App() crashes with NullPointerException
Question #678428 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678428 Status: Open => Answered RaiMan proposed the following answer: Due to the special relation between the Python API level and the Java API level (historical reasons), your approach does not lead to a correct initialization. your "solution" apparently triggers the initialisation only in the second try. you might try: Screen() # just to trigger the initialization before doing something else with SikuliX. The next days I will setup a Python/pyjnius environment myself and also test the plain Jython environment. I will fix possible startup oddities asap. BTW: thanks for the testing, evaluation and documentation. -- You received this question notification because your team Sikuli Drivers 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
Re: [Sikuli-driver] [Question #678428]: [1.1.14 Jython] App() crashes with NullPointerException
Question #678428 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678428 Summary changed to: [1.1.14 Jython] App() crashes with NullPointerException -- You received this question notification because your team Sikuli Drivers 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