Re: [Sikuli-driver] [Question #132445]: Reading / writing to a file in sikuli

2012-06-19 Thread Alex Nilsson
Question #132445 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/132445

Alex Nilsson posted a new comment:
Of course, doh! That seems to do 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 1014870] Re: C [VisionProxy.dll] creates EXCEPTION_ACCESS_VIOLATION

2012-06-19 Thread RaiMan
I stripped down the error log a little bit.

It seems, that you are using onChange(some text) in the region !?
Seems to be some null-pointer problem.

Post the respective part of your code, where you define and use the
observer, so I can have a look at it.

** Description changed:

  Sikuli Version:
  RaiMan's Observer mod (using sikuli_script.jar and Observer), built off of 
Sikuli X rc3
  
  I'm using Java and incorporting the Sikuli observer to monitor a region.
  Here is the Java dump when it fatals:
  
  [info] Windows utilities loaded.
  [RaiMan] observer started
  [info] Sikuli vision engine loaded.
  [info] Text Recognizer inited.
  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x034c3ba0, pid=5544, 
tid=5620
  #
  # JRE version: 6.0_31-b05
  # Java VM: Java HotSpot(TM) Client VM (20.6-b01 mixed mode, sharing 
windows-x86
  )
  # Problematic frame:
  # C  [VisionProxy.dll+0x93ba0]
  #
- # An error report file with more information is saved as:
- # C:\Documents and Settings\me\Desktop\dist\hs_err_pid5544.log
- #
- # If you would like to submit a bug report, please visit:
- #   http://java.sun.com/webapps/bugreport/crash.jsp
- # The crash happened outside the Java Virtual Machine in native code.
- # See problematic frame for where to report the bug.
- #
- 
- 
- 
- Here is the contents of hs_err_pid5544.log:
- 
- 
- 
- #
- # A fatal error has been detected by the Java Runtime Environment:
- #
- #  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x034c3ba0, pid=5544, 
tid=5620
- #
- # JRE version: 6.0_31-b05
- # Java VM: Java HotSpot(TM) Client VM (20.6-b01 mixed mode, sharing 
windows-x86 )
- # Problematic frame:
- # C  [VisionProxy.dll+0x93ba0]
- #
- # If you would like to submit a bug report, please visit:
- #   http://java.sun.com/webapps/bugreport/crash.jsp
- # The crash happened outside the Java Virtual Machine in native code.
- # See problematic frame for where to report the bug.
- #
- 
- ---  T H R E A D  ---
- 
- Current thread (0x02cedc00):  JavaThread Thread-2 [_thread_in_native,
- id=5620, stack(0x033e,0x0343)]
- 
- siginfo: ExceptionCode=0xc005, reading address 0x0412c000
- 
- Registers:
- EAX=0x0034, EBX=0x, ECX=0x, EDX=0x03fa0020
- ESP=0x0342e4f8, EBP=0x, ESI=0x000317fc, EDI=0x
- EIP=0x034c3ba0, EFLAGS=0x00010246
- 
- Top of Stack: (sp=0x0342e4f8)
- 0x0342e4f8:   0342e902 0001 0342e900 0342e568
- 0x0342e508:   034c42d3 03fa0020 0002770f 
- 0x0342e518:   0034  0342e8d4 
- 0x0342e528:   0001 0342e6e8 03da5230 034c4af7
- 0x0342e538:   03fa0020 0342e568 0001 
- 0x0342e548:   03da4928  0001 03da46a0
- 0x0342e558:   0342e78c 0342e830 034c4eb3 03fa0020
- 0x0342e568:   0002770f  0005 0342e900 
- 
- Instructions: (pc=0x034c3ba0)
- 0x034c3b80:   83 c4 04 8b 54 24 14 81 3c f2 00 f8 ff ff 75 07
- 0x034c3b90:   83 7c f2 04 ff 74 3e 8b 6c 24 24 eb 03 8d 49 00
- 0x034c3ba0:   8b 0c f2 81 e1 ff 00 00 00 3b c8 75 13 85 ed 74
- 0x034c3bb0:   31 8b 0c f2 81 e1 00 04 00 00 33 ff 0b cf 75 22 
- 
- 
- Register to memory mapping:
- 
- EAX=0x0034 is an unknown value
- EBX=0x is an unknown value
- ECX=0x is an unknown value
- EDX=0x03fa0020 is an unknown value
- ESP=0x0342e4f8 is pointing into the stack for thread: 0x02cedc00
- EBP=0x is an unknown value
- ESI=0x000317fc is an unknown value
- EDI=0x is an unknown value
- 
- 
  Stack: [0x033e,0x0343],  sp=0x0342e4f8,  free space=313k
  Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native 
code)
  C  [VisionProxy.dll+0x93ba0]
  
  [error occurred during error reporting (printing native stack), id
  0xc005]
  
  Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
  j  
org.sikuli.script.natives.VisionProxyJNI.Vision_recognize(JLorg/sikuli/script/natives/Mat;)Ljava/lang/String;+0
  j  
org.sikuli.script.natives.Vision.recognize(Lorg/sikuli/script/natives/Mat;)Ljava/lang/String;+5
  j  
org.sikuli.script.TextRecognizer.recognize(Ljava/awt/image/BufferedImage;)Ljava/lang/String;+13
  j  
org.sikuli.script.TextRecognizer.recognize(Lorg/sikuli/script/ScreenImage;)Ljava/lang/String;+7
  j  org.sikuli.script.Region.text()Ljava/lang/String;+35
  j  
streamerscraper.StreamerScraperStock.targetChanged(Lorg/sikuli/script/ChangeEvent;)V+100
  J  
org.sikuli.script.EventManager.callChangeObserver(Lorg/sikuli/script/natives/FindResults;)V
  j  
org.sikuli.script.EventManager.checkChanges(Lorg/sikuli/script/ScreenImage;)V+66
  J  org.sikuli.script.Region.observe(D)V
  j  org.sikuli.script.Region$1.run()V+8
  v  ~StubRoutines::call_stub
  
- ---  P R O C E S S  ---
- 
- Java Threads: ( = current thread )
-   0x003b6800 JavaThread DestroyJavaVM [_thread_blocked, id=5560, 
stack(0x0099,0x009e)]
- =0x02cedc00 JavaThread Thread-2 [_thread_in_native, 

Re: [Sikuli-driver] [Question #200666]: Error when trying to find image using eclipse Java

2012-06-19 Thread RaiMan
Question #200666 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200666

Status: Open = Answered

RaiMan proposed the following answer:
This seems to be some conflict with using Java.AWT.Robot (used in s.hover() to 
move the mouse) inside of a swing event handler, but I do not have any 
knowledge about that.
might be necessary, to dispatch the run in its own subprocess. 

But this generally means, that the Sikuli features seems to be accessible now 
in your environment.
Try to run with this instead of hover:

s.find(./img/SignOn.png).highlight(2)

or

System.out.println( s.find(./img/SignOn.png) )

-- 
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 949808] Re: [request] Ubuntu 12.04: Sikuli should work with OpenCV 2.3

2012-06-19 Thread RaiMan
So what did libcv2.1 install on your system?

Are there any libcv... files somewhere?

what about ibcvaux.so.2.1 and libhighgui.so.2.1? are they in some other
directory?

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/949808

Title:
  [request] Ubuntu 12.04: Sikuli should work with OpenCV 2.3

Status in Sikuli:
  New

Bug description:
  Failed to import the module sikuli.Sikuli in jython in Ubuntu 12.04,
  it seems that it depends on opencv2.1 however opencv2.3 is installed
  in Ubuntu 12.04.

  Error:
   File /home/administrator/Linux/lib/clientgui.py, line 4, in module
  from sikuli_utils import *
    File /home/administrator/Linux/lib/sikuli_utils.py, line 6, in module
  from sikuli.Sikuli import *
    File /home/administrator/Linux/lib/sikuli_utils.py, line 6, in module
  from sikuli.Sikuli import *
    File /home/administrator/Linux/lib/libsikuli/sikuli/__init__.py, line 1, 
in module
  from Sikuli import *
    File /home/administrator/Linux/lib/libsikuli/sikuli/Sikuli.py, line 20, 
in module
  from org.sikuli.script import Finder
  java.lang.UnsatisfiedLinkError: /tmp/tmplib/libVisionProxy.so: libml.so.2.1: 
cannot open shared object file: No such file or directory
   at java.lang.ClassLoader$NativeLibrary.load(Native Method)
   at java.lang.ClassLoader.loadLibrary0(Unknown Source)
   at java.lang.ClassLoader.loadLibrary(Unknown Source)
   at java.lang.Runtime.load0(Unknown Source)
   at java.lang.System.load(Unknown Source)
   at 
com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44)
   at org.sikuli.script.Finder.clinit(Finder.java:28)

   and more stuff

  java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError:
  /tmp/tmplib/libVisionProxy.so: libml.so.2.1: cannot open shared object
  file: No such file or directory File

  Installed Packages can be found in the attachment packages.txt.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/949808/+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 #199894]: Roadmap

2012-06-19 Thread dinev
Question #199894 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/199894

dinev posted a new comment:
RaiMan, I am interested 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 #199894]: Roadmap

2012-06-19 Thread Ben Sullivan
Question #199894 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/199894

Ben Sullivan gave more information on the question:
Gimme gimme gimme

;-)

-- 
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 #199255]: bug on focus() or switchApp?

2012-06-19 Thread Launchpad Janitor
Question #199255 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/199255

Status: Open = Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
You received this question notification because 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 #199894]: Roadmap

2012-06-19 Thread RaiMan
Question #199894 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/199894

Status: Open = Answered

RaiMan proposed the following answer:
LOL ;-) I am interested too (sorry, I am not the developer).

But I redirected the question to the developer.

-- 
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 #200870]: Key Modifiers not working ?

2012-06-19 Thread Tony Becker
New question #200870 on Sikuli:
https://answers.launchpad.net/sikuli/+question/200870

Hi, I have read various questions relating to Key Modifiers but nothing I do 
seems to work.

I am trying to click into a field, highlight the entire contents of the field 
and delete it prior to entering my own value.

thus my code look slike this;

click( image ) #this works ok
type( Key.HOME )
type( Key.END, KeyModifier.SHIFT )
type( Key.BACKSPACE )

Unfortunately the SHIFT does not seem to take, so instead of highlighting the 
contents of the field the cursor just moves to the end of the field.

What am I doing wrong?



-- 
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 #143874]: keyDown(Key.SHIFT) not working on Win with Num-Lock on -- switch it off ; -)

2012-06-19 Thread RaiMan
Question #143874 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/143874

Description changed to:
 it is a Java bug, but there is a workaround

Unfortunately, this is a bug of Java robot and we may not be able to fix
it.
(http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=cfc56061b7ccaa1709a312de159d4?bug_id=4908075)

A workaround is to turn off the num lock.
There will be a new API Env.isLockOn() in RC2 to get the state of locking keys. 
So one can use Env.isLockOn(Key.NUM_LOCK) to know the state of the num lock, 
and then use type(Key.NUM_LOCK) to turn it off if needed.

-

I have this same script for Mac and Windows. On Mac, it works as
expected, but it looks like the shift key isn't pressed on Windows.

Have notepad open with text asdf and run the code below:
keyDown(Key.SHIFT)
type(Key.LEFT)
type(Key.LEFT)
type(Key.LEFT)
keyUp(Key.SHIFT)

It should highlight sdf, but on Windows, it only moves the cursor
between a and s as if it only moved left 3 times without shift key
down.

Is this a bug? Any work around?

-- 
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 #200870]: Key Modifiers not working ?

2012-06-19 Thread RaiMan
Question #200870 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200870

Status: Open = Answered

RaiMan proposed the following answer:
see question https://answers.launchpad.net/sikuli/+question/143874

-- 
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 #200870]: Key Modifiers not working ?

2012-06-19 Thread Tony Becker
Question #200870 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200870

Tony Becker posted a new comment:
Aha! A known problem. Thank you for this. Just loving Sikuli btw.
Amazing!

-- 
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 #200870]: Key Modifiers not working ?

2012-06-19 Thread Tony Becker
Question #200870 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200870

Status: Answered = Solved

Tony Becker 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


[Sikuli-driver] [Question #200875]: Sikuli-IDE exits even once i clicked on the Take Screenshots

2012-06-19 Thread Ram
New question #200875 on Sikuli:
https://answers.launchpad.net/sikuli/+question/200875

Hi,


Sikuli-IDE exits even once i clicked on the Take Screen-shots , even i launched 
the application from sikuli.bat .. the problem is same..

PC: Window 7 

Please do needful 
~R

-- 
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 #200875]: Sikuli-IDE exits even once i clicked on the Take Screenshots

2012-06-19 Thread RaiMan
Question #200875 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200875

Status: Open = Answered

RaiMan proposed the following answer:
Java 7? does not work

see faq 1766

-- 
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 #200874]: Exiting a function, in an imported module.

2012-06-19 Thread RaiMan
Question #200874 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200874

Status: Open = Answered

RaiMan proposed the following answer:
to clarify: you say: calling the modules in turn.
this is misunderstandable:
- a module is imported (if it contains code outside of def(s) or class(), this 
code is executed once at import time)
- you then call the functions or use the classes contained in the module for 
execution
- depending on the import form all defined names are added to the calling 
global namespace (from x import *)

--- signaling termination (e.g. for breaking a loop) from inside a 
module.function
you have to return an appropriate return value, that is checked by the caller
e.g.
def myFunction():
# some code here
if all_is_ok: return True # or some suitable value
else: return false

# only side effects
while True:
if not myFunction(): break

or

# needing the return value:
while True:
ret = myFunction()
if not ret: break
print ret

--- But I get an error in the reload line
reload works all over the place - so what error do you get?

--- declare a global variable across modules
- 1. If you make Sikuli scripts, the option to use Sikuli's Settings class is 
the easiest solution.
In the Python sense, these are not global variables, but attributes in a 
globally available Sikuli class.
recommended: Settings.myGlobal = True (hence use a unique prefix)

-2. If you do not like that:
- make module myGlobals
- containing
myGlobal1 = True
...
- and use from myGlobals import * in every module including main, that needs 
access to these global variables.
- take care: inside of def()'s and classes, global variables are only readable. 
If they are to be assigned something, you have to say
global myGlobal1
myGlobal1 = False
otherwise myGlobal1 is an unknown local variable (error).

So solution 1 is easier and more flexible, since it is always clear what
is meant: Settings.myGlobal1

-- 
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 #200752]: Sikuli IDE deletes PNG files, whose filename strings cannot be found in the script, when saving the script

2012-06-19 Thread Human
Question #200752 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200752

Status: Answered = Solved

Human confirmed that the question is solved:
The workaround worked after fixing up some syntax issues :)  (Need a
closed paren for the addImagePath line, and need to put the directory
name in quotes.)

For now, I think this is an acceptable workaround. Some redesign would
be required to solve this any other way.

-- 
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 #200874]: Exiting a function, in an imported module.

2012-06-19 Thread Alex Nilsson
Question #200874 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200874

Status: Answered = Solved

Alex Nilsson confirmed that the question is solved:
1. The use of return solved the issue.
2. I'm an idiot sorry, I used reload outside a loop and with nothing in the 
module but functions, no code was executed and hence I got an error msg. Put 
the reloade inside the while loop and now it works.
3. That was easy..the Settings class works like a charm, think I'm just tired, 
spent a few hours messing with it and it seems it was less complicated than I 
thought, thanks for the missing pieces of the puzzle.. :-)

-- 
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 #200874]: Exiting a function, in an imported module.

2012-06-19 Thread Alex Nilsson
Question #200874 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200874

Alex Nilsson 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


[Sikuli-driver] [Question #200884]: Sikuli able to read tests from a table

2012-06-19 Thread Ramona Suciu
New question #200884 on Sikuli:
https://answers.launchpad.net/sikuli/+question/200884

Hi,

I am trying to set up an automation environment where my automation tool would 
be able to read test scenarios from a wiki like page (like Atlassian 
Confluence) and run those scenarios, as written in the Confluence tables (see 
Cucumber for example).

Is Sikuli able to do this at this point (a Google search hasn't helped much 
with this)? Would it be able to perform something similar in the future?

Thanks and have a great day,
Ramona

-- 
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 #200884]: Sikuli able to read tests from a table

2012-06-19 Thread RaiMan
Question #200884 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200884

Status: Open = Answered

RaiMan proposed the following answer:
to sort things out:

-- table
this is a table displayed on a webpage containing some rows and colums with 
borders and each cell containing some text

-- would be able to read test scenarios
you want to make a Sikuli script, that reads these table cells (I guess row 
by row), understand the test scenario and run the appropriate test (using 
what ever test tool ;-)

Sikuli itself currently only adds some visual search options, some
basic OCR features and mouse/keyboard actions as a module/jar either to
a Jython script or a Java program.

So what would be possible (but rather complex and even very complex if
the web page has to be scrolled): click/tab somehow through the table
and extract the cell contents either with OCR or GUI-copy.

after having read the required cells: the rest is standard Jython/Java
programming.

If you provide an example screenshot of such a table, I can tell you in more 
detail what is possible 
(mail-option - https://launchpad.net/~raimund-hocke)

Generally in these cases it is worth thinking about directly analyzing
the web page source after downloading it into a script/program using xml
based parsing or similar options.

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 1014870] Re: C [VisionProxy.dll] creates EXCEPTION_ACCESS_VIOLATION

2012-06-19 Thread asdf jkl;
Thanks for your reply.  Please find below a stripped down version of my
class:


public final class Example implements SikuliEventObserver {
private final Region test;

public Example(Region r)
{
this.test = r;

//on a single pixel change, trigger onChange
this.test.onChange(1, this);
this.test.observeInBackground();
}

public void targetAppeared(AppearEvent ae) {
throw new UnsupportedOperationException(Not supported yet.);
}

public void targetVanished(VanishEvent ve) {
throw new UnsupportedOperationException(Not supported yet.);
}

public void targetChanged(ChangeEvent ce) {
String myText = this.test.text();

/*
 * insert into our db
 */
this.dbInsert(myText);
}
}


To address some possible immediate concerns you might have:

I used 
this.test.onChange(1, this); 
in the constructor and passed this into the onChange function because that's 
what implements the observer.  i saw no other way to do it.

i gave
this.test.observeInBackground();
the large value to keep it running forever.  i saw no function for Java (saw 
one for Python) that allowed the observer to observe in the background forever. 
 i restart the java app every week or so.

so, essentially whenever the observer detects a 1 pixel change in the
region, it calls the onChange event which grabs the text and puts it
into a database.  i have to use the OCR capability because the
application i'm monitoring doesn't have a normal windows control, and i
can't use Sikuli's getText capability.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1014870

Title:
  C [VisionProxy.dll] creates EXCEPTION_ACCESS_VIOLATION

Status in Sikuli:
  New

Bug description:
  Sikuli Version:
  RaiMan's Observer mod (using sikuli_script.jar and Observer), built off of 
Sikuli X rc3

  I'm using Java and incorporting the Sikuli observer to monitor a
  region.  Here is the Java dump when it fatals:

  [info] Windows utilities loaded.
  [RaiMan] observer started
  [info] Sikuli vision engine loaded.
  [info] Text Recognizer inited.
  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x034c3ba0, pid=5544, 
tid=5620
  #
  # JRE version: 6.0_31-b05
  # Java VM: Java HotSpot(TM) Client VM (20.6-b01 mixed mode, sharing 
windows-x86
  )
  # Problematic frame:
  # C  [VisionProxy.dll+0x93ba0]
  #
  Stack: [0x033e,0x0343],  sp=0x0342e4f8,  free space=313k
  Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native 
code)
  C  [VisionProxy.dll+0x93ba0]

  [error occurred during error reporting (printing native stack), id
  0xc005]

  Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
  j  
org.sikuli.script.natives.VisionProxyJNI.Vision_recognize(JLorg/sikuli/script/natives/Mat;)Ljava/lang/String;+0
  j  
org.sikuli.script.natives.Vision.recognize(Lorg/sikuli/script/natives/Mat;)Ljava/lang/String;+5
  j  
org.sikuli.script.TextRecognizer.recognize(Ljava/awt/image/BufferedImage;)Ljava/lang/String;+13
  j  
org.sikuli.script.TextRecognizer.recognize(Lorg/sikuli/script/ScreenImage;)Ljava/lang/String;+7
  j  org.sikuli.script.Region.text()Ljava/lang/String;+35
  j  
streamerscraper.StreamerScraperStock.targetChanged(Lorg/sikuli/script/ChangeEvent;)V+100
  J  
org.sikuli.script.EventManager.callChangeObserver(Lorg/sikuli/script/natives/FindResults;)V
  j  
org.sikuli.script.EventManager.checkChanges(Lorg/sikuli/script/ScreenImage;)V+66
  J  org.sikuli.script.Region.observe(D)V
  j  org.sikuli.script.Region$1.run()V+8
  v  ~StubRoutines::call_stub

  VM Arguments:
  java_command: StreamerScraper.jar 5
  Launcher Type: SUN_STANDARD

  Environment Variables:
  CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
  PATH=C:\Program Files\ATI 
Stream\bin\x86;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
 Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program 
Files\Java\jdk1.6.0_22\bin\;C:\Program Files\QuickTime\QTSystem\;C:\Program 
Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL 
Server\100\DTS\Binn\;C:\Program Files\Sikuli X\libs;C:\Program 
Files\Java\jre6\\bin
  USERNAME=me
  OS=Windows_NT
  PROCESSOR_IDENTIFIER=x86 Family 15 Model 107 Stepping 2, AuthenticAMD

  ---  S Y S T E M  ---

  OS: Windows XP Build 2600 Service Pack 3

  CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 107
  stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow,
  3dnowext

  Memory: 4k page, physical 3406888k(2348932k free), swap
  5335432k(4039836k free)

  vm_info: Java HotSpot(TM) Client VM (20.6-b01) for windows-x86 JRE
  (1.6.0_31-b05), built on Feb  3 2012 18:44:09 by java_re with MS
  VC++ 7.1 (VS2003)

  time: Mon Jun 18 

[Sikuli-driver] [Bug 1014870] Re: C [VisionProxy.dll] creates EXCEPTION_ACCESS_VIOLATION

2012-06-19 Thread RaiMan
---  i saw no other way to do it.
see question for a possible inline implementation (this was the base for the 
modified siculi-script.jar.

--- forever
yes a constant FOREVER is not available on the Java level

--- exception 
since the exception definitely has something to do with OCR, the observe itself 
seems to work, since OCR is only used in the handler.
I will try to make an appropriate test case for me tomorrow and come back then

BTW: and i can't use Sikuli's getText capability.
What are you talking about? Region.text() *is* Sikuli's getText feature.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1014870

Title:
  C [VisionProxy.dll] creates EXCEPTION_ACCESS_VIOLATION

Status in Sikuli:
  New

Bug description:
  Sikuli Version:
  RaiMan's Observer mod (using sikuli_script.jar and Observer), built off of 
Sikuli X rc3

  I'm using Java and incorporting the Sikuli observer to monitor a
  region.  Here is the Java dump when it fatals:

  [info] Windows utilities loaded.
  [RaiMan] observer started
  [info] Sikuli vision engine loaded.
  [info] Text Recognizer inited.
  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x034c3ba0, pid=5544, 
tid=5620
  #
  # JRE version: 6.0_31-b05
  # Java VM: Java HotSpot(TM) Client VM (20.6-b01 mixed mode, sharing 
windows-x86
  )
  # Problematic frame:
  # C  [VisionProxy.dll+0x93ba0]
  #
  Stack: [0x033e,0x0343],  sp=0x0342e4f8,  free space=313k
  Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native 
code)
  C  [VisionProxy.dll+0x93ba0]

  [error occurred during error reporting (printing native stack), id
  0xc005]

  Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
  j  
org.sikuli.script.natives.VisionProxyJNI.Vision_recognize(JLorg/sikuli/script/natives/Mat;)Ljava/lang/String;+0
  j  
org.sikuli.script.natives.Vision.recognize(Lorg/sikuli/script/natives/Mat;)Ljava/lang/String;+5
  j  
org.sikuli.script.TextRecognizer.recognize(Ljava/awt/image/BufferedImage;)Ljava/lang/String;+13
  j  
org.sikuli.script.TextRecognizer.recognize(Lorg/sikuli/script/ScreenImage;)Ljava/lang/String;+7
  j  org.sikuli.script.Region.text()Ljava/lang/String;+35
  j  
streamerscraper.StreamerScraperStock.targetChanged(Lorg/sikuli/script/ChangeEvent;)V+100
  J  
org.sikuli.script.EventManager.callChangeObserver(Lorg/sikuli/script/natives/FindResults;)V
  j  
org.sikuli.script.EventManager.checkChanges(Lorg/sikuli/script/ScreenImage;)V+66
  J  org.sikuli.script.Region.observe(D)V
  j  org.sikuli.script.Region$1.run()V+8
  v  ~StubRoutines::call_stub

  VM Arguments:
  java_command: StreamerScraper.jar 5
  Launcher Type: SUN_STANDARD

  Environment Variables:
  CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
  PATH=C:\Program Files\ATI 
Stream\bin\x86;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
 Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program 
Files\Java\jdk1.6.0_22\bin\;C:\Program Files\QuickTime\QTSystem\;C:\Program 
Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL 
Server\100\DTS\Binn\;C:\Program Files\Sikuli X\libs;C:\Program 
Files\Java\jre6\\bin
  USERNAME=me
  OS=Windows_NT
  PROCESSOR_IDENTIFIER=x86 Family 15 Model 107 Stepping 2, AuthenticAMD

  ---  S Y S T E M  ---

  OS: Windows XP Build 2600 Service Pack 3

  CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 107
  stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow,
  3dnowext

  Memory: 4k page, physical 3406888k(2348932k free), swap
  5335432k(4039836k free)

  vm_info: Java HotSpot(TM) Client VM (20.6-b01) for windows-x86 JRE
  (1.6.0_31-b05), built on Feb  3 2012 18:44:09 by java_re with MS
  VC++ 7.1 (VS2003)

  time: Mon Jun 18 09:36:35 2012
  elapsed time: 28617 seconds

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1014870/+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 1014870] Re: C [VisionProxy.dll] creates EXCEPTION_ACCESS_VIOLATION

2012-06-19 Thread RaiMan
the question is: https://answers.launchpad.net/sikuli/+question/187435

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1014870

Title:
  C [VisionProxy.dll] creates EXCEPTION_ACCESS_VIOLATION

Status in Sikuli:
  New

Bug description:
  Sikuli Version:
  RaiMan's Observer mod (using sikuli_script.jar and Observer), built off of 
Sikuli X rc3

  I'm using Java and incorporting the Sikuli observer to monitor a
  region.  Here is the Java dump when it fatals:

  [info] Windows utilities loaded.
  [RaiMan] observer started
  [info] Sikuli vision engine loaded.
  [info] Text Recognizer inited.
  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x034c3ba0, pid=5544, 
tid=5620
  #
  # JRE version: 6.0_31-b05
  # Java VM: Java HotSpot(TM) Client VM (20.6-b01 mixed mode, sharing 
windows-x86
  )
  # Problematic frame:
  # C  [VisionProxy.dll+0x93ba0]
  #
  Stack: [0x033e,0x0343],  sp=0x0342e4f8,  free space=313k
  Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native 
code)
  C  [VisionProxy.dll+0x93ba0]

  [error occurred during error reporting (printing native stack), id
  0xc005]

  Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
  j  
org.sikuli.script.natives.VisionProxyJNI.Vision_recognize(JLorg/sikuli/script/natives/Mat;)Ljava/lang/String;+0
  j  
org.sikuli.script.natives.Vision.recognize(Lorg/sikuli/script/natives/Mat;)Ljava/lang/String;+5
  j  
org.sikuli.script.TextRecognizer.recognize(Ljava/awt/image/BufferedImage;)Ljava/lang/String;+13
  j  
org.sikuli.script.TextRecognizer.recognize(Lorg/sikuli/script/ScreenImage;)Ljava/lang/String;+7
  j  org.sikuli.script.Region.text()Ljava/lang/String;+35
  j  
streamerscraper.StreamerScraperStock.targetChanged(Lorg/sikuli/script/ChangeEvent;)V+100
  J  
org.sikuli.script.EventManager.callChangeObserver(Lorg/sikuli/script/natives/FindResults;)V
  j  
org.sikuli.script.EventManager.checkChanges(Lorg/sikuli/script/ScreenImage;)V+66
  J  org.sikuli.script.Region.observe(D)V
  j  org.sikuli.script.Region$1.run()V+8
  v  ~StubRoutines::call_stub

  VM Arguments:
  java_command: StreamerScraper.jar 5
  Launcher Type: SUN_STANDARD

  Environment Variables:
  CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
  PATH=C:\Program Files\ATI 
Stream\bin\x86;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
 Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program 
Files\Java\jdk1.6.0_22\bin\;C:\Program Files\QuickTime\QTSystem\;C:\Program 
Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL 
Server\100\DTS\Binn\;C:\Program Files\Sikuli X\libs;C:\Program 
Files\Java\jre6\\bin
  USERNAME=me
  OS=Windows_NT
  PROCESSOR_IDENTIFIER=x86 Family 15 Model 107 Stepping 2, AuthenticAMD

  ---  S Y S T E M  ---

  OS: Windows XP Build 2600 Service Pack 3

  CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 107
  stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow,
  3dnowext

  Memory: 4k page, physical 3406888k(2348932k free), swap
  5335432k(4039836k free)

  vm_info: Java HotSpot(TM) Client VM (20.6-b01) for windows-x86 JRE
  (1.6.0_31-b05), built on Feb  3 2012 18:44:09 by java_re with MS
  VC++ 7.1 (VS2003)

  time: Mon Jun 18 09:36:35 2012
  elapsed time: 28617 seconds

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1014870/+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 1014870] Re: C [VisionProxy.dll] creates EXCEPTION_ACCESS_VIOLATION

2012-06-19 Thread asdf jkl;
Haha, I actually found that question which is how I arrived to this
issue, since I used your sikuli_update.zip implementation.  I'll try the
OP's method, see how it goes.


With regard to your BTW comment,
http://sikuli.org/blog/2010/05/06/extract-text-with-clipboard/

is what I can't do.  I kinda guessed that it was called getText but I
guess it is an entire implementation.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1014870

Title:
  C [VisionProxy.dll] creates EXCEPTION_ACCESS_VIOLATION

Status in Sikuli:
  New

Bug description:
  Sikuli Version:
  RaiMan's Observer mod (using sikuli_script.jar and Observer), built off of 
Sikuli X rc3

  I'm using Java and incorporting the Sikuli observer to monitor a
  region.  Here is the Java dump when it fatals:

  [info] Windows utilities loaded.
  [RaiMan] observer started
  [info] Sikuli vision engine loaded.
  [info] Text Recognizer inited.
  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x034c3ba0, pid=5544, 
tid=5620
  #
  # JRE version: 6.0_31-b05
  # Java VM: Java HotSpot(TM) Client VM (20.6-b01 mixed mode, sharing 
windows-x86
  )
  # Problematic frame:
  # C  [VisionProxy.dll+0x93ba0]
  #
  Stack: [0x033e,0x0343],  sp=0x0342e4f8,  free space=313k
  Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native 
code)
  C  [VisionProxy.dll+0x93ba0]

  [error occurred during error reporting (printing native stack), id
  0xc005]

  Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
  j  
org.sikuli.script.natives.VisionProxyJNI.Vision_recognize(JLorg/sikuli/script/natives/Mat;)Ljava/lang/String;+0
  j  
org.sikuli.script.natives.Vision.recognize(Lorg/sikuli/script/natives/Mat;)Ljava/lang/String;+5
  j  
org.sikuli.script.TextRecognizer.recognize(Ljava/awt/image/BufferedImage;)Ljava/lang/String;+13
  j  
org.sikuli.script.TextRecognizer.recognize(Lorg/sikuli/script/ScreenImage;)Ljava/lang/String;+7
  j  org.sikuli.script.Region.text()Ljava/lang/String;+35
  j  
streamerscraper.StreamerScraperStock.targetChanged(Lorg/sikuli/script/ChangeEvent;)V+100
  J  
org.sikuli.script.EventManager.callChangeObserver(Lorg/sikuli/script/natives/FindResults;)V
  j  
org.sikuli.script.EventManager.checkChanges(Lorg/sikuli/script/ScreenImage;)V+66
  J  org.sikuli.script.Region.observe(D)V
  j  org.sikuli.script.Region$1.run()V+8
  v  ~StubRoutines::call_stub

  VM Arguments:
  java_command: StreamerScraper.jar 5
  Launcher Type: SUN_STANDARD

  Environment Variables:
  CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
  PATH=C:\Program Files\ATI 
Stream\bin\x86;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
 Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program 
Files\Java\jdk1.6.0_22\bin\;C:\Program Files\QuickTime\QTSystem\;C:\Program 
Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL 
Server\100\DTS\Binn\;C:\Program Files\Sikuli X\libs;C:\Program 
Files\Java\jre6\\bin
  USERNAME=me
  OS=Windows_NT
  PROCESSOR_IDENTIFIER=x86 Family 15 Model 107 Stepping 2, AuthenticAMD

  ---  S Y S T E M  ---

  OS: Windows XP Build 2600 Service Pack 3

  CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 107
  stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow,
  3dnowext

  Memory: 4k page, physical 3406888k(2348932k free), swap
  5335432k(4039836k free)

  vm_info: Java HotSpot(TM) Client VM (20.6-b01) for windows-x86 JRE
  (1.6.0_31-b05), built on Feb  3 2012 18:44:09 by java_re with MS
  VC++ 7.1 (VS2003)

  time: Mon Jun 18 09:36:35 2012
  elapsed time: 28617 seconds

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1014870/+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] [Bug 1013814] Re: Take a screen shot on Ubuntu 10.04 SikuliX-1rc3 does not work

2012-06-19 Thread Mark Donohoe
On 06/16/2012 12:57 AM, RaiMan wrote:
 Seems to be a 64-Bit Linux??
 Have the 64-Bit version of Sikuli installed, guess so;-)

 In terminal window pls. enter

 java -jar path-to-sikuli-script.jar -i

 which should open an interactive Sikuli command line session

 enter:

 print capture()

 this is the command behind the auto-screenshot-feature in the IDE.

 What happens? what is the printout on command line?

RaiMan,

I figured it out.  One issue was that I did not have opencv installed.  
That took a bit of work.  I would have thought that Sikuli would have 
checked some how.  Once I got opencv going running the above worked 
fine.  I then ran the ide and have been having fun with my first gui 
test script. Sweet!

A note for the documentors, it is much easier to get something to work 
when using a browser by using the App.open.  In fact I could not get the 
images recognized even if I had the focus in the correct browser tab. 
(e.g. click(), etc... for a new user using knowing about wait is really 
important too.

Thanks again for the quick replies.  This app is finally given me a 
reason to use the python I learned. :-)

___
RR (Mark Donohoe)

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1013814

Title:
  Take a screen shot on Ubuntu 10.04 SikuliX-1rc3 does not work

Status in Sikuli:
  New

Bug description:
  Using the latest Sikiuli rc3 (r905) on Ubuntu 10.04 take a screen shot
  appears to work the first time, but no image is inserted into the IDE.
  This is using FF 13.

  To reproduce:
  1. Launch the Sikuli IDE
  2. insert click(
  3. Take a screen shot of a button
  4. Notice that there is no image inserted into the ide.
  5. After this, take a screen shot seems to do nothing (it will not longer 
change the screen and change the cursor etc...)

  This is a 64 bit system.  I keep my system up to date with updates and
  security patches.  This is also a dual monitor system, but having the
  ide on the same screen or a different screen doesn't seem to make any
  difference in the above operation.  The same version of Sikuli seems
  to work fine on windows with IE 8 using the laptop screen.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1013814/+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 #200666]: Error when trying to find image using eclipse Java

2012-06-19 Thread Djg
Question #200666 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200666

Status: Answered = Solved

Djg 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


[Sikuli-driver] [Question #200949]: Save As... in Mac OS vX-1.0rc3 not working

2012-06-19 Thread Bob Breeding
New question #200949 on Sikuli:
https://answers.launchpad.net/sikuli/+question/200949

Just lost an afternoon's work of writing and debugging. Having gotten 
everything the way I wanted it, I did two Save As... saves of the script. When 
I reopened them a minute later to do a demo, the scripts were not there in 
their entirety. Instead I found versions  from before I started today and all 
the additional code gone - from both files.  I had the full scripts in the 
foreground pane, having just run them, and used the FILE  SAVE AS... command 
to create a new file and replace an existing one.

Anyone else run into this?  Particular to Mac OS?  Is there a new version past 
1.0rc3? (I would like to use the default park in the INPUT command as well.

Well, back to work. At least I know what to put back in.

Cheers

-- 
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 #200951]: i am not able to click on a text which exists twice on the same page

2012-06-19 Thread ujwala
New question #200951 on Sikuli:
https://answers.launchpad.net/sikuli/+question/200951

I am new to sikuli please help to resolve this issue
my UI is something like enter a text in the search edit box and press search 
button .Once u find the text in the search list click on the text.

Sikuli is pointing to the text which i entered in the search edit box.


-- 
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 988253] Re: Mac: Error while building sikuli from source --- TIFF_LIBS not found

2012-06-19 Thread Nobuhiro Iwamatsu
Hi,

I am package maintianer of opencv in Debian.
I comment about SURF and surf_extractor.

SURF (and other) component move to non-free module from opencv 2.4.
Because these  indicate possible legal issues of using those algorithms in user 
applications.
If you want to use these component, you need to link nonfree library.

And some Linux distribution (Debian and Ubuntu) stops providing these.
By this, sikuli can not build with opencv package.
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678230 

If possible, you need to consider these substitution.

Best regards,
  Nobuhrio


** Bug watch added: Debian Bug tracker #678230
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678230

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/988253

Title:
  Mac: Error while building sikuli from source --- TIFF_LIBS not found

Status in Sikuli:
  New

Bug description:
  Hi,

  I'm trying to build from sikuli source code in Mac. I have installed
  all the pre installed softwares which were mentioned in build_mac.txt

  while running the below commands in terminal, for the command 5 mentioned 
below , CMake error is getting throned.
  ---
  -- Found Tesseract 
  NATIVE_LIBS: VisionProxy;VDictProxy;MacUtil;MacHotkeyManager
  CMake Error: The following variables are used in this project, but they are 
set to NOTFOUND.
  Please set them or make sure they are set and tested correctly in the CMake 
files:
  TIFF_LIBS
  linked by target MacHotkeyManager in directory 
/Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native
  linked by target MacUtil in directory 
/Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native
  linked by target VDictProxy in directory 
/Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native
  linked by target VDictProxy in directory 
/Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native
  linked by target VisionProxy in directory 
/Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native

  -- Configuring incomplete, errors occurred!
  --

  
  1. make a build directory in sikuli-script/
mkdir sikuli-script/build

  2. generate makefiles with CMake
cd sikuli-script/build
cmake ..

  3. build sikuli-script
make

  4. make a build directory in sikuli-ide/
cd ../.. # go back to the top directory
mkdir sikuli-ide/build

  5. generate makefiles of Sikuli-IDE with CMake
cd sikuli-ide/build
cmake ..

  
  Could some one can help on how to resolve the error? and how to proceed 
further...

  
  Thanks,
  Kumar

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/988253/+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 #200951]: i am not able to click on a text which exists twice on the same page

2012-06-19 Thread ujwala
Question #200951 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200951

Status: Open = Solved

ujwala confirmed that the question is solved:
the problem is solved i have given the wait() command now its working
fine

type(earch text box,ujuj)
click(search button)
wait(1)
click(text image)

-- 
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