Re: [Sikuli-driver] [Question #250327]: [error] mouseDown: buttons still pressed - using all
Question #250327 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250327 Status: Open => Answered RaiMan proposed the following answer: just google with Cannot call method from the event dispatcher thread and you will get some hints, what is forbidden and how to solve it -- 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 #250374]: click() fails if the underlying image changes even if I passed it a location to click at?
Question #250374 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250374 Status: Open => Needs information RaiMan requested more information: what version of Sikuli? -- 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 #250286]: HTML TestRunner report NOT showing screenshots
Question #250286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250286 Status: Open => Answered RaiMan proposed the following answer: Sorry, but I have not time, to help you hacking the HTMLTestRunner. You have the sources, so you can look at it and find out how to get what you want. It might be necessary, to understand, how Jython's unittest standard test runner works, too. -- 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 #250392]: Sikuli doesn't work with Mac OSX 10.10
Question #250392 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250392 Status: Open => Answered RaiMan proposed the following answer: interesting ;-) Does sikulixsetup-1.1.jar work? if yes: could you run on a command line with 1.1.0-Beta1: java -jar -d 3 -c ... and could you send the setup log and the command line output silently to my mail at https://launchpad.net/~raimund-hocke -- 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 #250392]: Sikuli doesn't work with Mac OSX 10.10
Question #250392 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250392 Status: Answered => Open Akshay is still having a problem: Thanks for your reply RaiMan, sikulixsetup-1.1.jar doesn't work. & there is no log. For both the versions it just gets hang & does nothing for long time (I waited for more than 10 minutes). -- 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 #250145]: [1.0.1] sikuli-java: Startup error - WinUtil.dll - non standard Java installation
Question #250145 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250145 Pathiyil posted a new comment: After inspecting WinUtil.dll with Dependency Walker (depends.exe), the dependencies seem to be for a few DLLs in JAVA_HOME/jre/bin, JAVA_HOME/jre/bin/server as well as IESHIMS.dll (found in C:\Program Files (x86)\Internet Explorer\), GPSVC.dll and SYSNTFY.dll. On my Win7 64 bit machine, the last two were located in directories under C:\Windows\winsxs After including all these directories in my PATH, the issue was resolved. The surprising thing is that when I was using Eclipse with the same JDK to run the Sikuli tests, I did not face this dependency resolution issue. Will try with a JDK installation under C:\Program Files (x86) to see what the behaviour is. Thanks. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #250392]: Sikuli doesn't work with Mac OSX 10.10
Question #250392 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250392 Status: Open => Needs information RaiMan requested more information: what Java version are you using? what happens on command line when using: java -jar sikulixsetup1.1.jar -- 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 #250145]: [1.0.1] sikuli-java: Startup error - WinUtil.dll - non standard Java installation
Question #250145 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250145 Status: Open => Answered RaiMan proposed the following answer: Might be, that when using Eclipse, some needed environment variables are set in a way, that it works. So you might print out the environment variables when running in Eclipse: import java.util.Map; Map env = System.getenv(); for (String key : env.keySet()) System.out.println(String.format("%s : %s", key, env.get(key))); -- 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 #250392]: Sikuli doesn't work with Mac OSX 10.10
Question #250392 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250392 Gaurav Dwivedi posted a new comment: Hi Raiman , i am also facing the Same Issue . i tried to do what you have Suggested and i am getting following Trace out of that: [debug] SikuliX: [] [debug] Running on Java 6 (1.6.0_65-b14-466.1-11M4716) [debug] --- Sikuli parameters --- [debug] 1: -d [debug] 2: 3 [debug] 3: -c [debug] IDE: Native support found for Mac [debug] IDE: NativeSupportMac: set handler success [debug] locale: en_US [debug] ResourceLoader: SikuliX Package Build: 1.1.0-Beta1 2014-05-30-18 [debug] ResourceLoader: check: we are running on arch: x86_64 [debug] ResourceLoader: check: using Java at: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/ [debug] ResourceLoader: check: Exists libs folder at location of jar? YES: /Users/Jyoti/Desktop/ [debug] ResourceLoader: checkLibsDir: trying: /Users/Jyoti/Desktop/libs [debug] ResourceLoader: loadLib: Now loaded: MacUtil from: /Users/Jyoti/Desktop/libs/libMacUtil.dylib [debug] ResourceLoader: checkLibsDir: Using libs at: /Users/Jyoti/Desktop/libs [debug] Screen: initScreens: basic initialization (1 Screen(s) found) [debug] Screen: *** monitor configuration (primary: 0) *** [debug] Screen: 0: S(0)[0,0 1366x768] [debug] Screen: *** end monitor configuration *** [debug] [I18N] menuShowThumbs Exception in thread "main" java.lang.IllegalArgumentException: cannot add to layout: unknown constraint: LEFT at java.awt.BorderLayout.addLayoutComponent(BorderLayout.java:446) at java.awt.BorderLayout.addLayoutComponent(BorderLayout.java:407) at java.awt.Container.addImpl(Container.java:1073) at java.awt.Container.add(Container.java:926) at org.jdesktop.swingx.prompt.BuddySupport.addToComponentHierarchy(BuddySupport.java:72) at org.jdesktop.swingx.prompt.BuddySupport.ensureBuddiesAreInComponentHierarchy(BuddySupport.java:139) at org.jdesktop.swingx.plaf.TextUIWrapper$DefaultWrapper.replaceUIIfNeeded(TextUIWrapper.java:163) at org.jdesktop.swingx.plaf.TextUIWrapper.install(TextUIWrapper.java:49) at org.jdesktop.swingx.JXSearchField.setUseNativeSearchFieldIfPossible(JXSearchField.java:528) at org.jdesktop.swingx.JXSearchField.(JXSearchField.java:178) at org.sikuli.ide.SikuliIDE.createSearchField(SikuliIDE.java:2093) at org.sikuli.ide.SikuliIDE.initToolbar(SikuliIDE.java:1842) at org.sikuli.ide.SikuliIDE.initSikuliIDE(SikuliIDE.java:362) at org.sikuli.ide.SikuliIDE.getInstance(SikuliIDE.java:394) at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:284) -- 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 #250411]: Sikuli default environment (IDE)
New question #250411 on Sikuli: https://answers.launchpad.net/sikuli/+question/250411 I installed sikuli IDE and everything seems to run fine if I use GUI interactions only. Clearly I must need to do something else because none of the keyboard stuff works. If I try to use the type(key.ENTER) key constant it says it is undefined. So here are the questions. 1) Are all the key constants suppose to function by default on a basic/standard sikuli IDE install? 2) If they are and mine do not then what is most likely the problem? 3) I have seen people write about JAR's and imports(no I am not a programmer)... Do I need to do either of those things to enable a simple ENTER key press or PAGE_DOWN press using the type( )? 4) If I need to do either of those, is it done "inside" the sikuli script or at some global environment(install) level? I am also happy to go read something further but it would be helpful to know what section or page I am looking for since I have not found it. Thank you -- 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 #250411]: Sikuli default environment (IDE)
Question #250411 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250411 Description changed to: I installed sikuli IDE 1.0.1 and everything seems to run fine if I use GUI interactions only. Clearly I must need to do something else because none of the keyboard stuff works. If I try to use the type(key.ENTER) key constant it says it is undefined. So here are the questions. 1) Are all the key constants suppose to function by default on a basic/standard sikuli IDE install? 2) If they are and mine do not then what is most likely the problem? 3) I have seen people write about JAR's and imports(no I am not a programmer)... Do I need to do either of those things to enable a simple ENTER key press or PAGE_DOWN press using the type( )? 4) If I need to do either of those, is it done "inside" the sikuli script or at some global environment(install) level? I am also happy to go read something further but it would be helpful to know what section or page I am looking for since I have not found it. Thank you -- 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 #250374]: click() fails if the underlying image changes even if I passed it a location to click at?
Question #250374 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250374 Status: Needs information => Open Tak Eda gave more information on the question: SikuliX Setup Build: 1.1.0-Beta1 2014-05-30-18 -- 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 #250411]: Sikuli default environment (IDE)
Question #250411 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250411 Description changed to: I installed sikuli IDE 1.0.1 and everything seems to run fine if I use GUI interactions only. Clearly I must need to do something else because none of the keyboard stuff works. If I try to use the type(key.ENTER) key constant it says ('key' is undefined). So here are the questions. 1) Are all the key constants suppose to function by default on a basic/standard sikuli IDE install? 2) If they are and mine do not then what is most likely the problem? 3) I have seen people write about JAR's and imports(no I am not a programmer)... Do I need to do either of those things to enable a simple ENTER key press or PAGE_DOWN press using the type( )? 4) If I need to do either of those, is it done "inside" the sikuli script or at some global environment(install) level? I am also happy to go read something further but it would be helpful to know what section or page I am looking for since I have not found it. Thank you -- 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 #250411]: Sikuli default environment (IDE)
Question #250411 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250411 os ju posted a new comment: I added the following line to the top of my script It was not part of the script. from sikuli.Sikuli import * That made no difference to the ('key' is not defined) error as I still get it. 1) Does that line need to be at the top of every script? Is that the correct way to do it? 2) Is this a bug of 1.0.1? 3) Should I be using the latest beta instead? -- 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 #250411]: Sikuli default environment (IDE)
Question #250411 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250411 Status: Open => Answered RaiMan proposed the following answer: The class is named Key (as you might have seen from the docs), hence ... type(Key.ENTER) BTW: from sikuli import * is only needed in imported scripts. -- 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 #250411]: type(key.ENTER) does not work --- all Sikuli classes start uppercase - hence: Key.ENTER
Question #250411 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250411 Summary changed to: type(key.ENTER) does not work --- all Sikuli classes start uppercase - hence: Key.ENTER -- 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 #250392]: Sikuli doesn't work with Mac OSX 10.10
Question #250392 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250392 Status: Needs information => Answered RaiMan proposed the following answer: seems to be problem with the bundled package org.jdesktop.swingx, which is responsible for the Mac look-and-feel. You might try to use Java 7. I cannot check this currently, since I do not have access to 10.10 pre- release versions. -- 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 #250392]: Sikuli IDE doesn't work with Mac OSX 10.10
Question #250392 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250392 Summary changed to: Sikuli IDE doesn't work with Mac OSX 10.10 -- 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 #250392]: Sikuli IDE doesn't work with Mac OSX 10.10
Question #250392 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250392 RaiMan proposed the following answer: BTW: interactive mode and running scripts from command line should work. -- 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 #250067]: Menus in the Mac OS Menu Bar as targets
Question #250067 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250067 RaiMan posted a new comment: --- Is there a hot-key also for Screen.selectRegion()? currently not. Do you think this is really needed? If yes, pls. report a request bug. -- 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 #250067]: HowTo capture Menus in the Mac OS Menu Bar as targets
Question #250067 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250067 Summary changed to: HowTo capture Menus in the Mac OS Menu Bar as targets -- 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 #189458]: [research] X1.1 Sikuli-script.dll for calling API from .NET
Question #189458 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/189458 tiennen07 proposed the following answer: Ended up putting together a web service that exposes some of the core functionality of Sikuli. Hope it helps -- I know it isn't a direct port, but it works just as easily. https://sourceforge.net/projects/sikuli4net/ -- 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 #250411]: type(key.ENTER) does not work --- all Sikuli classes start uppercase - hence: Key.ENTER
Question #250411 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250411 Status: Answered => Solved os ju confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #250411]: type(key.ENTER) does not work --- all Sikuli classes start uppercase - hence: Key.ENTER
Question #250411 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250411 os ju posted a new comment: well I certainly feel dumb. I think I was just focused on the obvious ENTER being uppercase that I did not even notice the captical K in key. Greatly appreciate you taking the time to answer this. Knew it had to be something simple and it was driving me nuts not knowing. -- 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 #250286]: HTML TestRunner report NOT showing screenshots
Question #250286 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250286 Status: Answered => Solved Raza confirmed that the question is solved: Ok, no problem :) Thanks for your help RaiMan. -- 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 #250295]: [1.1.0-Beta1] Loosing images in comments on saving or when saving seems impossible
Question #250295 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250295 Shengyuan Gu posted a new comment: I met the same issue on 1.1.0 beta1. When I try to save the content in SikuliX IDE, I get the "doSave Error" message on the Message Window, then I try to close the IDE forcibly and open the IDE again, I find that the content is saved actually. My environment: Windows7 32bits java version "1.7.0_60" Java(TM) SE Runtime Environment (build 1.7.0_60-b19) Java HotSpot(TM) Client VM (build 24.60-b09, mixed mode, sharing) Error Message: [error] IDE: Problem when trying to invoke menu action doSave Error: null [error] IDE: Problem when trying to invoke menu action doSave Error: null Exception in thread "MainThread" java.lang.StackOverflowError at java.util.regex.Pattern$Slice.match(Unknown Source) at java.util.regex.Pattern$LazyLoop.match(Unknown Source) at java.util.regex.Pattern$GroupTail.match(Unknown Source) at java.util.regex.Pattern$BranchConn.match(Unknown Source) at java.util.regex.Pattern$CharProperty.match(Unknown Source) at java.util.regex.Pattern$Branch.match(Unknown Source) at java.util.regex.Pattern$GroupHead.match(Unknown Source) at java.util.regex.Pattern$LazyLoop.match(Unknown Source) at java.util.regex.Pattern$GroupTail.match(Unknown Source) at java.util.regex.Pattern$BranchConn.match(Unknown Source) at java.util.regex.Pattern$CharProperty.match(Unknown Source) at java.util.regex.Pattern$Branch.match(Unknown Source) at java.util.regex.Pattern$GroupHead.match(Unknown Source) at java.util.regex.Pattern$LazyLoop.match(Unknown Source) at java.util.regex.Pattern$GroupTail.match(Unknown Source) at java.util.regex.Pattern$BranchConn.match(Unknow n Source) at java.util.regex.Pattern$CharProperty.match(Unknown Source) at java.util.regex.Pattern$Branch.match(Unknown Source) at java.util.regex.Pattern$GroupHead.match(Unknown Source) at java.util.regex.Pattern$LazyLoop.match(Unknown Source) at java.util.regex.Pattern$GroupTail.match(Unknown Source) at java.util.regex.Pattern$BranchConn.match(Unknown Source) at java.util.regex.Pattern$CharProperty.match(Unknown Source) at java.util.regex.Pattern$Branch.match(Unknown Source) at java.util.regex.Pattern$GroupHead.match(Unknown Source) at java.util.regex.Pattern$LazyLoop.match(Unknown Source) at java.util.regex.Pattern$GroupTail.match(Unknown Source) at java.util.regex.Pattern$BranchConn.match(Unknown Source) at java.util.regex.Pattern$BmpCharProperty.match(Unknown Source) at java.util.regex.Pattern$Branch.match(Unknown Source) at java.util.regex.Pattern$GroupHead.match(Unknown Source) at java.util.regex.Pattern$LazyLoop.match(Unknown Source) at java.util.regex.Pattern$GroupTa il.match(Unknown Source) -- 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 #250441]: [1.1.0 beta1] get error while invoke unittest.main()
New question #250441 on Sikuli: https://answers.launchpad.net/sikuli/+question/250441 Run the sample code form unittest document in SikuliX IDE, get a SystemExit error: [error] script [ test ] stopped with error in line 64 [error] SystemExit ( False ) But there is no such issue if run this unit test using TextTestRunner. Below is the sample code. import os import sys import subprocess import random import unittest class TestSequenceFunctions(unittest.TestCase): def setUp(self): self.seq = range(10) #self.proc = subprocess.Popen("explorer", shell=True) #wait(2) def test_shuffle(self): # make sure the shuffled sequence does not lose any elements random.shuffle(self.seq) self.seq.sort() self.assertEqual(self.seq, range(10)) # should raise an exception for an immutable sequence self.assertRaises(TypeError, random.shuffle, (1,2,3)) def test_choice(self): element = random.choice(self.seq) self.assertTrue(element in self.seq) def test_sample(self): with self.assertRaises(ValueError): random.sample(self.seq, 20) for element in random.sample(self.seq, 5): self.assertTrue(element in self.seq) def tearDown(self): pass if __name__ == '__main__': # python -m unittest test unittest.main() # python -m unittest -v test #suite = unittest.TestLoader().loadTestsFromTestCase(TestSequenceFunctions) #unittest.TextTestRunner(verbosity=2).run(suite) -- 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 #250441]: [1.1.0 beta1] get error while invoke unittest.main()
Question #250441 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250441 Description changed to: Run the sample code form unittest document in SikuliX IDE, get a SystemExit error: [error] script [ test ] stopped with error in line 64 [error] SystemExit ( False ) But there is no such issue if run this unit test using TextTestRunner. Below is the sample code. Anyone have any sugesstion? import os import sys import subprocess import random import unittest class TestSequenceFunctions(unittest.TestCase): def setUp(self): self.seq = range(10) #self.proc = subprocess.Popen("explorer", shell=True) #wait(2) def test_shuffle(self): # make sure the shuffled sequence does not lose any elements random.shuffle(self.seq) self.seq.sort() self.assertEqual(self.seq, range(10)) # should raise an exception for an immutable sequence self.assertRaises(TypeError, random.shuffle, (1,2,3)) def test_choice(self): element = random.choice(self.seq) self.assertTrue(element in self.seq) def test_sample(self): with self.assertRaises(ValueError): random.sample(self.seq, 20) for element in random.sample(self.seq, 5): self.assertTrue(element in self.seq) def tearDown(self): pass if __name__ == '__main__': # python -m unittest test unittest.main() # python -m unittest -v test #suite = unittest.TestLoader().loadTestsFromTestCase(TestSequenceFunctions) #unittest.TextTestRunner(verbosity=2).run(suite) -- 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 1331924] [NEW] Sikuli deletes images on save
Public bug reported: Using Sikuli 1.1.0 Beta1 on RHEL6.4 x86_64 I have a 400 line proprietary script, containing the order of 50 images. When I save the script, Sikuli deletes all but 10 of the images. I have been working with 3 scripts open simultaneously. I don't know if this is a contributing factor. I have taken to running a background backup. When Sikuli deletes the images, I copy them back from the backup, and all is well. I have lost many images and it is difficult to re-generate them to put back in the script folder! I am sorry I am not able to send you a reproduction. I ran sikuli with -d 3 and obtained the following log information during a save: [debug] JythonScriptRunner: Convert Sikuli source code /home/user/Testing/Test2.sikuli/ to HTML [debug] IDE: save: used image: 1403056258247.png [debug] IDE: save: used image: 1403056290127.png [debug] IDE: save: used image: 1403050468739.png [debug] IDE: save: used image: 1403061243112.png [debug] IDE: save: used image: 1403050284708.png [debug] IDE: save: used image: 1403136266208.png [debug] IDE: save: used image: 1403136266208.png [debug] IDE: save: used image: 1403136618390.png [debug] IDE: save: used image: 1403136652270.png [debug] IDE: save: used image: 1403050468739.png [debug] IDE: save: used image: 1403050393540.png [debug] IDE: save: used image: 1403050468739.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152455426.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152475762.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152497537.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152591105.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152605569.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152615849.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152633025.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152691144.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152730344.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152820808.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152849544.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152864391.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152906455.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403153044783.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403153081414.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154274008.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154288784.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154746509.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154877285.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403155015060.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403155506674.png Many of those images are used, so it seems that there is a defect in deciding that an image is not used. ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1331924 Title: Sikuli deletes images on save Status in Sikuli: New Bug description: Using Sikuli 1.1.0 Beta1 on RHEL6.4 x86_64 I have a 400 line proprietary script, containing the order of 50 images. When I save the script, Sikuli deletes all but 10 of the images. I have been working with 3 scripts open simultaneously. I don't know if this is a contributing factor. I have taken to running a background backup. When Sikuli deletes the images, I copy them back from the backup, and all is well. I have lost many images and it is difficult to re-generate them to put back in the script folder! I am sorry I am not able to send you a reproduction. I ran sikuli with -d 3 and obtained the following log information during a save: [debug] JythonScriptRunner: Convert Sikuli source code /home/user/Testing/Test2.sikuli/ to HTML [debug] IDE: save: used image: 1403056258247.png [debug] IDE: save: used image: 1403056290127.png [debug] IDE: save: used image: 1403050468739.png [debug] IDE: save: used image: 1403061243112.png [debug] IDE: save: used image: 1403050284708.png [debug] IDE: save: used image: 1403136266208.png [debug] IDE: save: used image: 1403136266208.png [debug] IDE: save: used image: 1403136618390.png [debug] IDE: save: used image: 1403136652270.png [debug] IDE: save: used image: 1403050468739.png [debug] IDE: save: used image: 1403050393540.png [debug] IDE: save
[Sikuli-driver] [Bug 1331924] Re: Sikuli deletes images on save
Please note that Sikuli also deletes images that are referenced by commented out code. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1331924 Title: Sikuli deletes images on save Status in Sikuli: New Bug description: Using Sikuli 1.1.0 Beta1 on RHEL6.4 x86_64 I have a 400 line proprietary script, containing the order of 50 images. When I save the script, Sikuli deletes all but 10 of the images. I have been working with 3 scripts open simultaneously. I don't know if this is a contributing factor. I have taken to running a background backup. When Sikuli deletes the images, I copy them back from the backup, and all is well. I have lost many images and it is difficult to re-generate them to put back in the script folder! I am sorry I am not able to send you a reproduction. I ran sikuli with -d 3 and obtained the following log information during a save: [debug] JythonScriptRunner: Convert Sikuli source code /home/user/Testing/Test2.sikuli/ to HTML [debug] IDE: save: used image: 1403056258247.png [debug] IDE: save: used image: 1403056290127.png [debug] IDE: save: used image: 1403050468739.png [debug] IDE: save: used image: 1403061243112.png [debug] IDE: save: used image: 1403050284708.png [debug] IDE: save: used image: 1403136266208.png [debug] IDE: save: used image: 1403136266208.png [debug] IDE: save: used image: 1403136618390.png [debug] IDE: save: used image: 1403136652270.png [debug] IDE: save: used image: 1403050468739.png [debug] IDE: save: used image: 1403050393540.png [debug] IDE: save: used image: 1403050468739.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152455426.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152475762.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152497537.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152591105.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152605569.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152615849.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152633025.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152691144.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152730344.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152820808.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152849544.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152864391.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152906455.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403153044783.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403153081414.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154274008.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154288784.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154746509.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154877285.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403155015060.png [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403155506674.png Many of those images are used, so it seems that there is a defect in deciding that an image is not used. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1331924/+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