[Sikuli-driver] [Bug 1475649] [NEW] [1.1.0] Offline setup not working - tries to download selenium4sikulix
Public bug reported: I think offline setup is not working. The reason (i think) is that the setup is aways trying to download selenium4sikulix.jar and not asking if we want to use the existing file. I could be wrong tough. I have download every single offline file and setup aways tries to download something and gives me an error in the end. I tried putting selenium4sikulix.jar in the sikulidata folder but it didnt work. Thanks. ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1475649 Title: [1.1.0] Offline setup not working - tries to download selenium4sikulix Status in Sikuli: New Bug description: I think offline setup is not working. The reason (i think) is that the setup is aways trying to download selenium4sikulix.jar and not asking if we want to use the existing file. I could be wrong tough. I have download every single offline file and setup aways tries to download something and gives me an error in the end. I tried putting selenium4sikulix.jar in the sikulidata folder but it didnt work. Thanks. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1475649/+subscriptions ___ 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 #269336]: Text OCR related question
Question #269336 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269336 Status: Open = Answered RaiMan proposed the following answer: sorry, no way. You would have to adapt the C++ source code and then build the stuff from the sources. Another option is to use Tesseract from command line: - create an image file from the respective region using capture - run the Tesseract command from inside the script using e.g. subprocess or Java RunTime.exec - get the output of the Tesseract command (e.g. stdout) With this you can use any option Tesseract 3 is offering. Greater improvements of the SikuliX OCR feature will only be contained in version 2 beginning somewhen in 2016. -- 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
[Sikuli-driver] [Question #269337]: Offline setup
New question #269337 on Sikuli: https://answers.launchpad.net/sikuli/+question/269337 I think offline setup is not working. The reason (i think) is that the setup is aways trying to download selenium4sikulix.jar and not asking if we want to use the existing file. I could be wrong tough. I have download every single offline file and setup aways tries to download something and gives me an error in the end. I tried putting selenium4sikulix.jar in the sikulidata folder but it didnt work. Thanks. -- 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 #269337]: [1.1.0] Offline setup after 2015-06-01 not working
Question #269337 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269337 Summary changed to: [1.1.0] Offline setup after 2015-06-01 not working -- 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 #269337]: Offline setup
Question #269337 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269337 Linked to bug: #1475649 https://bugs.launchpad.net/bugs/1475649 [1.1.0] Offline setup not working - tries to download selenium4sikulix -- 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 #269311]: compare directory of pictures to screen with loop
Question #269311 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269311 Status: Needs information = Open jhonvinage475 gave more information on the question: help is really appreciated thank you. The goal of this script : I have a paint program with many bruhes and i need to remove duplicates : here find a link with a screen of my computer : on the left you see the panel with brush of the paint software and on the right the windows directory with picture http://picpaste.com/pics/brush-u1t7pOUn.1437144292.jpg (i can compare directly duplicate in the drawing software panel with sikuli because same thumbnail of a brush are not necessarily a duplicate because a brush have other parameter like density etc ... so first treatment that's why I export a directory) in the directory the image file have the same size 32x32 pixels in PNG and on the software the picture have 1 pixels more in grey around. when i use manual capture no problem for sikuli to find similar... Thanks. -- 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 #269254]: Wait until the process is completed
Question #269254 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269254 Status: Answered = Solved fordox confirmed that the question is solved: Thanks RaiMan, that solved my question. -- 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 #269311]: compare directory of pictures to screen with loop
Question #269311 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269311 Status: Open = Answered RaiMan proposed the following answer: Have a look at class Finder in the docs http://sikulix-2014.readthedocs.org/en/latest/finder.html Python has a function os.listdir() to get all filenames in a folder see Python docs: https://docs.python.org/2/library/os.html#os.listdir -- 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 #269254]: Wait until the process is completed
Question #269254 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269254 Status: Open = Answered RaiMan proposed the following answer: tried urllib2 ?? about Popen.pid see the mentioned doc. about how to terminate a process using its pid form command line see the Windows docs. -- 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
[Sikuli-driver] [Question #269344]: Sikulix nightly built after July.5th with RF
New question #269344 on Sikuli: https://answers.launchpad.net/sikuli/+question/269344 i am combining Sikulix with Robotframework2.8.7. Using the nightly version in June.30th, everything is fine. After reading Railman's notes for changes in Sikulix after July.5th nightly built, everything works excepts for one point- I cannot generate the test logs and test reports as before June.30ths. The errors are as following: It looks again the configuation issues, but I don't know whether solving it in RF or Sikulix. Of course there are files like Lib\robot\htmldata\rebot\log.html and Lib\robot\htmldata\rebot\report.html in sikulixapi.jar. But to RF, there is no directory like sikulixapi.jar\Lib Output: E:\webchatbackup\Wechat\results\output.xml [ ERROR ] Writing log file 'E:\wechatbackup\Wechat\results\log.html' failed: No such file or directory: E:\Sikulix-2014\sikulixapi.jar\Lib\robot\htmldata\rebot\ log.html [ ERROR ] Writing report file 'E:\wechatbackup\Wechat\results\report.html' faile d: No such file or directory: E:\Sikulix-2014\sikulixapi.jar\Lib\robot\htmldata\ rebot\report.html -- 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 #269311]: compare directory of pictures to screen with loop
Question #269311 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269311 Status: Open = Answered RaiMan proposed the following answer: ok, this should do it (but not tested of course;-) # collect the image files (import os not needed in Sikuli IDE) dir = D:\\stockage\\brush\\new\\original\\images\\new\\ images = [] # to store the filenames for e in os.listdir(dir): # this starts the loop if not e.endswith(.png): continue images.append(os.path.join(dir, e)) # collect # see the list print *** images in folder for e in images: print e # walk through the list and compare with all images further down imagesToDelete = [] # to store images we want to delete for i in range(len(images)-1): if not images[i]: continue # already deleted f = Finder(images[i]) # create the Finder for k in range(i+1, len(images)): # compare all images in the rest of the list f.find(Pattern(images[k]).similar(0.9)) # to avoid false positives if not f.hasNext(): continue # not equal, next image # the compared image is equal imagesToDelete.append(images[k]) # store as to be deleted images[k] = None # take away from file list # see the list of doubles print *** images to be deleted for e in imagesToDelete: print e exit() # leave here, until the compare works # delete the double images for img in imagesToDelete: os.remove(img) -- 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
[Sikuli-driver] [Question #269330]: Unable to execute .skl file
New question #269330 on Sikuli: https://answers.launchpad.net/sikuli/+question/269330 Hi team, I'm unable to execute .skl file when I upgrade SikuliX to pre-final build, please help to figure out what's wrong with my SikuliX, thanks [Sikuli info] 1.1.0(2015-07-17_01:00nightly)/Windows6.1/Java8(64)1.8.0_51-b16 [Verification] Create batch file and use below commands to execute .skl file C:\Users\Administrator\Desktop\SikuliX\runsikulix.cmd -r demo.skl = Failed java -jar C:\Users\Administrator\Desktop\SikuliX\sikulix.jar -r demo.skl = Failed [Error Message] [error] FileManager: Script project C:\Users\ADMINI~1\AppData\Local\Temp\1\Sikulix_263843956\demo.sikuli has no script file demo.xxx -- 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 #269330]: Unable to execute .skl file
Question #269330 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269330 Status: Open = Answered RaiMan proposed the following answer: does the demo.skl contain a demo.py ? How did you produce the .skl? -- 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 #269303]: Text Search off error on image [Sikuli java Eclipse]
Question #269303 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269303 Status: Answered = Open Tepedino is still having a problem: @Eugene So, tried now at work adding the full path to see if it would work, the error I got is the same, only changed the name of the archive that looks like a file: - [error] C:\Users\augusto.martins\Desktop\txt_image.png looks like a file, but not on disk. Assume it's text. FindFailed: Text search currently switched off Line 1671, in file Region.java at org.sikuli.script.Region.wait(Region.java:1671) at org.sikuli.script.Region.find(Region.java:1590) at org.sikuli.script.Region.getLocationFromTarget(Region.java:1991) at org.sikuli.script.Region.click(Region.java:2197) at org.sikuli.script.Region.click(Region.java:2181) at teste.teste.main(teste.java:11) [error] Region.find(text): text search is currently switched off [error] C:\Users\augusto.martins\Desktop\doc_image.png looks like a file, but not on disk. Assume it's text. [error] Region.find(text): text search is currently switched off - -- 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 #269208]: Reading uneditable text form a screen
Question #269208 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269208 Status: Answered = Open swagatsamal2...@gmail.com is still having a problem: Thanks Raiman, Created a region and was able to highlight the text needed. But when using the .text() - am getting the error [error] TextRecognizer: init: tessdata folder not found at C:/SikuliX/libs/ [error] Region.text: text recognition is now switched off i am trying it form IDE. As part of solution - I deleted the Libs folder and tried running the setup again - but still then no luck - the folder is not getting created. -- 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
[Sikuli-driver] [Question #269349]: range condtion
New question #269349 on Sikuli: https://answers.launchpad.net/sikuli/+question/269349 find(1437143647666.png).inside().find(1437151470770.png) wait(2) while True: for i in range(0,19): pass click(1437151481432.png) if exists(1437151493592.png): print(yes) else: print(No) wait(2) Scenerio - i want to delete my trash mails one by one upto 20 records please tell me how to implment range condition in it. It will be very good,if you write script here Thanks, Ravi -- 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
[Sikuli-driver] [Question #269348]: Unable to install Version 1.0.1 on windows system
New question #269348 on Sikuli: https://answers.launchpad.net/sikuli/+question/269348 [debug (7/17/15 9:33:05 AM)] RunSetup: SikuliX Setup Build: 1.0.1 12NOV201312 [debug (7/17/15 9:33:05 AM)] RunSetup: ... starting with no args given [debug (7/17/15 9:33:05 AM)] RunSetup: syspath: C:\Users\v610426\Desktop\Laks-Dont delete\SikuliX\libs [debug (7/17/15 9:33:05 AM)] RunSetup: syspath: C:\Oracle\Oracle_Home [debug (7/17/15 9:33:05 AM)] RunSetup: syspath: C:\Windows\system32 [debug (7/17/15 9:33:05 AM)] RunSetup: syspath: C:\Windows [debug (7/17/15 9:33:05 AM)] RunSetup: syspath: C:\Windows\System32\Wbem [debug (7/17/15 9:33:05 AM)] RunSetup: syspath: C:\Windows\System32\WindowsPowerShell\v1.0\ [debug (7/17/15 9:33:05 AM)] RunSetup: syspath: C:\Program Files\BMC_Perform\Perform\CI\common\globalc\bin\Windows-x86 [debug (7/17/15 9:33:05 AM)] RunSetup: syspath: C:\Program Files\BMC_Perform\Perform\CI\common\globalc\bin\Windows-x86-64 [debug (7/17/15 9:33:05 AM)] RunSetup: syspath: C:\Program Files\BMC_Perform\Perform\BEST1\9.0.00\bgs\bin [debug (7/17/15 9:33:05 AM)] RunSetup: syspath: C:\Program Files (x86)\Attachmate\EXTRA!\ [debug (7/17/15 9:33:05 AM)] RunSetup: syspath: C:\Program Files\TortoiseSVN\bin [debug (7/17/15 9:33:05 AM)] RunSetup: syspath: C:\Program Files (x86)\HP\Unified Functional Testing\bin [debug (7/17/15 9:33:05 AM)] RunSetup: user home: C:\Users\v610426 [debug (7/17/15 9:33:10 AM)] RunSetup: RunningSystem: Windows 6.1 [debug (7/17/15 9:33:10 AM)] RunSetup: parent of jar/classes: C:/Users/v610426/Desktop/Laks-Dont delete/SikuliX/ [debug (7/17/15 9:33:10 AM)] RunSetup: RunningJava: Java 7 (amd64) 1.7.0_55-b13 [debug (7/17/15 9:33:10 AM)] RunSetup: ... could not detect whether Sikuli is used the first time on this system [debug (7/17/15 9:33:49 AM)] FileManager: Downloading 1.0.1-1.jar having -1 KB [error (7/17/15 9:34:10 AM)] FileManager: problems while downloading Connection timed out: connect [error (7/17/15 9:34:13 AM)] RunSetup: Fatal error 001: not able to download: 1.0.1-1.jar [debug (7/17/15 9:34:13 AM)] RunSetup: Download ended [error (7/17/15 9:34:23 AM)] RunSetup: download not completed successfully [error (7/17/15 9:34:23 AM)] RunSetup: ... terminated abnormally :-( -- 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 #269311]: compare directory of pictures to screen with loop
Question #269311 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269311 Status: Answered = Open jhonvinage475 is still having a problem: thank you for this wonderful code that helps a lot. it's a good idea to compare the directory for duplicates but I have already done this step with the VisiPics software. What I want is clear from the panel software directory those who are already all duplicates. Your help allowed me to do that but I always compare the same and it does not cycle up and down in the panel with the scrollbar to the right, To check the three screen (3 page down) because there are in the software 2913 brushes and only 221 duplicates in the directories. a help would be welcome : # collect the image files (import os not needed in Sikuli IDE) dir = D:\\stockage\\brush\\new\\original\\images\\new\\ images = [] # to store the filenames for e in os.listdir(dir): # this starts the loop if not e.endswith(.png): continue images.append(os.path.join(dir, e)) # collect # declare variables img1=photoshop.png # loop for each image in directory (one by one with path and name) and delete in the panel software and leave the loop or exit after the last picture in the directory # need check only one time of an image because i want to delete the duplicate in the software panel but keep the other for e in images: wait(0.5) type(Key.HOME) wait(0.5) if exists(Pattern(e).similar(0.99)): rightClick(Pattern(e).similar(0.99)) # wait(0.5) click(Pattern(img1).similar(0.99)) break else: wait(0.5) type(Key.PAGE_DOWN) -- 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
[Sikuli-driver] [Bug 1466231] Re: [1.1.0] OS X 10.10: KeyModifier being sent to Sikuli, not to app
Hey, are you folks able to reproduce this one? Any chance of a fix or workaround for this one? -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1466231 Title: [1.1.0] OS X 10.10: KeyModifier being sent to Sikuli, not to app Status in Sikuli: Opinion Bug description: Not yet attempted in Sikuli 1.0.1. OS: Mac OSX Yosemite (10.10.3) METHOD: Script is as follows: App.focus(NameOfApp); type(r); # just to confirm that the app has focus type(o, KeyModifier.KEY_CMD); # Cmd-O to open a file RESULT: After the second line, the app reacts to the letter R correctly, proving that the app has focus. However, the Cmd-O opens Sikuli's File Open dialog, not my product's. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1466231/+subscriptions ___ 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