[Sikuli-driver] [Bug 1211878] Re: [1.0.1] Running runScript.cmd throws Exception with option -h --- fixed August 14
** Summary changed: - [1.0.1] Running runScript.cmd throws java.lang.StringIndexOutOfBoundsException + [1.0.1] Running runScript.cmd throws Exception with option -h --- fixed August 14 ** Changed in: sikuli Status: New = Fix Committed ** Changed in: sikuli Importance: Undecided = Critical ** Changed in: sikuli Assignee: (unassigned) = RaiMan (raimund-hocke) ** Changed in: sikuli Milestone: None = 1.1.0 ** Summary changed: - [1.0.1] Running runScript.cmd throws Exception with option -h --- fixed August 14 + [1.0.1] Running runIDE(.cmd) or runScript(.cmd) throws Exception with option -h --- fixed August 14 ** Description changed: + --- fixed in version 1.0.1 per August 14 10 am gmt+1 + affected sikuli-ide.jar and sikuli-script.jar + If you want the fixed version: run setup again. + Only needed, if your last setup run was before the above given fix time + --- + Environment: OS: W7 32-bit Java: JRE 1.7 Update 25 Installed SikuliX 1.0.1 then tried to run runScript.cmd -h to view options. Observed error below: See below for error message: C:\SikuliXrunScript.cmd -h +++ running this Java java version 1.7.0_25 Java(TM) SE Runtime Environment (build 1.7.0_25-b17) Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing) +++ trying to start Sikuli Script +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar C:\SikuliX\sikuli-script.jar -h Exception in thread main java.lang.StringIndexOutOfBoundsException: String ind ex out of range: 94 - at java.lang.String.charAt(Unknown Source) - at org.apache.commons.cli.HelpFormatter.findWrapPos(HelpFormatter.java:9 + at java.lang.String.charAt(Unknown Source) + at org.apache.commons.cli.HelpFormatter.findWrapPos(HelpFormatter.java:9 04) - at org.apache.commons.cli.HelpFormatter.renderWrappedText(HelpFormatter. + at org.apache.commons.cli.HelpFormatter.renderWrappedText(HelpFormatter. java:835) - at org.apache.commons.cli.HelpFormatter.printWrapped(HelpFormatter.java: + at org.apache.commons.cli.HelpFormatter.printWrapped(HelpFormatter.java: 694) - at org.apache.commons.cli.HelpFormatter.printWrapped(HelpFormatter.java: + at org.apache.commons.cli.HelpFormatter.printWrapped(HelpFormatter.java: 679) - at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:493 + at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:493 ) - at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:418 + at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:418 ) - at org.sikuli.basics.CommandArgs.printHelp(CommandArgs.java:160) - at org.sikuli.basics.SikuliScript.main(SikuliScript.java:73) + at org.sikuli.basics.CommandArgs.printHelp(CommandArgs.java:160) + at org.sikuli.basics.SikuliScript.main(SikuliScript.java:73) -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1211878 Title: [1.0.1] Running runIDE(.cmd) or runScript(.cmd) throws Exception with option -h --- fixed August 14 Status in Sikuli: Fix Committed Bug description: --- fixed in version 1.0.1 per August 14 10 am gmt+1 affected sikuli-ide.jar and sikuli-script.jar If you want the fixed version: run setup again. Only needed, if your last setup run was before the above given fix time --- Environment: OS: W7 32-bit Java: JRE 1.7 Update 25 Installed SikuliX 1.0.1 then tried to run runScript.cmd -h to view options. Observed error below: See below for error message: C:\SikuliXrunScript.cmd -h +++ running this Java java version 1.7.0_25 Java(TM) SE Runtime Environment (build 1.7.0_25-b17) Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing) +++ trying to start Sikuli Script +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar C:\SikuliX\sikuli-script.jar -h Exception in thread main java.lang.StringIndexOutOfBoundsException: String ind ex out of range: 94 at java.lang.String.charAt(Unknown Source) at org.apache.commons.cli.HelpFormatter.findWrapPos(HelpFormatter.java:9 04) at org.apache.commons.cli.HelpFormatter.renderWrappedText(HelpFormatter. java:835) at org.apache.commons.cli.HelpFormatter.printWrapped(HelpFormatter.java: 694) at org.apache.commons.cli.HelpFormatter.printWrapped(HelpFormatter.java: 679) at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:493 ) at org.apache.commons.cli.HelpFormatter.printHelp(HelpFormatter.java:418 ) at
[Sikuli-driver] [Question #233740]: Status of bug #1210474 changed to 'Won't Fix' in Sikuli
Bug #1210474 status changed in Sikuli: In Progress = Won't Fix https://bugs.launchpad.net/sikuli/+bug/1210474 [1.0] Problems importing xml.dom.minidom in script running mode This bug is linked to #233740. [1.0] IDE: HTML coded text not printed correctly https://answers.launchpad.net/sikuli/+question/233740 -- 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 #233331]: Status of bug #1210474 changed to 'Won't Fix' in Sikuli
Bug #1210474 status changed in Sikuli: In Progress = Won't Fix https://bugs.launchpad.net/sikuli/+bug/1210474 [1.0] Problems importing xml.dom.minidom in script running mode This bug is linked to #21. No parsers found error when running from command line https://answers.launchpad.net/sikuli/+question/21 -- 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 #233331]: No parsers found error when running from command line
Question #21 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/21 Status: Answered = Solved RaiMan changed the question status: is solved -- 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 #233962]: How to install sikuli-script-1.0.1.jar
Question #233962 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233962 Status: Answered = Solved RaiMan changed the question status: is solved -- 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 #233740]: [1.0] IDE: HTML coded text not printed correctly
Question #233740 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233740 Status: Answered = Solved RaiMan changed the question status: is solved -- 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 #233355]: [1.0] Mac: DualMonitor: Capture does not use the region on the correct monitor
Question #233355 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233355 Description changed to: --- fixed with version 1.0.1 Hi, I have been using Sikuli for 2 years and I just started using the new Sikuli API for Mac. I noticed that using capture(region) does not seem to work correctly with dual monitor setup. Just wanted to find out if I am doing something wrong, although using Sikuli Script X-1.0rc3 seems to work fine with the same code. Code goes something like this: r = createRegion(x, y, w, h) highlight(r) // This highlights the correct region. capture(r) // This captures the incorrect region. I have dual monitor setup, my OSX dock/system menu bar is on the external monitor, the region that I want to capture is also in the external monitor and calling highlight shows that. However calling the capture with the same region object uses the laptop monitor. I restarted OSX and still the same problem. Using the SCREEN constant to capture also uses the laptop monitor but in the docs its says: Mac: The monitor, that has the System Menu Bar, is always Screen(0) and mapped to the default SCREEN. And like I said the same code works fine with Sikuli Script X-1.0rc3. -- 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 #233560]: xlrd error
Question #233560 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233560 Status: Open = Invalid RaiMan changed the question status: posted other 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
[Sikuli-driver] [Bug 1210474] Re: [1.0] Problems importing xml.dom.minidom in script running mode
** Changed in: sikuli Status: In Progress = Won't Fix ** Changed in: sikuli Importance: Medium = Undecided ** Changed in: sikuli Assignee: RaiMan (raimund-hocke) = (unassigned) ** Changed in: sikuli Milestone: 1.1.0 = None ** Description changed: --- problem a Sikuli script xml.sikuli found on sys.path hides the Python module + + users should obey the rule: + A Sikuli script, that can be found on sys.path at runtime, should not be named like a Python module, that is to be imported in the same script run. --- with a simple script like from xml.dom import minidom I get the following error File /Users/colej/Documents/xml.sikuli/xml.py, line 1, in module from xml.dom import minidom ImportError: No module named dom !!WHILE IMPORTING!! I did not find any method, to get minidom imported to use the minidom.parse... options. ** Summary changed: - [1.0] Problems importing xml.dom.minidom in script running mode + [1.0] some_name.sikuli hides a Python module some_name at import and gives weird errors -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1210474 Title: [1.0] some_name.sikuli hides a Python module some_name at import and gives weird errors Status in Sikuli: Won't Fix Bug description: --- problem a Sikuli script xml.sikuli found on sys.path hides the Python module users should obey the rule: A Sikuli script, that can be found on sys.path at runtime, should not be named like a Python module, that is to be imported in the same script run. --- with a simple script like from xml.dom import minidom I get the following error File /Users/colej/Documents/xml.sikuli/xml.py, line 1, in module from xml.dom import minidom ImportError: No module named dom !!WHILE IMPORTING!! I did not find any method, to get minidom imported to use the minidom.parse... options. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1210474/+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 #233331]: No parsers found error when running from command line
Question #21 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/21 Sunil posted a new comment: Hi Raiman, Thank you for the detailed suggestion. I really appreciate your efforts put on Sikuli project. Though I'm yet to try it, one interesting fact in my case is I haven't named any script/module as xml.sikuli or xml.py. All I meant by imported a 'module' which is saved as .sikuli script for parsing xml file is any user defined module name (not native python module name, as you mentioned xml.sikuli). I'll update my findings here once done with it. 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
[Sikuli-driver] [Bug 836453] Re: X-1.0rc3: Key.WIN does not work - java invalid key code
** Changed in: sikuli Status: In Progress = Fix Committed ** Changed in: sikuli Importance: Medium = Critical ** Changed in: sikuli Milestone: None = 1.1.0 ** Description changed: - 1)The version of Sikuli : Download Sikuli X 1.0rc2 Maltese + --- fixed with version 1.0.1 + -- + + 1)The version of Sikuli : Download Sikuli X 1.0rc2 Maltese 2) Windows 7, 32 bits 3) the expressions keyDown(Key.WIN) and keyUp(Key.WIN) do not work. workaround (given to me by raiman): type(r, KEY_WIN) the full answer is in the Question #167398 ** Summary changed: - X-1.0rc3: Key.WIN does not work - java invalid key code + [1.0] Key.WIN does not work - java invalid key code ** Summary changed: - [1.0] Key.WIN does not work - java invalid key code + [1.0] Key.WIN does not work - java invalid key code - fixed with 1.0.1 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/836453 Title: [1.0] Key.WIN does not work - java invalid key code - fixed with 1.0.1 Status in Sikuli: Fix Committed Bug description: --- fixed with version 1.0.1 -- 1)The version of Sikuli : Download Sikuli X 1.0rc2 Maltese 2) Windows 7, 32 bits 3) the expressions keyDown(Key.WIN) and keyUp(Key.WIN) do not work. workaround (given to me by raiman): type(r, KEY_WIN) the full answer is in the Question #167398 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/836453/+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
[Sikuli-driver] [Bug 1000643] Re: X 1.0rc3: WIN meta key not working with keyDown()
** Changed in: sikuli Status: In Progress = Fix Committed ** Changed in: sikuli Importance: Medium = Critical ** Summary changed: - X 1.0rc3: WIN meta key not working with keyDown() + X 1.0rc3: WIN meta key not working with keyDown() --- fixed in 1.0.1 ** Summary changed: - X 1.0rc3: WIN meta key not working with keyDown() --- fixed in 1.0.1 + [1.0] WIN meta key not working with keyDown() --- fixed in 1.0.1 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1000643 Title: [1.0] WIN meta key not working with keyDown() --- fixed in 1.0.1 Status in Sikuli: Fix Committed Bug description: I know that this issue has been reported in bugs #513312 and #836453, but my use case is a bit different as the key combination that I want to emulate cannot be achieved through type(). I am using Sikuli X 1.0rc3, on Windows 7 64bit. One of the Windows key combinations that we are trying to emulate are the: WIN key + Shift key + Left arrow key / Right arrow key combinations This achieves the effect of flicking a window from one monitor to the next in multi-monitor configurations. The problem with this combination is that it cannot be achieved with type(), hence we hoped to use keyDown() and keyUp(). Are there any plans, or any suggestions of work arounds, to achieve this sort of key combination? Regards, Jason To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1000643/+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
[Sikuli-driver] [Question #118032]: Status of bug #570248 changed to 'Fix Released' in Sikuli
Bug #570248 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/570248 Screenshots in the script are no longer found after saving with save as... This bug is linked to #118032. How can i execute saved script? https://answers.launchpad.net/sikuli/+question/118032 -- 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 570248] Re: Screenshots in the script are no longer found after saving with save as...
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/570248 Title: Screenshots in the script are no longer found after saving with save as... Status in Sikuli: Fix Released Bug description: Sikuli Version 0.9.9 Windows XP 32-bit Java 1.6.0_20 This is the script I used: openApp(calc) # For the Windows calculator type(12) click() # click on the screenshot of + with 82% similarity type(13) click() # click on the picture of = with 82% similarity That's the whole script. It works well until I want to save it with save as... After saving it with save as... the screenshots i have taken are no longer recognized from SIKULI. I have tried to take new ones, but they are not recognized too. i turned the sinilarity down to 1% but nothing was found. After that i tried to proceed the same script in an unsaved File, and it works. After saving this new one with save as... the same happened as I described above. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/570248/+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
[Sikuli-driver] [Bug 516255] Re: changing bundle name shows no data in ide
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/516255 Title: changing bundle name shows no data in ide Status in Sikuli: Fix Released Bug description: Sikuli-IDE 0.9.8 Mac OS 10.6.x or 10.5.x 32-bit ISSUE: After saving the sikuli source if the bundle name is changed it opens in the IDE with no contents. REPLICATION: 1. save a Sikuli source file as foo.sikuli 2. rename foo.sikuli to bar.sikuli 3. open bar.sikuli in Sikuli-IDE 4. quit Sikuli-IDE 5. rename bar.sikuli to foo.sikuli 6. open foo.sikuli WORKAROUND: Performing a Show Package Contents on the *.sikuli bundle and setting the name to match the *.py and *.html files within the bundle rectifies the issue To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/516255/+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
[Sikuli-driver] [Bug 515406] Re: double \ generated into Sikuli-IDE.bat on Windows 2000
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/515406 Title: double \ generated into Sikuli-IDE.bat on Windows 2000 Status in Sikuli: Fix Released Bug description: SIKULI version: 20100128 (file: Sikuli-IDE-win-20100128.zip) OS: Windows 2000 SP4, 32-bit Original Sikuli-IDE.bat: @echo off PATH=%PATH%;%~d0%~p0\tmplib java -Dpython.path=%~d0%~p0\sikuli-ide-full.jar\Lib -cp %~d0%~p0\sikuli-ide-full.jar edu.mit.csail.uid.SikuliIDE %* Expansion of the intruction when it is used (only information about SIKULI are joined): PATH=..;D:\program\Sikuli-IDE\\tmplib java -Dpython.path=D:\program\Sikuli-IDE\\sikuli-ide-full.jar\Lib -cp D:\program\Sikuli-IDE\\sikuli-ide-full.jar edu.mit.csail.uid.SikuliIDE You can see : Sikuli-IDE\\tmplib Sikuli-IDE\\sikuli-ide-full.jar ^ | double \ the %~p0 is expand with the \ at the end of the path To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/515406/+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
[Sikuli-driver] [Bug 683336] Re: [request] Would like a 64 bit version of Sikuli
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/683336 Title: [request] Would like a 64 bit version of Sikuli Status in Sikuli: Fix Released Bug description: Hello, we recently built an automation framework using Sikuli as the image searching algorithm. It works FANTASTICALLY. The problem we face now is that we need more power. Sadly, Sikuli doesn't play nice with java 64 bit. Recently I saw OpenCV has in it's change logs that it can compile into 64 bit. We're trying that now since that is the error that's thrown, but we don't know if that will actually solve the problem. I'd like to request a 64 bit compatible version of Sikuli, we're currently using the .jar java libraries, but a 64 bit IDE would be awesome too. I was recommended to post a bug feature request here instead from this answer: https://answers.launchpad.net/sikuli/+question/136113 Version we use: Currenly using 10.2 .jars Operating system: Windows 64 bit, Ubuntu 64 bit, and Mac 64 bit Procedure: Try to run Sikuli functions on 64 bit Java JVM To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/683336/+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
[Sikuli-driver] [Question #142187]: Status of bug #697355 changed to 'Fix Released' in Sikuli
Bug #697355 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/697355 X 1.0rc1 Windows: second import corrupts image search path - workaround This bug is linked to #142187. Invalid (?) path of imported images on Windows (w7) https://answers.launchpad.net/sikuli/+question/142187 -- 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 #139737]: Status of bug #697355 changed to 'Fix Released' in Sikuli
Bug #697355 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/697355 X 1.0rc1 Windows: second import corrupts image search path - workaround This bug is linked to #139737. how to import multiple image libraries in sikuli? https://answers.launchpad.net/sikuli/+question/139737 -- 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 #150836]: Status of bug #702291 changed to 'Fix Released' in Sikuli
Bug #702291 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/702291 [request] want additional method signature Region.inside(left, right, top, bottom) This bug is linked to #150836. Getting a sub region from a region. https://answers.launchpad.net/sikuli/+question/150836 -- 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 697355] Re: X 1.0rc1 Windows: second import corrupts image search path - workaround
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/697355 Title: X 1.0rc1 Windows: second import corrupts image search path - workaround Status in Sikuli: Fix Released Bug description: ** this happens --- only one import works fine --- after adding another import, things contained in first import make problems now and things from second import do not function at all see workaround below Hi, Sikuli-X provides the way to import another Sikuli script and image library into the main sikuli script. It only works on 1 image library importing. What if I want to import multiple image libraries into the same sikuli script? I've tried to do that, it won't work on the 2nd import, even it didn't complain anything. It just couldn't find the image and will time out. I've tried to print out the image search path by getImagePath(), it looks like this, does it look right to you? array(java.lang.String, [u'C:\\GUITest\\GUITest.sikuli\\objectData/imgs.sikuli:C:\\GUITest\\GUITest.sikuli\\projects\\DesktopDirector\\objectData/imgs_desktopDirector.sikuli\\']) the 2nd imported images will not be recognized by Sikuli. But if I removed the 1st import, the 2nd import will work fine. I'm using these codes to import the images from 2 libraries projectImgsLabPath1=C:\\GUITest\\GUITest.sikuli\\objectData if not projectImgsLabPath1 in sys.path: sys.path.append(projectImgsLabPath1) from imgs import * projectImgsLabPath2=C:\\GUITest\\GUITest.sikuli\\projects\\DesktopDirector\\objectData if not projectImgsLabPath2 in sys.path: sys.path.append(projectImgsLabPath2) from imgs_desktopDirector import * To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/697355/+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
[Sikuli-driver] [Question #140626]: Status of bug #701423 changed to 'Fix Released' in Sikuli
Bug #701423 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/701423 X 1.0rc1 Windows: similar(1.00) in Pattern Setting dialog: match not shown This bug is linked to #140626. Windows: similar(1.00) in Pattern Setting dialog: match not shown https://answers.launchpad.net/sikuli/+question/140626 -- 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 702845] Re: [request] some system environment test command is needed
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/702845 Title: [request] some system environment test command is needed Status in Sikuli: Fix Released Bug description: with the evolving features (e.g. VNC support seems to raise over horizon ;-) and the increasing interest in the app world wide, Sikuli having the pretension to work on different environments/systems, needs some support to help people to figure out wether they can work with Sikuli according their intentions. this could be something downloadable before downloading Sikuli and or integrated in the installation process. On top it should be usable standalone, to be able to check the system environment on other machines or systems. already now (even easier with X 1.0rc2) the only basics that are needed is the folder containing the native libs and sikuli-script.jar and you can do a simple test on commandline (based on a standard installation and correct system path): --- (it is 1 line ;-): echo from sikuli.Sikuli import *; print SCREEN | java -cp path-to-sikuli\sikuli-script.jar org.python.util.jython Using the Jython level for the test makes it possible to do something without touching any Sikuli features, e.g. echo import sys; for e in sys.path: print e would show the current contents of sys.path so in a first step the java/jython environment could be analyzed and reported and in a second step all the prereqs Sikuli needs to run (even divided in the question: only sikuli-script.jar needed or full Sikuli IDE). The test could give hints for optimizations/corrections and notify about possible problems (with links to actual bugs/answers/faqs). To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/702845/+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
[Sikuli-driver] [Bug 701423] Re: X 1.0rc1 Windows: similar(1.00) in Pattern Setting dialog: match not shown
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/701423 Title: X 1.0rc1 Windows: similar(1.00) in Pattern Setting dialog: match not shown Status in Sikuli: Fix Released Bug description: description in related question To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/701423/+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
[Sikuli-driver] [Bug 702291] Re: [request] want additional method signature Region.inside(left, right, top, bottom)
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/702291 Title: [request] want additional method signature Region.inside(left, right, top, bottom) Status in Sikuli: Fix Released Bug description: especially, when trying to use Region.text() optimally, I found the following helper very convenient (I have it in my basics): def regInside(reg, left, right, top=0, bottom=0): return Region(reg.x+left, reg.y+top, reg.w-left-right, reg.h-top-bottom) This returns a new region inside the given one, with some padding left, right, top, bottom. It would be helpful to have it as a Region method def inside(reg, left, right, top=0, bottom=0): the defaults for top and bottom: I found that it is mostly helpful to cut the region horizontally and keep the height. e.g. App.focus(Safari) # supposing Safari is running and shows a webpage win = App.focusedWindow() titleText = win.above(1).below(25).inside(70, 40).text() so inside() helps to cut off the parts of the titlebar containing grafics. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/702291/+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
[Sikuli-driver] [Question #170534]: Status of bug #707383 changed to 'Fix Released' in Sikuli
Bug #707383 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/707383 [Java] X 1.0rc3: WebDriver/Firefox: Hang in app.focus() if used before new Screen() - workaround This bug is linked to #170534. [Java] Not able to get App window as Region object on MAC https://answers.launchpad.net/sikuli/+question/170534 -- 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 #143611]: Status of bug #711129 changed to 'Fix Released' in Sikuli
Bug #711129 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/711129 X 1.0rc1: [Java] using setROI() a match's region is reported relative to ROI top left, not screen's top left This bug is linked to #143611. X 1.0rc1: [Java] using setROI() a match's region is reported relative to ROI top left, not screen's top left https://answers.launchpad.net/sikuli/+question/143611 -- 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 #142707]: Status of bug #707383 changed to 'Fix Released' in Sikuli
Bug #707383 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/707383 [Java] X 1.0rc3: WebDriver/Firefox: Hang in app.focus() if used before new Screen() - workaround This bug is linked to #142707. [Java] Sikuli X: WebDriver/Firefox: Hang in app.focus() if used before new Screen() - workaround https://answers.launchpad.net/sikuli/+question/142707 -- 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 #145361]: Status of bug #718891 changed to 'Fix Released' in Sikuli
Bug #718891 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/718891 X-1.0rc2: Windows: automatic %PATH% insert has \\ - C:\Program Files\Java\jre6\\bin This bug is linked to #145361. automatic %PATH% contains C:\Program Files\Java\jre6\\bin (double \\) https://answers.launchpad.net/sikuli/+question/145361 -- 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 711129] Re: X 1.0rc1: [Java] using setROI() a match's region is reported relative to ROI top left, not screen's top left
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/711129 Title: X 1.0rc1: [Java] using setROI() a match's region is reported relative to ROI top left, not screen's top left Status in Sikuli: Fix Released Bug description: based on the related question (thanks topagae (https://launchpad.net/~topagae)), confirmed on Mac. To confirm, I set the ROI to the app window. The m.highlight only shows the expected match region, when the Safaris window top left is at the screens top left. In all other cases it is offset with the offset of the window relative to the screen. --- Java snippet Screen scr = new Screen(); App aS = new App(Safari); ImageLocator.addImagePath(/Users/rhocke/Desktop); aS.focus(); scr.setRect(aS.window()); aS.window().highlight(2); Match m = scr.exists(wiki.png, 0); m.highlight(2); To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/711129/+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
[Sikuli-driver] [Bug 707383] Re: [Java] X 1.0rc3: WebDriver/Firefox: Hang in app.focus() if used before new Screen() - workaround
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/707383 Title: [Java] X 1.0rc3: WebDriver/Firefox: Hang in app.focus() if used before new Screen() - workaround Status in Sikuli: Fix Released Bug description: ** workaround use Screen scr = new Screen() before touching any other Sikuli features in Java code: It seems, that the class App makes problems together with class Screen, when used in the sequence App - Screen. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/707383/+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
[Sikuli-driver] [Question #147840]: Status of bug #718623 changed to 'Fix Released' in Sikuli
Bug #718623 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/718623 Env.getSikuliVersion() not available - IDE workaround This bug is linked to #147840. X-1.0rc2: Env.isLockOn not supported --- a bug https://answers.launchpad.net/sikuli/+question/147840 -- 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 718623] Re: Env.getSikuliVersion() not available - IDE workaround
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/718623 Title: Env.getSikuliVersion() not available - IDE workaround Status in Sikuli: Fix Released Bug description: *** Problem: Env.getSikuliVersion is defined, but not public (so not accessible) *** Workaround: As long as you use the IDE (GUI or commandline) to launch your scripts, use this instead: import org.sikuli.ide.IDESettings as IDESettings v = IDEsettings.SikuliVersion This returns the same string as Env.getSikuliVersion() should. - Hi all, I tried the new version of Sikuli X-1.0-RC2 on a win xp sp3 where the previous version of Sikuli was not installed. I used the .exe version so the lib folder is correctly defined in the Windows PATH. Unfortunately when i launched a short script from the Sikuli IDE: setShowActions(True) popup(Env.getSikuliVersion()) I obtain the following error : [info] Sikuli vision engine loaded. [info] Windows utilities loaded. [info] VDictProxy loaded. [error] Arrêté [error] Une erreur est survenue à la ligne 2 [error] Message d'erreur : Traceback (most recent call last): File C:\WINDOWS\Temp\sikuli-tmp2037300679833065495.py, line 2, in popup(Env.getSikuliVersion()) AttributeError: type object 'org.sikuli.script.Env' has no attribute 'getSikuliVersion' Note : Sorry a part of the messages are in french. Regards To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/718623/+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
[Sikuli-driver] [Bug 718891] Re: X-1.0rc2: Windows: automatic %PATH% insert has \\ - ....C:\Program Files\Java\jre6\\bin
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/718891 Title: X-1.0rc2: Windows: automatic %PATH% insert has \\ - C:\Program Files\Java\jre6\\bin Status in Sikuli: Fix Released Bug description: Sikuli inserts an extra slash in the path for JRE breaking Sikuli IDE and any other use of Sikuli. Found on Vista32 and Win7 32 C:\Program Files\Sikuli X\libs; C:\Program Files\Java\jre6\\bin Note the extra slash between jre6 and bin jre6\\bin shoud be jre6\bin Change to a single slash and the issue is resolved. Repro steps: Install Sikuli IDE, enter code for popup as a test popup (Sikuli is awesome) run result [error] Stopped [error] An error occurs at line 1 [error] Error message: Traceback (most recent call last): File , line 1, inFile C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\__init__.py, line 1, inFile C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\Sikuli.py, line 25, in java.lang.NoClassDefFoundError: Could not initialize class org.sikuli.script.App at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.python.core.SyspathJavaLoader.loadClass(SyspathJavaLoader.java:107) at java.lang.ClassLoader.loadClass(Unknown Source) at org.python.core.Py.findClassEx(Py.java:817) at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:133) at org.python.core.packagecache.PackageManager.findClass(PackageManager.java:28) at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:122) at org.python.core.PyJavaPackage.__findattr_ex__(PyJav aPackage.java:137) at org.python.core.PyObject.__findattr__(PyObject.java:869) at org.python.core.imp.import_name(imp.java:771) at org.python.core.imp.importName(imp.java:806) at org.python.core.ImportFunction.__call__(__builtin__.java:1232) at org.python.core.PyObject.__call__(PyObject.java:367) at org.python.core.__builtin__.__import__(__builtin__.java:1202) at org.python.core.imp.importFromAs(imp.java:884) at org.python.core.imp.importFrom(imp.java:860) at sikuli.Sikuli$py.f$0(C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\Sikuli.py:209) at sikuli.Sikuli$py.call_function(C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\Sikuli.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:326) at org.python.core.util.importer.importer_load_module(importer.java:109) at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161) a t org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source) at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47) at org.python.core.imp.loadFromLoader(imp.java:451) at org.python.core.imp.find_module(imp.java:408) at org.python.core.PyModule.impAttr(PyModule.java:109) at org.python.core.imp.import_next(imp.java:637) at org.python.core.imp.import_name(imp.java:746) at org.python.core.imp.importName(imp.java:806) at org.python.core.ImportFunction.__call__(__builtin__.java:1232) at org.python.core.PyObject.__call__(PyObject.java:367) at org.python.core.__builtin__.__import__(__builtin__.java:1202) at org.python.core.__builtin__.__import__(__builtin__.java:1185) at org.python.core.imp.importAll(imp.java:904) at sikuli$py.f$0(C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\__init__.py:1) at sikuli$py.call_function(C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\__init__.py) at org.python.c ore.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:326) at org.python.core.util.importer.importer_load_module(importer.java:109) at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161) at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source) at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47) at org.python.core.imp.loadFromLoader(imp.java:451) at org.python.core.imp.find_module(imp.java:408) at org.python.core.imp.import_next(imp.java:635) at org.python.core.imp.import_name(imp.java:746) at org.python.core.imp.importName(imp.java:806) at org.python.core.ImportFunction.__call__(__builtin__.java:1232) at org.python.core.PyObject.__call__(PyObject.java:367) at org.python.core.__builtin__.__import__(__builtin__.java:1202) at org.python.core.__builtin__.__import__(__builtin__.java :1185) at org.python.core.imp.importAll(imp.java:904) at org.python.pycode._pyx8.f$0( :1) at org.python.pycode._pyx8.call_function( ) at
[Sikuli-driver] [Question #150386]: Status of bug #718941 changed to 'Fix Released' in Sikuli
Bug #718941 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/718941 [request] [Java] Improved javadoc This bug is linked to #150386. Will there be a smaller jar file with JavaDoc for Java? https://answers.launchpad.net/sikuli/+question/150386 -- 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 #175622]: Status of bug #850663 changed to 'Fix Released' in Sikuli
Bug #850663 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/850663 X-1.0rc3: same script opened multiple times This bug is linked to #175622. Open Same script multiple times https://answers.launchpad.net/sikuli/+question/175622 -- 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 #173148]: Status of bug #851754 changed to 'Fix Released' in Sikuli
Bug #851754 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/851754 X 1.0rc3: IDE hangs on startup - problems with saved session [Windows/Mac] This bug is linked to #173148. [IDE] Errors When opening/Closing/Saving a Project https://answers.launchpad.net/sikuli/+question/173148 -- 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 #171638]: Status of bug #851754 changed to 'Fix Released' in Sikuli
Bug #851754 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/851754 X 1.0rc3: IDE hangs on startup - problems with saved session [Windows/Mac] This bug is linked to #171638. X-1.0rc3: unstable on Windows 7 64Bit https://answers.launchpad.net/sikuli/+question/171638 -- 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 #162461]: Status of bug #801497 changed to 'Fix Released' in Sikuli
Bug #801497 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/801497 X-1.0rc3: Java exception at end of script running sikuli-script.jar from commandline with user parameters This bug is linked to #162461. Exception when using parameter in command line https://answers.launchpad.net/sikuli/+question/162461 -- 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 718941] Re: [request] [Java] Improved javadoc
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/718941 Title: [request] [Java] Improved javadoc Status in Sikuli: Fix Released Bug description: *Just for the record, the Javadocs for Sikuli X-1.0 up to rc3 has been moved to http://doc.sikuli.org/javadoc/ the Javadocs of the new SikuliX-API-1.0: https://dl.dropboxusercontent.com/u/42895525/SikuliX/SikuliX-API-JavaDocs/index.html -- Since I am using the Java API and I found the Javadoc a bit empty I wrote some javadoc comments. If you are interested, I will write more patches in order to improve the Javadoc documentation. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/718941/+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
[Sikuli-driver] [Bug 719250] Re: X-1.0rc2: Windows XP: Sikuli IDE does not start --- try this
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/719250 Title: X-1.0rc2: Windows XP: Sikuli IDE does not start --- try this Status in Sikuli: Fix Released Bug description: possible cause and workaround ** might be a problem with your localization. Try this (supposing you have installed Sikuli using the .exe installer) It switches to the US-english localization -- Make a copy of the Sikuli-IDE.bat in the Sikuli folder -- on the line containing %JAVA_EXE% append -Duser.language=en_US so it looks like this: %JAVA_EXE% -Xms64M -Xmx512M -Duser.language=en_US -Dfile.encoding=UTF-8 -Dpython.path=%~d0%~p0sikuli-script.jar/ -jar %~d0%~p0sikuli-ide.jar %* -- Run this modified you-name-it.bat, and you hopefully will see the IDE with the English interface. -- if it solves your problem, please report a bug with reference to your locale Version: Sikuli-X-1.0rc2-win32, system Windows XP 32-bit. After installation the application will not start. In command line I see only [info] locale: pl_PL [debug] init user preferences and application stops To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/719250/+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
[Sikuli-driver] [Bug 722400] Re: Missing copyright statements
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/722400 Title: Missing copyright statements Status in Sikuli: Fix Released Bug description: Hi, While preparing a package for Debian I've checked the sikuli source files and it appears that none of them have a proper copyright statement, while the MIT license explicitly says: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. I think this should be fixed. Thanks in advance, _g. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/722400/+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
[Sikuli-driver] [Bug 850663] Re: X-1.0rc3: same script opened multiple times
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/850663 Title: X-1.0rc3: same script opened multiple times Status in Sikuli: Fix Released Bug description: this should never happen automatically on startup Sikuli now remembers the opened scripts at restart. If you start the IDE by double-clicking a script, that was open at last quit of IDE, it is opened twice in the IDE, next time three times and so on. generally possible to open script multiple times in different tabs using menu open. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/850663/+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
[Sikuli-driver] [Bug 850715] Re: X-1.0rc3: Error at menu File - Close Tab, if no tab open
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/850715 Title: X-1.0rc3: Error at menu File - Close Tab, if no tab open Status in Sikuli: Fix Released Bug description: Error: java.lang.NullPointerException Version: Sikuli X-1.0rc3 (r905) OS: all systems Precondition: The Sikuli IDE is open. Action step: Select File - Close Tab several times to close all Tab and then select the Close Tab again. Actual result: Sikuli application froze a while and error occurred in the Message window. Expect result: The Close Tab should not be available when no Tab in te IDE window. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/850715/+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
[Sikuli-driver] [Bug 795486] Re: [request] Upgrade Jython 2.5.1 - 2.5.3 in the Sikuli distribution
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/795486 Title: [request] Upgrade Jython 2.5.1 - 2.5.3 in the Sikuli distribution Status in Sikuli: Fix Released Bug description: * X-1.0rc3: Mac version already contains Jython 2.5.2 -- Jython 2.5.2 seems to get several performance improvements http://www.jython.org/latest.html along with numerous bug fixes. It may help to reduce startup time when Sikuli scripts are invoked from command line. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/795486/+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
[Sikuli-driver] [Bug 795498] Re: Make Region.click() arguments optional
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/795498 Title: Make Region.click() arguments optional Status in Sikuli: Fix Released Bug description: Region.click() should click at its center. It will make code more clean (and perhaps faster), e.g. from: for f in findAll(findobjs): area = Region(f.nearby(100)) f.click(area) to: for f in findAll(findobjs): area = Region(f.nearby(100)) area.click() To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/795498/+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
[Sikuli-driver] [Bug 808575] Re: X-1.0rc3: images consisting of only one color always found and in wrong location
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/808575 Title: X-1.0rc3: images consisting of only one color always found and in wrong location Status in Sikuli: Fix Released Bug description: *** Status with SikuliX-1.0 - works (except for solid black) just using find(image of solid color.png) (similarity is internally set to exact() - findAll(): exact() needed: for matches in findAll(Pattern(solid.png).exact()) - otherwise you still get false positives. --- 1 sikuli x-1.0rc2 2 os x 10.6.7 64 bit 3 create a 32x32 px png, fill with any solid color (see attachment for sample); use any find operation - usually a match is found in top-left corner of screen, sometimes in random other screen locations To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/808575/+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
[Sikuli-driver] [Bug 732418] Re: [request] IDE: auto save
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/732418 Title: [request] IDE: auto save Status in Sikuli: Fix Released Bug description: * added to IDE feature requests summary bug 705775 -- This again is a nice to have feature. An auto save, with a certain interval of time that can be configured. I still face the application crashing intermittently if Im working on a large code. Yet to get a proper log. In the meantime this would save a lot of trouble. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/732418/+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
[Sikuli-driver] [Question #175086]: Status of bug #877484 changed to 'Fix Released' in Sikuli
Bug #877484 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/877484 [request] increased configuration capability for loading .dll libraries This bug is linked to #175086. OSGI .dll loading issue https://answers.launchpad.net/sikuli/+question/175086 -- 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 780937] Re: X-1.0rc2: exact() information is lost in GUI on reopening --- workaround
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/780937 Title: X-1.0rc2: exact() information is lost in GUI on reopening --- workaround Status in Sikuli: Fix Released Bug description: workaround: use similar(0.99) instead -- When a pattern is defined as exact match using 1.0 similarity in GUI, the image gets 1.0 marker and the .py file contains the following source: img = Pattern(img.png).exact() However, if you save and reopen Sikuli, the 1.0 marker is lost, and click on image resets similarity slider to a value of 0.7. This creates big trouble when debugging, because engine still matches the picture as exact() match and if PS doesn't have exact similarity, Matching Preview will show that there is no match until you move slider. Vista 32. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/780937/+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
[Sikuli-driver] [Bug 836474] Re: can not use sikuli x
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/836474 Title: can not use sikuli x Status in Sikuli: Fix Released Bug description: my test program only has click('picture') but when i run ,error [info] VDictProxy loaded. [error] 程序已终止 [error] 第1行发生错误 [error] 错误信息: Traceback (most recent call last): File , line 1, inFile D:\program files\Sikuli X\sikuli-script.jar\Lib\sikuli\__init__.py, line 1, inFile D:\program files\Sikuli X\sikuli-script.jar\Lib\sikuli\Sikuli.py, line 209, inFile D:\program files\Sikuli X\sikuli-script.jar\Lib\sikuli\Sikuli.py, line 204, in initSikuli File D:\program files\Sikuli X\sikuli-script.jar\Lib\sikuli\Screen.py, line 16, in __init__ at org.sikuli.script.Win32Util.setWindowOpaque(Win32Util.java:79) at org.sikuli.script.ScreenHighlighter.init(ScreenHighlighter.java:175) at org.sikuli.script.ScreenHighlighter. (ScreenHighlighter.java:288) at org.sikuli.script.Screen.initBounds(Screen.java:96) at org.sikuli.script.Screen. (Screen.java:108) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccesso rImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:163) java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: com/sun/awt/AWTUtilities To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/836474/+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
[Sikuli-driver] [Bug 850520] Re: X-1.0rc3: IDE: with Region doesn't work after first run - uses whole screen --- workaround
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/850520 Title: X-1.0rc3: IDE: with Region doesn't work after first run - uses whole screen --- workaround Status in Sikuli: Fix Released Bug description: --- workaround put the code block (no indentation !) between setROI(some_region) #... # code #... setROI(SCREEN) # According to http://sikuli.org/docx/region.html#grouping-method-calls-with-region # All methods inside the with block that have the region omitted are redirected to the region object specified at the with statement. # Based on this statement, I would expect the following code to only highlight the bottom three icons. # Tested on both 64 bit Windows 7 and OSX Lion with identical results. # Version: Sikuli X 1.0rc2 Maltese Released on 2011/02/10 # Expected results: # * The script should highlight the test image, the bottom half of the test image, and the bottom three icons in the test image. # Actual results: # * All 6 icons are highlighted. # Steps to reproduce: # 1. Close all running copies of the Sikuli IDE. # 2. Open TestImage.png in an image viewer at 1:1 zoom level. (Possibly by viewing the .html file) # 3. Open the Sikuli IDE and load this script. # 4. Run the script. During the first run you will see the expected behavior. It will only highlight the bottom three icons. # 5. Run the script again. This time and any time after, it will highlight all 6 icons. This is not the expected behavior. testimage = find() testimage.highlight(1) bottomhalf = Region(testimage) bottomhalf.setY(bottomhalf.getCenter().y) bottomhalf.setH(bottomhalf.getH()/2) bottomhalf.highlight(1) with bottomhalf: icons = findAll() sorted_icons = sorted(icons, key=lambda m:m.y) for icon in sorted_icons: icon.highlight(1) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/850520/+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
[Sikuli-driver] [Bug 807155] Re: Sikuli constantly loses the png files crashing --- autosave
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/807155 Title: Sikuli constantly loses the png files crashing --- autosave Status in Sikuli: Fix Released Bug description: This is for the 1.0rc2 I was working with a large script automating some installation at some point of deleting lines and adding new captures my tests started to fail, sikuli couldn't find an image capture, i redid it many times thinking it was another problem and it just never could find that image, i went to the .sikuli folder and the supposedly missing images where there but for some weird reason sikuli was trying to find them on my temp folder inside documents and settings(windows xp) why? I think its related to naming, because at the beggining some ocr named the png files with related info but then sikuli just stared using long numbers thats when the problem began. Its so frustrating working for an hour on a script just so i can't find the images i'm using.. attached the problematic file. Any ideas to create safe files? maybe i should take the screenshots myself and use the insert image function maybe? To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/807155/+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
[Sikuli-driver] [Bug 801497] Re: X-1.0rc3: Java exception at end of script running sikuli-script.jar from commandline with user parameters
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/801497 Title: X-1.0rc3: Java exception at end of script running sikuli-script.jar from commandline with user parameters Status in Sikuli: Fix Released Bug description: I'm using Sikuli in command line and I pass parameters to Sikuli. Here it goes : java -jar sikuli-script.jar test.sikuli param1 Everything works great except at the end, an exception is thrown : Exception in thread main java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at org.sikuli.script.ScriptRunner.getPyFrom(ScriptRunner.java:97) at org.sikuli.script.ScriptRunner.runPython(ScriptRunner.java:91) at org.sikuli.script.SikuliScript.main(SikuliScript.java:102) You can avoid this exception, when using exit() at the end of the script, but the you get this needless SystemExit exception (bug reported) :-(( To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/801497/+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
[Sikuli-driver] [Bug 876297] Re: x-1.0rc3: IDE: changing target offset in Preview does not trigger script has changed
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/876297 Title: x-1.0rc3: IDE: changing target offset in Preview does not trigger script has changed Status in Sikuli: Fix Released Bug description: ... so if this is the only change you made, you will not be notified to save the script, when leaving the IDE and the change is lost. On Mac: the script has changed sign (black dot in red close button) is not switched on. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/876297/+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
[Sikuli-driver] [Bug 882229] Re: No captura la pantalla
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/882229 Title: No captura la pantalla Status in Sikuli: Fix Released Bug description: Buenas tardes, estoy comenzando con la creacion de la macro y al momento de indicarle al programa que Cree la Region la ventana se cierra y no se activa el comando de seleccion de la region que quiero. No aparece el cuadro selector de regiones. Investige y localize este error: Exception in thread capture java.lang.NoClassDefFoundError: Could not initialize class org.sikuli.script.Win32Util No encuentro una forma para solucionar este conflicto. Espero puedan ayudarme. GRACIAS To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/882229/+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
[Sikuli-driver] [Bug 877450] Re: X-1.0rc3: pattern.exact() fails even when a perfect match exists --- workaround
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/877450 Title: X-1.0rc3: pattern.exact() fails even when a perfect match exists --- workaround Status in Sikuli: Fix Released Bug description: * workaround use Pattern.similar(0.99) -- I am currently using the java Sikuli to verify generated images on the screen, and I need to verify that they are a 100% match (for regression testing). I was using the following code the verify: Pattern exactMatch = new pattern(pathToMasterImage).exact(); boolean result = screen.exists(exactMatch, someTimeout) != null; however, on some images, this would fail. I captured screenshots on the failure and compare the pixels and they were an exact match. I also called a search for the same image immediately after using .similar() and gave it a minimum of a 0% match, which returned a match object with a score of 1.0, so there did exist a 100% match on the screen, but the search for the pattern with a .exact() setting seemed to still fail. Currently running the java portion of sikuli Sikuli-X-1.0rc3 (r905) 32 bit on a win64 system (running 32bit java though) and windows7. Repro for this bug is difficult, but I ran it over a series of images, and roughly 1 in 6 seemed to fail, albeit it was different images that failed (on the same set of images) every time I ran it. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/877450/+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
[Sikuli-driver] [Bug 880895] Re: X-1.0rc3: IDE: Win7 64Bit: Can't capture screenshot using .exe --- workaround
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/880895 Title: X-1.0rc3: IDE: Win7 64Bit: Can't capture screenshot using .exe --- workaround Status in Sikuli: Fix Released Bug description: * workaround: use Sikuli-IDE.bat to start IDE --- Screen captures via the IDE simply doesn't work. The IDE disappears and you simply see the desktop. You then need to kill the java process... It works when running the IDE via Sikuli-IDE.bat It was opened as Bug 575023 But was closed as duplicate of some other bug... Version 1.0RC3 r905 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/880895/+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
[Sikuli-driver] [Bug 877484] Re: [request] increased configuration capability for loading .dll libraries
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/877484 Title: [request] increased configuration capability for loading .dll libraries Status in Sikuli: Fix Released Bug description: I am currently trying to use the java portion of Sikuli for a project I am working on in java developing with eclipse. It runs in with an OSGI framework and on many machines, as such we are unable to modify the path to support the current method for loading the .dll libraries. Increased configuration capabilities for loading the required libraries would solve this problem, such as being able to use a library folder containing all the .dlls (and their required libraries) located in my java project. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/877484/+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
[Sikuli-driver] [Bug 870913] Re: IDE crashes on take screenshot and create region
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/870913 Title: IDE crashes on take screenshot and create region Status in Sikuli: Fix Released Bug description: Version: Sikuli X-1.0rc3 (r905) OS: Windows 7 Enterprise x86 SP1. Install, launch, using JRE 6 u27, navigate to the toolbox, and type click for example, or type click manually and select Take Screenshot or Create Region, all of the options crash the program, so it just closes. It says something about java.io.FileNotFoundException in the user temp folder on a file with some weird name ending in .sikuli, in the next run of Sikuli (see attached screenshot). I tried a workaround to insert previously saved PNG file and it worked, but after copy-pasting the picture somewhere else in the code, it did not run with some other error. Also after that error, java.io.FileNotFoundException stopped happening and I was able to use 'Take screenshot' option and successfully paste a screen cut to the code. Close and reopen Sikuli IDE - same problem as the first time. Thank you. Victor. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/870913/+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
[Sikuli-driver] [Bug 879955] Re: X-1.0rc3: IDE: crash on script open with not existing image referenced in script --- fixed in r931
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/879955 Title: X-1.0rc3: IDE: crash on script open with not existing image referenced in script --- fixed in r931 Status in Sikuli: Fix Released Bug description: ... might happen also at IDE startup, when such a script is restored. ... or when using a string like some-name.png in a context, where it is not an image (e.g. type(some-name.png) ) crash with java.NullPointerException This issue is fixed in latest build version r931. see faq 1766 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/879955/+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
[Sikuli-driver] [Bug 862484] Re: Windows build: the folder name should be Sikuli X
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/862484 Title: Windows build: the folder name should be Sikuli X Status in Sikuli: Fix Released Bug description: currently it is Sikuli-IDE. If it was Sikuli X, you could just drag and drop the folder from the unzipped to the program folder to overwrite the current version. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/862484/+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
[Sikuli-driver] [Bug 858940] Re: X1.0-rc3: IDE: auto indentation ignores tab width preference
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/858940 Title: X1.0-rc3: IDE: auto indentation ignores tab width preference Status in Sikuli: Fix Released Bug description: version: X-1.0rc3 OS: Ubuntu 10.04 64-bit audo indentation should use the tab width preference, currently uses fixed indentation of 4 spaces To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/858940/+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
[Sikuli-driver] [Bug 862650] Re: X-1.0rc3: IDE: preferences cannot be opened with all tabs closed
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/862650 Title: X-1.0rc3: IDE: preferences cannot be opened with all tabs closed Status in Sikuli: Fix Released Bug description: if all tabs are closed, preferences refuse to open with java error: NullPointerException To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/862650/+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
[Sikuli-driver] [Bug 869842] Re: can't support by win7-32bit
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/869842 Title: can't support by win7-32bit Status in Sikuli: Fix Released Bug description: install Sikuli-X-1.0rc3 (r905)-win32 on win7-32bit, but can't capture the object of win7's screen or anything. it seems that sikuli can't support by both win7-32bit and win7-64bit. hope can be fixed, i am looking forward the good news. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/869842/+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
[Sikuli-driver] [Bug 863897] Re: X-1.0rc3: Mac: using java -jar sikuli-script.jar reports error when script ends
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/863897 Title: X-1.0rc3: Mac: using java -jar sikuli-script.jar reports error when script ends Status in Sikuli: Fix Released Bug description: on Mac use this to run a script: java -jar /Applications/Sikuli-IDE.app/Contents/Resources/Java/sikuli- script.jar /path-to-script.sikuli will run the script as expected, but report at the end: [error] Can't run this Sikuli script: /path-to-script.sikuli To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/863897/+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
[Sikuli-driver] [Bug 860412] Re: [request] want preset for input field in input()
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/860412 Title: [request] want preset for input field in input() Status in Sikuli: Fix Released Bug description: In some situations it would be convenient, to pre-populate the input field of input(). So the user might just click ok or make changes To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/860412/+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
[Sikuli-driver] [Bug 860110] Re: [request] IDE: ask whether to save unsaved changes before showing file dialog
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/860110 Title: [request] IDE: ask whether to save unsaved changes before showing file dialog Status in Sikuli: Fix Released Bug description: version: X-1.0rc3 OS: Ubuntu 10.04 1. Type something in the editor pane. 2. Without saving, exit Sikuli Result: The file dialog is shown. If you click Cancel, another dialog is shown, asking you whether you want to save the changes. If you click Yes, the file dialog is shown again. If you click Cancel in the file dialog again, Sikuli exits without saving. Expected result: User is first asked whether she wants to save the changes. If Yes, the file dialog is shown. If no, Sikuli exits without saving. If the file dialog is cancelled, Sikuli exits without saving. (This is how most other programs work.) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/860110/+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
[Sikuli-driver] [Bug 778819] Re: X-1.0rc2: Region spatial operators (nearby, left, right, ...) do not return a Region object --- workaround
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/778819 Title: X-1.0rc2: Region spatial operators (nearby, left, right, ...) do not return a Region object --- workaround Status in Sikuli: Fix Released Bug description: affected is the Python level they seem to return a Region object from the Java level, that cannot be used the same way on the Python level This gives errors when trying to use Region methods with these Regions (like Region.click()) *** workaround cast the region to a Region object on the Python level, e.g. Region(other_region.nearby(100)).click(some-image.png) --- This gives the error above: for ready in region.findAll(status): ready.nearby(100)).click(ok) Note that this also gives the same error: for ready in region.findAll(status): ready = Region(ready) ready.nearby(100).click(ok) Only this one works without `click(): expected 2 args; got 1` error: for ready in region.findAll(status): Region(ready.nearby(100)).click(ok) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/778819/+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
[Sikuli-driver] [Question #194344]: Status of bug #852940 changed to 'Fix Released' in Sikuli
Bug #852940 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/852940 X-1.0rc3: Windows: Cannot run scripts saved at root level --- at least one folder level needed This bug is linked to #194344. Sikuli folder in root directory? --- not possible with rc3(930) https://answers.launchpad.net/sikuli/+question/194344 -- 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 852940] Re: X-1.0rc3: Windows: Cannot run scripts saved at root level --- at least one folder level needed
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/852940 Title: X-1.0rc3: Windows: Cannot run scripts saved at root level --- at least one folder level needed Status in Sikuli: Fix Released Bug description: Every Script that I open errors out with [error] Stopped [error] An error occurs at line 1 [error] Error message: SyntaxError: ('mismatched character \'\\n\' expecting \'\'', ('', 1, 17, 'addModPath(C:\\)\n')) If I create a new script and hit run without saving its fine. The complexity of the script doesnt matter. Just using this causes it popup(hi) Version:1.0rc3 also continuous build 912 OS: 64bit ultimate win 7 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/852940/+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
[Sikuli-driver] [Bug 851754] Re: X 1.0rc3: IDE hangs on startup - problems with saved session [Windows/Mac]
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/851754 Title: X 1.0rc3: IDE hangs on startup - problems with saved session [Windows/Mac] Status in Sikuli: Fix Released Bug description: * fixed with last build r930 see http://sikuli.org/download.shtml *** reason and background This is all happening due to bugs in the new session save feature (at restart: restore IDE window and reopen files, that have been open when quitting IDE before) see faq 1766 additionally there seems to be a bug, that after using File - Open, the tab is named Untitled until you save it again. If you quit the IDE in this situation, you are in the above restart problem (Untitled cannot be reloaded). So for now, until these bugs are fixed: When quitting the IDE, make sure, that all tabs are closed - do not leave any files open. - startup problems with Mac: see comment #1 Windows 7 64Bit The IDE started to freeze on startup. It turned out that I had cleaned up my AppData/Local/Temp directory, where IDE stored some temporary files. The solution was to remove the HKEY_CURRENT_USER\Software\JavaSoft\Prefs\org\sikuli\ide\/I/D/E_/S/E/S/S/I/O/N (IDE_SESSION) value. rc2 does not have this bug. Big thanks for the Sikuli itself! To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/851754/+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
[Sikuli-driver] [Question #202787]: Status of bug #912477 changed to 'Fix Released' in Sikuli
Bug #912477 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/912477 X-1.0rc3: Windows: IDE: Getting unicode decode error if script path contains \x This bug is linked to #202787. UnicodeDecodeError when attempting the most basic command in the Sikuli IDE 1.0rc3 https://answers.launchpad.net/sikuli/+question/202787 -- 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 851833] Re: X-1.0rc3: IDE: sikuli start hangs after first try
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/851833 Title: X-1.0rc3: IDE: sikuli start hangs after first try Status in Sikuli: Fix Released Bug description: *** possible reason and workaround This might happen due to bugs in the new session save feature (at restart: restore IDE window and reopen files, that have been open when quitting IDE before) see faq 1766 additionally there seems to be a bug, that after using File - Open, the tab is named Untitled until you save it again. If you quit the IDE in this situation, you are in the above restart problem (Untitled cannot be reloaded). So for now, until these bugs are fixed: When quitting the IDE, make sure, that all tabs are closed - do not leave any files open. - Sikuli version RC3, Linux x64 (Ubuntu 11.04) RC2 works fine, but in RC3 the IDE just doesn't start on subsequent tries. I open the IDE, load an existing script, run and quit. Then when I want to run the IDE again I get nothing. Running from command line just shows [info] locale: en_US and doesn't go anywhere from there. It's probably a locale related problem because in RC2 the line shows sk_SK (which is right) and just tells me no info for given locale. In RC3 it shows en_US (not right) and hangs. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/851833/+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
[Sikuli-driver] [Bug 851040] Re: Can't run Sikuli from a directory with a space in the name
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/851040 Title: Can't run Sikuli from a directory with a space in the name Status in Sikuli: Fix Released Bug description: I ran across this while setting up a cluster for running Sikuli scripts. I'm using Jenkins as a build queue for running automated tests against my application in a cluster of Mac minis. Instead of trying to keep all of the machines up to date I've opted to have them download the various software components they need from a server. Since the job that I've created had a space in the name I was getting the following error when trying to run Sikuli: /jenkins/workspace/textPlus iOS testing/Sikuli-IDE.app/sikuli-ide.sh: line 4: ./Contents/MacOS/JavaApplicationStub: No such file or directory I had this problem with rc3 (and also encountered it with the version from SVN about 2 days ago). The fix was pretty simple... the references to $0 in the sikuli-ide.sh needed to be quoted instead of bare. I've attached a patch with a fix. I've tested the fix on Mac OS X... I haven't tested it on Linux... but the fix would be the same and I suspect the bug would exist in the same form. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/851040/+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
[Sikuli-driver] [Bug 853744] Re: If the image placed inside a folder has numeric file name, its not taking it as valid file name
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/853744 Title: If the image placed inside a folder has numeric file name, its not taking it as valid file name Status in Sikuli: Fix Released Bug description: hi, images=(C:\images\1.png,C:\images\2.png) icon = [Setting,Schedule,Vacation,Weather] for img in images: if exists(img,0): print exists else: print not found For this piece of code, its not finding the match even if it available on the screen. it printing not found and am getting a error message, as following. [error] C:\images.png looks like a file, but can't be found on the disk. Assume it's text. But when change that filename as icon1.png and icon2.png, it works fine. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/853744/+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
[Sikuli-driver] [Bug 940086] Re: Sikuli close automatically when try to capture screenshot
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/940086 Title: Sikuli close automatically when try to capture screenshot Status in Sikuli: Fix Released Bug description: Version:Sikuli-X-1.0rc3 (r905) OS: Windows XP x32 JRE 6 This is the first time i use Sikuli, so maybe that my issues But i just want to know why I can write sample function ,like--popup().. Steps to reproduce : 1.open Sikuli 2.Click 'Take Screenshot' result: Sikuli closed itself To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/940086/+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
[Sikuli-driver] [Question #178538]: Status of bug #890123 changed to 'Fix Released' in Sikuli
Bug #890123 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/890123 X-1.0rc3: IDE: with: selects whole screen instead of specified region on rerun --- workaround This bug is linked to #178538. IDE: with: selects whole screen instead of specified region on rerun --- workaround https://answers.launchpad.net/sikuli/+question/178538 -- 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 855953] Re: X-1.0rc3: IDE: Shift-Tab deletes image if leftmost --- workaround
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/855953 Title: X-1.0rc3: IDE: Shift-Tab deletes image if leftmost --- workaround Status in Sikuli: Fix Released Bug description: *** happens on all platforms *** situation: -- image is leftmost on line -- 0 up to tab-width - 1 spaces left of image thumbnail -- shift-tab deletes image *** workaround: use x=[image-thumbnail] Using SIkuli 1.0rc3 OS: Windows 7 64 Bit Using SHift-Tab to unindent text will delete an image if ti is the first item on the left of the line. Repro: 1: Open SIluli IDE 1.0rc3 2. Insert an image 3. 0-3 spaces before the image 4. Type Shift+Tab 5. Observe removal image Observed: Using Shift-tab with 0-3 spaces before the left margin will remove an image on that line if it is the first item on the line. Expected: shift tab will never remove images To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/855953/+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
[Sikuli-driver] [Bug 939482] Re: Changing screen setup is not recognized by Sikuli
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/939482 Title: Changing screen setup is not recognized by Sikuli Status in Sikuli: Fix Released Bug description: X-1.0 solution: use Script: getScreen().resetMonitors() Java: Screen.resetMonitors() to reevaluate the monitor configuration on the fly. Existing Region objects might be invalid then. - i have a tilt funktion in my screens, and can change the resolution from 1680 x 1050 to 1050 x 1680. Then the matching preview is not able to detect any thing below 1050 x 700? work around is offcourse to turn screen back to 1680 x 1050. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/939482/+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
[Sikuli-driver] [Bug 917667] Re: X-1.0rc3: Mac: running script from command line (with -r or -t) fails due to spaces in scripts path
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/917667 Title: X-1.0rc3: Mac: running script from command line (with -r or -t) fails due to spaces in scripts path Status in Sikuli: Fix Released Bug description: * workaround ;-) do not store scripts in folders whose path name contains blanks -- Reported before between nose and lips :), but now as a proper bug. If I run a UnitTest script like below: /Applications/Sikuli-IDE.app/sikuli-ide.sh -t /Volumes/Data/OmniHis/Local\ Repositories/Scipio/Projects/Portavita/Testen/SikuliTesten/GUItest.sikuli the test script is not started. I just get the terminal prompt back. Then I copied the test script to the desktop and run the following command on the Terminal the script is run just fine. /Applications/Sikuli-IDE.app/sikuli-ide.sh -t /Users/henkjr/Desktop/GUItest.sikuli With some further testing I discover that Sikuli does not like spaces in folder names the following command is running fine. /Applications/Sikuli-IDE.app/sikuli-ide.sh -t /Volumes/Data/OmniHis/LocalRepositories/Scipio/Projects/Portavita/Testen/SikuliTesten/GUItest.sikuli I am Using Sikuli Version X-1.0rc3 and Mac OS X 10.7.2 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/917667/+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
[Sikuli-driver] [Bug 944687] Re: Windows: do not store scripts in root folder
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/944687 Title: Windows: do not store scripts in root folder Status in Sikuli: Fix Released Bug description: Preconditions: Sikuli: 1.0rc3 v905, and sikuli v930. Win7 on 64bit Steps: 1.Create a script 2.Save the script. Actual result: 1. An error is given : [error] Stopped [error] An error occurs at line 1 [error] Error message: SyntaxError: ('mismatched character \'\\n\' expecting \'\'', ('', 1, 17, 'addModPath(D:\\)\n')) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/944687/+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
[Sikuli-driver] [Question #182206]: Status of bug #914020 changed to 'Fix Released' in Sikuli
Bug #914020 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/914020 X-1.0rc3: Java 7: IDE crashes on taking screenshot --- Java 7 not supported --- workaround This bug is linked to #182206. Windows: Java 7: Exception in thread capture java.lang.StackOverflowError --- Sikuli needs JRE 6 https://answers.launchpad.net/sikuli/+question/182206 -- 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 #191414]: Status of bug #963787 changed to 'Fix Released' in Sikuli
Bug #963787 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/963787 [request] passing arguments with space to Sikuli-IDE-w.bat This bug is linked to #191414. pass an argument that contain more than one space https://answers.launchpad.net/sikuli/+question/191414 -- 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 857446] Re: Renaming an image in IDE sets similarity to 0.00
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/857446 Title: Renaming an image in IDE sets similarity to 0.00 Status in Sikuli: Fix Released Bug description: WIndows 7 64 bit SIkuli x 1.0 RC3 (r905) Renaming an image without adjusting the targeting offset or matching similarity will set the similarity to 0.00 Repro Steps: Open SIkuli IDE, capture any image Click on image and rename it, click OK Observe similarity set to 0.00 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/857446/+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
[Sikuli-driver] [Bug 914806] Re: X-1.0rc3: IDE: command list fully expanded: 'settings' menu not visible
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/914806 Title: X-1.0rc3: IDE: command list fully expanded: 'settings' menu not visible Status in Sikuli: Fix Released Bug description: * workaround: close one or more submenus. - In this case the Sikuli Window must have a height of more than 900 pixels, which might not be possible on small screens (low resolution). Sikuli X- 1.0rc3 (r905) Windows XP 32-bit Steps 1. just open the app and expand all the menus in the left 2. Verify that the options of the last menu Settings are not visible (please see the screenshot) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/914806/+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
[Sikuli-driver] [Bug 858870] Re: [request] IDE: Add Apply button to preferences window
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/858870 Title: [request] IDE: Add Apply button to preferences window Status in Sikuli: Fix Released Bug description: version: X-1.0rc3 OS: Ubuntu 10.04 (64-bit) Feature request: Please add an Apply button in the preferences window that save the preferences but leaves the window open. This would make it easier to tune preferences (i.e. change preference, do something in the IDE to see the effect, change again, etc.). To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/858870/+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
[Sikuli-driver] [Bug 941127] Re: IDE freezes if parenthesis entered in search field
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/941127 Title: IDE freezes if parenthesis entered in search field Status in Sikuli: Fix Released Bug description: Sikuli Version X-1.0rc3 running on Mac OS X Version 10.7.3 - iMac - Intel Core i5 Steps to reproduce: 1. Open Sikuli-IDE 2. Press Cmd-F 3. Type example( into search box The IDE will freeze, preventing you from typing anything further for several seconds. Once it unfreezes, entering any text other than backspacing over the parenthesis mark will result in another temporary freeze. Error text is included below. The IDE appears to be interpreting the text in the search field as an erroneous regular expression, which is nonstandard among OS X GUI applications and unexpected. Even if a regular expression were intended, the freezing and immediate error make it extremely difficult to type. Temporary workaround: Always use a backslash before searching for any string containing parentheses. E.g., to search for example(foo), search instead for example\(foo\). [BEGIN ERROR TEXT] Exception in thread AWT-EventQueue-0 java.util.regex.PatternSyntaxException: Unclosed group near index 8 example( ^ at java.util.regex.Pattern.error(Pattern.java:1713) at java.util.regex.Pattern.accept(Pattern.java:1571) at java.util.regex.Pattern.group0(Pattern.java:2533) at java.util.regex.Pattern.sequence(Pattern.java:1806) at java.util.regex.Pattern.expr(Pattern.java:1752) at java.util.regex.Pattern.compile(Pattern.java:1460) at java.util.regex.Pattern.(Pattern.java:1133) at java.util.regex.Pattern.compile(Pattern.java:823) at org.sikuli.ide.SikuliPane.search(SikuliPane.java:744) at org.sikuli.ide.SikuliIDE$FindAction._find(SikuliIDE.java:1264) at org.sikuli.ide.SikuliIDE$FindAction.findStr(SikuliIDE.java:1273) at org.sikuli.ide.SikuliIDE$4.keyReleased(SikuliIDE.java:524) at java.awt.AWTEventMulticaster.keyReleased(AWTEventMulticaster.java:243) at java.awt.Component.processKeyEvent(Component.java:6334) at javax.swing.JComponent.processKeyEvent(JComponent.java:2801) at java. awt.Component.processEvent(Component.java:6150) at java.awt.Container.processEvent(Container.java:2085) at java.awt.Component.dispatchEventImpl(Component.java:4735) at java.awt.Container.dispatchEventImpl(Container.java:2143) at java.awt.Component.dispatchEvent(Component.java:4565) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676) at java.awt.Component.dispatchEventImpl(Component.java:4607) at java.awt.Container.dispatchEventImpl(Container.java:2143) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4565) at java.awt.EventQueue.dispat chEventImpl(EventQueue.java:679) at java.awt.EventQueue.access$000(EventQueue.java:85) at java.awt.EventQueue$1.run(EventQueue.java:638) at java.awt.EventQueue$1.run(EventQueue.java:636) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$2.run(EventQueue.java:652) at java.awt.EventQueue$2.run(EventQueue.java:650) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:649) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at jav a.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Exception in thread AWT-EventQueue-0 java.util.regex.PatternSyntaxException: Unclosed group near index 8 example( ^ at java.util.regex.Pattern.error(Pattern.java:1713) at java.util.regex.Pattern.accept(Pattern.java:1571) at java.util.regex.Pattern.group0(Pattern.java:2533) at java.util.regex.Pattern.sequence(Pattern.java:1806) at
[Sikuli-driver] [Question #195612]: Status of bug #993062 changed to 'Fix Released' in Sikuli
Bug #993062 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/993062 [request] sikuli-script.jar should handle --args the same way sikuli-ide.jar does This bug is linked to #195612. Passing command line argument using sikuli-script.jar does not work https://answers.launchpad.net/sikuli/+question/195612 -- 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 885975] Re: Exit() closes IDE --- be sure to save before run --- should be done automatically (option)
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/885975 Title: Exit() closes IDE --- be sure to save before run --- should be done automatically (option) Status in Sikuli: Fix Released Bug description: Whenever I run a script that uses Exit() to stop the script, the Sikuli IDE shuts down as well. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/885975/+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
[Sikuli-driver] [Bug 890123] Re: X-1.0rc3: IDE: with: selects whole screen instead of specified region on rerun --- workaround
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/890123 Title: X-1.0rc3: IDE: with: selects whole screen instead of specified region on rerun --- workaround Status in Sikuli: Fix Released Bug description: workaround --- do not use with:, when running script in IDE more than once after IDE start .-- use the region.method() syntax instead --- use command line to run script - using with Region(x,y,w,h): highlight(2) in a script running in the IDE, it seems that this only works as expected, when the script is run the first time after starting the IDE. When running the script a second time, the Region() is ignored and the whole screen used instead. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/890123/+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
[Sikuli-driver] [Bug 893909] Re: [error] Can't create OS Util: org.sikuli.script.Win32Util- exception is thrown whil eusing Sikuli through java
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/893909 Title: [error] Can't create OS Util: org.sikuli.script.Win32Util- exception is thrown whil eusing Sikuli through java Status in Sikuli: Fix Released Bug description: I am running Sikuli through java, by using Sikuli-script.jar, while running the script i get the below exception [error] Can't create OS Util: org.sikuli.script.Win32Util Environment: Windowd 7 (32 bit) Installed JDK 1.6.0.29,jre6 JDK path, JRE path and Sikuli path are given in the system path variable. Issue is observed on Windows7 only and its consistent To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/893909/+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
[Sikuli-driver] [Question #204156]: Status of bug #1028991 changed to 'Fix Released' in Sikuli
Bug #1028991 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/1028991 X-1.0rc3: setFindFailedResponse(PROMPT) does not display image This bug is linked to #204156. setFindFailedResponse(PROMPT) https://answers.launchpad.net/sikuli/+question/204156 -- 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 888715] Re: X-1.0rc3: IDE: will not start anymore on XP SP3 --- workaround
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/888715 Title: X-1.0rc3: IDE: will not start anymore on XP SP3 --- workaround Status in Sikuli: Fix Released Bug description: workaround see faq 1766 Removing HKEY_CURRENT_USER\Software\JavaSoft\Prefs\org\sikuli\ide fixed the problem. -- Summary: Sikilu RC3 used to work on this machine for the past two weeks. This morning it decided to stop working. IDE will not display or start up. What is weird is I can still run my executable script I made before the IDE stopped working. Java Installed: JRE6 Update 27 OS: Windows XP SP3 with latest updates Attempted Work Arounds: I have uninstalled JRE and Sikuli then re installed back on, which did not work. I have tried running the batch files directly instead of the exe or exe short cut which did not work. I have even tried newer JRE6 with Update 29 which did not work I have tried editing the bat file t include the language switch as I have seen in another bug which did not work. I have tried portable versions of Sikuli which did not work. X 1.0 rc3: C:\Documents and Settings\mjava -Dsikuli.console=false -jar C:\Program Files\Sikuli X\sikuli-ide.jar c:\bug.txt Exception in thread main java.lang.NullPointerException at org.sikuli.ide.ImageButton.createThumbnailImage(ImageButton.java:89) at org.sikuli.ide.ImageButton.createThumbnail(ImageButton.java:110) at org.sikuli.ide.ImageButton.createThumbnail(ImageButton.java:116) at org.sikuli.ide.ImageButton.setFilename(ImageButton.java:64) at org.sikuli.ide.ImageButton.createFromString(ImageButton.java:258) at org.sikuli.ide.SikuliPane.replaceWithImage(SikuliPane.java:617) at org.sikuli.ide.SikuliPane.parseLine(SikuliPane.java:568) at org.sikuli.ide.SikuliPane.parseRange(SikuliPane.java:526) at org.sikuli.ide.SikuliPane.parse(SikuliPane.java:543) at org.sikuli.ide.SikuliPane.parse(SikuliPane.java:546) at org.sikuli.ide.SikuliPane.read(SikuliPane.java:427) at org.sikuli.ide.SikuliPane.loadFile(SikuliPane.java:372) at org.sikuli.ide.SikuliIDE.loadFile(SikuliIDE.java:838) at org.sikuli.ide.SikuliIDE.restoreSession(SikuliIDE.java:768) at org.sikuli.ide.SikuliIDE.init(SikuliIDE.java:713) at org.sikuli.ide.SikuliIDE.getInstance(SikuliIDE.java:138) at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:973) Latest continuous build: C:\Documents and Settings\mjava -Dsikuli.console=false -jar C:\Documents and Settings\m\My Documents\Downloads\Sikuli- r930-win32\Sikuli-r930-win32\Sikuli-IDE\sikuli-ide.jar [info] locale: en_US Exception in thread main java.lang.NullPointerException at org.sikuli.ide.ImageButton.createThumbnailImage(ImageButton.java:89) at org.sikuli.ide.ImageButton.createThumbnail(ImageButton.java:110) at org.sikuli.ide.ImageButton.createThumbnail(ImageButton.java:116) at org.sikuli.ide.ImageButton.setFilename(ImageButton.java:64) at org.sikuli.ide.ImageButton.createFromString(ImageButton.java:259) at org.sikuli.ide.SikuliPane.replaceWithImage(SikuliPane.java:629) at org.sikuli.ide.SikuliPane.parseLine(SikuliPane.java:580) at org.sikuli.ide.SikuliPane.parseRange(SikuliPane.java:538) at org.sikuli.ide.SikuliPane.parse(SikuliPane.java:555) at org.sikuli.ide.SikuliPane.parse(SikuliPane.java:558) at org.sikuli.ide.SikuliPane.read(SikuliPane.java:439) at org.sikuli.ide.SikuliPane.loadFile(SikuliPane.java:384) at org.sikuli.ide.SikuliIDE.loadFile(SikuliIDE.java:839) at org.sikuli.ide.SikuliIDE.restoreSession(SikuliIDE.java:769) at org.sikuli.ide.SikuliIDE.init(SikuliIDE.java:713) at org.sikuli.ide.SikuliIDE.getInstance(SikuliIDE.java:138) at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:975) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/888715/+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
[Sikuli-driver] [Question #194353]: Status of bug #993062 changed to 'Fix Released' in Sikuli
Bug #993062 status changed in Sikuli: Fix Committed = Fix Released https://bugs.launchpad.net/sikuli/+bug/993062 [request] sikuli-script.jar should handle --args the same way sikuli-ide.jar does This bug is linked to #194353. How to pass arguments to Sikuli script run without the IDE https://answers.launchpad.net/sikuli/+question/194353 -- 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 897895] Re: [request] Java: Pattern class should retain image on Pattern constructor with an awt.BufferedImage
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/897895 Title: [request] Java: Pattern class should retain image on Pattern constructor with an awt.BufferedImage Status in Sikuli: Fix Released Bug description: The class org.sikuli.script.Pattern does not copy the image for the constructor which takes Pattern as the parameter. public Pattern(Pattern p){ imgURL = p.imgURL; similarity = p.similarity; dx = p.dx; dy = p.dy; } Should also include image = p.image The consequence is that when you do the following: p = new Pattern( bufferedImage ); x = p.similarity( 0.9f ) or x = p.exact() x no longer contains the image. Therefore it is not currently possible to change the similarity when using a Pattern based on an image. Another great thing would be to have a constructor which takes BufferedImage and similarity. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/897895/+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
[Sikuli-driver] [Bug 893772] Re: Windows7 64Bit: Sikuli disappears when Take Screenshot is clicked
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/893772 Title: Windows7 64Bit: Sikuli disappears when Take Screenshot is clicked Status in Sikuli: Fix Released Bug description: Sikuli version X-1.0rc3 (r905) Operating System Windows 7 Enterprise SP1 (64-bit) To reproduce: - Start Sikuli - Press the Take Screenshot button Sikuli disappears but remains running. It can't be used at this point and must be shut down using Task Manager. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/893772/+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
[Sikuli-driver] [Bug 905435] Re: X-1.0rc3: Region.onChange(handler, Integer) should give an error, instead of silently ignoring the Integer
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/905435 Title: X-1.0rc3: Region.onChange(handler, Integer) should give an error, instead of silently ignoring the Integer Status in Sikuli: Fix Released Bug description: * problem using onChange(handler, integer) seems to work, but it is a wrong usage according to the API docs. In fact the second parameter is simply ignored in this case. This usage should give an error. --- The other observations here are due to the fact, that in some cases, a Match object does not work like a Region, which is a known problem. *** workaround cast the Match to a Region: matchRegion = Region(some_match) -- Problem: The Match.onChange() method does not reflect the same behavior as Region.onChange() -- from sikuli.Sikuli import Match def test(event): print event region = Match(100,100,200,200, 2.5) region.onChange(test, 50) region.observe() Traceback (most recent call last): File C:\work\killpy\test.py, line 7, in module region.onChange(test, 50) TypeError: onChange(): 1st arg can't be coerced to int --- Swapping, onChange arguments as follows: region.onChange(50, test) Traceback (most recent call last): File C:\work\killpy\test.py, line 7, in module region.onChange(50, test) TypeError: onChange(): 2nd arg can't be coerced to org.sikuli.script.SikuliEventObserver -- However, the following code does work: -- from sikuli.Sikuli import Region def test(event): print event region = Region(100,100,200,200) region.onChange(test, 50) region.observe() ChangeEvent on Region[100,100 200x200]@Screen(0) E:Y, T:3.0 | 1 changes ChangeEvent on Region[100,100 200x200]@Screen(0) E:Y, T:3.0 | 1 changes --- However this does not reflect the documentation which states the minChangedSize as the 1st argument and the handler as the 2nd argument. In reality it is flipped around. http://sikuli.org/docx/region.html?highlight=onchange#Region.onChange To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/905435/+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
[Sikuli-driver] [Bug 905402] Re: [request] want Region spatial ops version including the ref region
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/905402 Title: [request] want Region spatial ops version including the ref region Status in Sikuli: Fix Released Bug description: based on https://github.com/sikuli/sikuli/issues/6 The Region spacial operators right, left, above, below do not include the region itself, which might be wanted in some situations. So the request is, to add an additional set of operators like: Region.expandRight(range) Region.expandLeft(range) Region.expandAbove(range) Region.expandBelow(range) where the returned new region includes the referenced region. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/905402/+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
[Sikuli-driver] [Bug 905400] Re: [request] want java rectangle features for Region (union, intersection, intersects, contains)
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/905400 Title: [request] want java rectangle features for Region (union, intersection, intersects, contains) Status in Sikuli: Fix Released Bug description: based on https://github.com/sikuli/sikuli/issues/6 and the Java docs http://docs.oracle.com/javase/6/docs/api/java/awt/Rectangle.html these features for the class Region would be helpful: --- return a new region or None Region.union(Region) Region.union(Location) Region.intersection(Region) --- return True or False Region.contains(Region) Region.intersects(Region) Region.contains(Location) Currently these features can be used by casting the Region object to a Java rectangle and back to a Region: regUnion = Region(r0.getRect().union(r1.getRect())) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/905400/+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