Re: [Sikuli-driver] [Question #245672]: [1.0.1] NullPointerException when run compiled jython code

2014-03-25 Thread RaiMan
Question #245672 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245672 RaiMan requested more information: ok, thanks. could you make a simple test with only one main script containing only from sikuli import * find(capture()).highlight(2) and run it with the additional command

Re: [Sikuli-driver] [Question #245672]: [1.0.1] NullPointerException when run compiled jython code

2014-03-25 Thread ashi
Question #245672 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245672 ashi posted a new comment: I've tested on Jython 2.5.4rc, 2.5.3 and 2.7beta, they give same result. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer

Re: [Sikuli-driver] [Question #245672]: [1.0.1] NullPointerException when run compiled jython code

2014-03-25 Thread RaiMan
Question #245672 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245672 RaiMan posted a new comment: please test with Jython 2.5.4 and/or 2.5.3 -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___

Re: [Sikuli-driver] [Question #245672]: [1.0.1] NullPointerException when run compiled jython code

2014-03-19 Thread ashi
Question #245672 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245672 ashi posted a new comment: Thanks, got it. If more details are needed, please tell me. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for S

Re: [Sikuli-driver] [Question #245672]: [1.0.1] NullPointerException when run compiled jython code

2014-03-19 Thread RaiMan
Question #245672 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245672 RaiMan proposed the following answer: Ok. Understood. No other possibility currently than to program in Java directly. I will have a look at it next week when I am back from vacation. -- You received this

Re: [Sikuli-driver] [Question #245672]: [1.0.1] NullPointerException when run compiled jython code

2014-03-18 Thread ashi
Question #245672 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245672 ashi posted a new comment: What I want is distribute my script without source code. So is there alternative for this task? For now, I try to compile the jython to bytecode. -- You received this question not

Re: [Sikuli-driver] [Question #245672]: [1.0.1] NullPointerException when run compiled jython code

2014-03-18 Thread ashi
Question #245672 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245672 ashi posted a new comment: Yeah, the uncompiled script can run outside Eclipse, the commands is: C:\>java -classpath "C:\jython2.5.3\jython.jar";"sikuli-java.jar" org.python.util.jython myapp.py While the

Re: [Sikuli-driver] [Question #245672]: [1.0.1] NullPointerException when run compiled jython code

2014-03-18 Thread RaiMan
Question #245672 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/245672 Status: Open => Answered RaiMan proposed the following answer: Try to run the uncompiled script outside Eclipse first. -- You received this question notification because you are a member of Sikuli Driv

[Sikuli-driver] [Question #245672]: [1.0.1] NullPointerException when run compiled jython code

2014-03-18 Thread ashi
New question #245672 on Sikuli: https://answers.launchpad.net/sikuli/+question/245672 Hi, all. I write some sikuli script in jython. And it works OK under Eclipse. But when I compile the jython script to *.class, and run it on command line, a NullPointerException raises. Environment: win7 64,