Re: [Sikuli-driver] [Question #202876]: Sikuli CGI problem
Question #202876 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/202876 Status: Answered => Solved Dobri Dobrev confirmed that the question is solved: After restarting Apache a couple of times, it started working, without me changing anything. Really weird. Nevertheless, thanks a lot of the time and effort to help me. -- 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
Re: [Sikuli-driver] [Question #202876]: Sikuli CGI problem
Question #202876 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/202876 RaiMan requested more information: yes, this is strange. But this seems to be more a Jython problem. just run a script with a simple capture() If you get the error again, pls. paste the error stack trace. -- 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
Re: [Sikuli-driver] [Question #202876]: Sikuli CGI problem
Question #202876 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/202876 Dobri Dobrev posted a new comment: Thanks a lot for the help. Seems like Sikuli does not see the screen when ran from the CGI script. The code I used is: SCREEN=Screen(0) SCREEN.capture() When I call it from the IDE or terminal, I get a "select an are of the screen" prompt, while when I try to run it from CGI (same command as from terminal) I get : TypeError: unbound method capture() must be called with Screen instance as first argument (got nothing instead) That makes me think that Sikuli does not see the script when ran from apache CGI, but unfortunately I have no idea what could be causing that. -- 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
Re: [Sikuli-driver] [Question #202876]: Sikuli CGI problem
Question #202876 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/202876 Status: Open => Answered RaiMan proposed the following answer: So the question is: does it still work without the configuration change? If yes, then it might be a problem accessing the screen. So you should check, what Sikuli "sees" on the screen, when the find fails using Screen.capture(). -- 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