← 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

    Status: Answered => Open

Prateek Sahu is still having a problem:
Thanks RaiMan..
I had already follwed steps you mentioned in your last answer...

now when I am running the follwing script and an error is coming

import sys
print "before Sikuli"
for e in sys.path: print e
from sikuli.Sikuli import *
print "after Sikuli"
for e in sys.path: print e


before Sikuli
D:\projects\prj-parameters\Coding\workspace1\eBA
C:\jython2.2.1\Lib
D:\projects\prj-parameters\Coding\workspace1\eBA
C:\sikuli-script\Lib
C:\Program Files\Sikuli X\sikuli-script.jar
D:\projects\prj-parameters\Coding\eclipseconf\dropins\PyDev 2.2.4\plugins\org.python.pydev_2.2.4.2011110216\PySrc
C:\jython2.2.1
D:\tools\com\sun\java\jdk\1.5.0_16\jre\lib\rt.jar
D:\tools\com\sun\java\jdk\1.5.0_16\jre\lib\jsse.jar
D:\tools\com\sun\java\jdk\1.5.0_16\jre\lib\jce.jar
D:\tools\com\sun\java\jdk\1.5.0_16\jre\lib\charsets.jar
D:\tools\com\sun\java\jdk\1.5.0_16\jre\lib\ext\dnsns.jar
D:\tools\com\sun\java\jdk\1.5.0_16\jre\lib\ext\localedata.jar
D:\tools\com\sun\java\jdk\1.5.0_16\jre\lib\ext\sunjce_provider.jar
D:\tools\com\sun\java\jdk\1.5.0_16\jre\lib\ext\sunpkcs11.jar
__classpath__
Traceback (innermost last):
  File "D:\projects\prj-parameters\Coding\workspace1\eBA\s1.py", line 4, in ?
  File "C:\sikuli-script\Lib\sikuli\__init__.py", line 3, in ?
  File "C:\sikuli-script\Lib\sikuli\Sikuli.py", line 7
SyntaxError: future feature with_statement is


Please help....

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