[Sikuli-driver] [Question #401858]: Need Sikulix 1.1.0 Linux Build
New question #401858 on Sikuli: https://answers.launchpad.net/sikuli/+question/401858 Hi, I am new to Sikuli and looking for installing Sikulix in Ubuntu 16.04. Looking for the right build. Please help. Thanks, Raj -- 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 #401580]: Modify Vision.cpp?
Question #401580 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/401580 Status: Answered => Solved James confirmed that the question is solved: Thanks RaiMan, that solved my question. -- 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
[Sikuli-driver] [Question #401614]: Need help to setup Sikulix with Eclipse integration on Cent OS7
New question #401614 on Sikuli: https://answers.launchpad.net/sikuli/+question/401614 Hi, I setup Offline SikuliX setup, Eclipse on Cent OS 7 machine. Now i need to know which snipping tool to be used on Cent OS machine. Currently I dont have any snipping tool available on Cent OS (similar to Windows). Can I use Shutter tool as snipping tool on Cent OS machine. Please let me know. Thanks for your help. Regards, Jayesh -- 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 #383018]: Connection refused error.
Question #383018 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/383018 Status: Open => Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Open' state without activity for the last 15 days. -- 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 #401602]: problem with import .py
Question #401602 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/401602 Status: Open => Answered RaiMan proposed the following answer: - jar 1.1.1 starts as SikuliX IDE 1.1.0 check again carefully: you seem to have some mix-up of the different versions. Take care, that nothing in your environment points to 1.1.0 stuff. Recommendation: put 1.1.0 aside completely and make a fresh setup for 1.1.1 - .py modules in a .sikuli ... is not recommended Python feature modules like send_email and formdata should reside in central folders. About the options with 1.1.1 see: http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#access-python-packages-from-sikulix-scripts-run-by-sikulix-gui-or-commandline to check your sys.path put a for e in sys.path: print e at the very beginning of your main script run by SikuliX -- 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
[Sikuli-driver] [Question #401602]: problem with import .py
New question #401602 on Sikuli: https://answers.launchpad.net/sikuli/+question/401602 Hi I'm using Linux debian jessie sikulix 1.1.0 or 1.1.1(I installed it but when I run 'java -jar sikulix.jar', SikulixIDE 1.1.0 is open) jython 2.7.0 When I use Sikuli X 1.0, I can run sikuli in command line by 'sikuli-ide -r xxx.sikuli' with other python file like 'send_email.py' which sends email by just put this 'import send_email' in my xxx.sikuli directory. Now, I need to use sikulix 1.1.0 to use jython 2.7.0 properly(I need to make a post request to an api to upload a file) in my Linux machine. I can run the script with the Sikulix 1.1.0 IDE, but I got error message '[error] ImportError ( No module named formdata )' formdata is from http://code.activestate.com/recipes/578668-encode-multipart-form-data-for-uploading-files-via/ and this is my code = import urllib2 import formdata client_id = "1234" url = 'http://localhost:9292' file = '/home/txt.txt' fields = {'name': 'BOB SMITH'} files = {'file': {'filename': file, 'content': 'Data here'}} data, headers = formdata.encode_multipart(fields, files) request = urllib2.Request('http://localhost:9292/attachments?client_id='+client_id, data=data, headers=headers) f = urllib2.urlopen(request) print f.read() = This is the command that I run in the command line java -jar sikulix.jar -i -r ../sikuli/test.sikuli [info] runcmd: lsb_release -i -r -s [error] script [ /home/sikuli/testtest.sikuli ] stopped with error in line 2 [error] ImportError ( No module named formdata ) I put the formdata.py in the test.sikuli which is same directory as test.py. I wonder why it is not work in command line with Sikulix 1.1.0 because it works in Sikulix 1.1.0 IDE and previous version. Do I need to get 1.1.1 ? I got 1.1.1 from http://nightly.sikuli.de/ and when I install it, it says it installs 1.1.1 but when I run the .jar file, it opens 1.1.0 IDE. Thank you for your help in advance. -- 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 #394787]: Example about how to integrate Sikuli in Python unit test suite
Question #394787 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/394787 Status: Open => Answered RaiMan proposed the following answer: These are your options: - switch your work completely to the usage of Jython 2.7 (Java based Python, used in SikuliX) - use a Python/Java bridging library to directly access the SikuliX Java API - run SikuliX scripts from Python in a subprocess - have a look at https://github.com/glitchassassin/lackey Sorry, but for none of these options I have any examples, but you might find stuff in the net especially on stackoverflow. -- 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 #401580]: Modify Vision.cpp?
Question #401580 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/401580 Status: Open => Answered RaiMan proposed the following answer: of course is that possible, but I would not recommend, to step down to the C++ level and especially not to try to modify the C++ code of SikuliX (believe my experience: it is good for nightmares ;-) It is much easier, to stay on the Java level and use the OpenCV Java API, especially, if you want to implement an image search based on edge detection (is on my list for version 2). BTW: At least for the situations, where background changes and transparency are mainly towards the edges, it normally helps, to make the image as small as possible by leaving out as much of this stuff as possible. My experience: if the areas in an image, that might change or are transparent are below 20 - 10% pixels of the total pixels in the image, the search usually works sufficiently (scores above 0.9 - 0.95). Examples for how to use the OpenCV Java API you can find in SikuliX version 1.1.1 (class ImageFinder where I rewrote the matchTemplate based search on the Java level) and of course in SikuliX version 2 (currently only file handling and CVMat). If you decide to try on the C++ level, come back for more instructions. -- 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