← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #179741]: How to run sikuli script in Eclipse

 

Question #179741 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/179741

Nidere posted a new comment:
Hey there, RaiMan!

I followed all the steps above and in the http://doc.sikuli.org/faq/040-other-ide.html
However, my Eclipse is giving me an error when I try to run any script:

Traceback (most recent call last):
  File "C:\Users\user-c277\workspace\Sikuli\Dakota.py", line 1, in <module>
    from sikuli.Sikuli import *
  File "__pyclasspath__/sikuli$py.class", line 33, in <module>
  File "C:\Users\user-c277\Downloads\sikuli\Screen.py", line 11, in <module>
    import Sikuli
  File "C:\Users\user-c277\Downloads\sikuli\Sikuli.py", line 545, in <module>
    use()
  File "C:\Users\user-c277\Downloads\sikuli\Sikuli.py", line 378, in use
    SCREEN = Screen()
NameError: global name 'Screen' is not defined

What did I do wrong?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.