← Back to team overview

sikuli-driver team mailing list archive

[Question #265409]: Unable to debug simple Sikuli in Eclipse/Jython

 

New question #265409 on Sikuli:
https://answers.launchpad.net/sikuli/+question/265409

I have been completely unsuccessful trying to get Eclipse to debug with Jython for the simplest script.

I have started with a fresh Eclipse Luna
Installed PyDev and JYthon 2.54rc1
and followed https://github.com/RaiMan/SikuliX-2014/wiki/Usage-in-Java-programming as best I understood.
I got the Java sample program to work fine.
Setup PyDev Interpreter to Jython using JYthon 2.54rc1 interpreter
Added external library:  c:\sikuli\sikulixapi.jar

My program is as simple as it gets:

  import org.sikuli.basics.SikulixForJython
  from sikuli import *
  click("1424743488453.png")

When I run as Jython app
File "C:\sl-dev\bin\sikuli\calculator.sikuli\calculator.py", line 3, in <module>
    click("1424743488453.png")
NameError: name 'click' is not defined

I dont have any old sikuli on the machine nor any sikuli in the environment other than SIKULI_HOME
c:\Users\m\workspace>set | grep -i sikuli
SIKULI_HOME=C:\usrbin\sikuli

Any help would be appreciated.
Thank You


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.