← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #661362]: Setup PyCharm

 

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

Jeff_Vallis posted a new comment:
So got hello world to work but failing miserably in getting an existing
sikuli script into and working

Created a blank project called "Sailing"
Made sure that Environment variables : CLASSPATH=/Applications/Sikuli/sikulixapi.jar
and  Python interpretor : Jython 2.7

In Finder added an existing Sikuli Script in the "Sailing" Folder

in PyCharm
added at the start of the Sikuli Script :-
import org.sikuli.script.SikulixForJython
from sikuli import *
popup("hello world")
exit(0)

Just to make sure that it ignore the remaining code
Check interpreter and CLASSPATH again

same error

conclusion:-
I am doing something wrong - Hello World works fine - Sailing fails

Will spend more time tomorrow trying to find out where I am failing

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