Re: [Sikuli-driver] [Question #658440]: Java crash while running sikuli tests
Question #658440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658440 gregory gave more information on the question: After running test on CentOS I moved to Ubuntu. I got same error but also I can see The crashed program seems to use third-party or local libraries: /home/test00/sikuli/libs/libVisionProxy.so /home/test00/sikuli/libs/libJXGrabKey.so It is highly recommended to check if the problem persists without those first. Do you want to continue the report process anywayThe crashed program seems to use third-party or local libraries: /home/test00/sikuli/libs/libVisionProxy.so /home/test00/sikuli/libs/libJXGrabKey.so It is highly recommended to check if the problem persists without those first. Sikuli version is 1.0.1. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #658647]: The quote value (155.5) in the non editable textbox can we read using Sikuli
New question #658647 on Sikuli: https://answers.launchpad.net/sikuli/+question/658647 My Application is based on Windows SWT based and using XUL framework. when we select the different values the quote value dynamically changes : 1. Can you help me know if from the non editable text box the value can be read by sikuli and if that is dynamic value how to handle it 2. in the same page we have many non editable textboxes resembling similar with different values too Please help us to understand how Sikuli help us to automate dynamic values in the non editable text boxes -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #658505]: Installing Sikuki 1.1.1 on Fedora 26
Question #658505 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658505 RaiMan posted a new comment: thanks. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #637765]: Sikuli Framework - Issue in using switch statement to perform the actions from different .py file
Question #637765 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/637765 Status: Answered => Solved Varun Palani confirmed that the question is solved: Thanks masuo, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #658613]: issues when using Python logging module in sikuli
Question #658613 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658613 Status: Open => Answered TestMechanic proposed the following answer: Try to change logger.setLevel(logging.DEBUG) to logger.setLevel(10) See here - https://docs.python.org/2/library/logging.html#logging-levels -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #658440]: Java crash while running sikuli tests
Question #658440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658440 gregory gave more information on the question: Using java 1.8 last update 144 I am having # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x003a6ccf, pid=3568, tid=0xb7790b70 # # JRE version: Java(TM) SE Runtime Environment (8.0_144-b01) (build 1.8.0_144-b01) # Java VM: Java HotSpot(TM) Server VM (25.144-b01 mixed mode linux-x86 ) # Problematic frame: # C [libawt_xawt.so+0x41ccf] ReadRegionsInList+0x3ff # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. I thought using region was helping me but then it still failed. The main issue is that is works (rarely but is works). I do not really know what to do. Here is more traces with java frame stack Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j sun.awt.X11.XRobotPeer.getRGBPixelsImpl(Lsun/awt/X11GraphicsConfig;[I)V+0 j sun.awt.X11.XRobotPeer.getRGBPixels(Ljava/awt/Rectangle;)[I+33 j java.awt.Robot.createScreenCapture(Ljava/awt/Rectangle;)Ljava/awt/image/BufferedImage;+50 j org.sikuli.script.RobotDesktop.captureScreen(Ljava/awt/Rectangle;)Lorg/sikuli/script/ScreenImage;+2 j org.sikuli.script.ScreenUnion.capture(Ljava/awt/Rectangle;)Lorg/sikuli/script/ScreenImage;+174 j sun.reflect.GeneratedMethodAccessor21.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+40 J 2544 C1 sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (10 bytes) @ 0xa8e8c484 [0xa8e8c3a0+0xe4] J 2554 C1 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (62 bytes) @ 0xa8e9909c [0xa8e98d80+0x31c] J 2607 C1 org.python.core.PyReflectedFunction.__call__(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject; (239 bytes) @ 0xa8ecd0f4 [0xa8ecc0e0+0x1014] J 3364 C1 org.python.core.PyReflectedFunction.__call__([Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject; (47 bytes) @ 0xa88690d8 [0xa8868ec0+0x218] J 3224 C1 org.python.core.PyObject.__call__(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; (20 bytes) @ 0xa87aa644 [0xa87aa300+0x344] J 4016 C1 org.python.core.PyObject.__call__(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; (7 bytes) @ 0xa8b41544 [0xa8b41460+0xe4] J 3212 C1 org.python.core.PyMethod.__call__(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; (32 bytes) @ 0xa8962f6c [0xa8962d80+0x1ec] j sikuli.Sikuli$py.capture$14(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;+476 j sikuli.Sikuli$py.call_function(ILorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;+176 J 3889 C1 org.python.core.PyTableCode.call(Lorg/python/core/ThreadState;Lorg/python/core/PyFrame;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; (299 bytes) @ 0xa89e7614 [0xa89e71a0+0x474] J 3983 C1 org.python.core.PyBaseCode.call(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; (722 bytes) @ 0xa8a30908 [0xa8a2bb00+0x4e08] J 2004 C1 org.python.core.PyBaseCode.call(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; (98 bytes) @ 0xa8d04cb8 [0xa8d04980+0x338] J 2003 C1 org.python.core.PyFunction.__call__(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; (22 bytes) @ 0xa8d046d8 [0xa8d04660+0x78] j Output$py.take_screenshot$4(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;+102 J 3765 C1 Output$py.call_function(ILorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; (214 bytes) @ 0xa8793b90 [0xa8793600+0x590] J 3889 C1 org.python.core.PyTableCode.call(Lorg/python/core/ThreadState;Lorg/python/core/PyFrame;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; (299 bytes) @ 0xa89e7614 [0xa89e71a0+0x474] J 3983 C1 org.python.core.PyBaseCode.call(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; (722 bytes) @ 0xa8a30908 [0xa8a2bb00+0x4e08] J 2004 C1
Re: [Sikuli-driver] [Question #658596]: Lower pattern match within a loop on repeat
Question #658596 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658596 Manfred Hampl proposed the following answer: If I interpret your question correctly, then you are looking for something like print('1st loop') mySimilarity = 1.0 while True: if exists(Pattern("1505851538186.png").similar(mySimilarity)): print('found 1st image at 1st loop with similarity %f') % mySimilarity break elif exists(Pattern("1521782392359.png").similar(mySimilarity)): print('found 2nd image at 1st loop with similarity %f') % mySimilarity break else: print('none of the images found at the 1st loop') mySimilarity = mySimilarity - 0.05 # reduce by 5% continue hover(getLastMatch()) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp