sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #04469
[Question #167497]: Reasking the question present in "141302" with topic Jython + Sikuli.
New question #167497 on Sikuli:
https://answers.launchpad.net/sikuli/+question/167497
Hi,
I am reasking the question asked in "https://answers.launchpad.net/sikuli/+question/141302" with topic Jython + Sikuli.
I have tried the solution given but no luck:
following is my class path
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Windows Imaging\;C:\Application\apache-ant-1.8.2\bin;C:\Program Files\Java\jdk1.6.0_14\bin;C:\Application\PsTools;C:\Application\PsTools\PsExec;C:\Python27\Lib;C:\Python27\Scripts;C:\Python27\Lib\site-packages;C:\Python27\Lib\site-packages\SeleniumLibrary;C:\Python27\Lib\site-packages\robotide\;C:\Python27\Lib\site-packages\robot\;C:\Python27\Lib\site-packages\wx-2.8-msw-unicode;
C:\jython2.5.2\Lib;C:\jython2.5.2\sikuli-script.jar\Lib;C:\jython2.5.2\Lib\site-packages\SeleniumLibrary;C:\jython2.5.2\Lib\site-packages\robotide;C:\jython2.5.2\Lib\site-packages\robot;C:\jython2.5.2\bin;
################################xxxxxxxxxxxxxx#######################
Following is my code:
from __future__ import with_statement
from sikuli.Sikuli import *
click("Legend.png")
##################################xxxxx###########################
Error:
D:\Sikuli\BarCharts.sikuli>jython BarCharts.py
Traceback (most recent call last):
File "BarCharts.py", line 2, in <module>
from sikuli.Sikuli import *
ImportError: No module named sikuli
#############################xxxx##################################
I even tried the unzipping sikuli-script.jar and modifying the script as follows but still no luck
from __future__ import with_statement
import sys
sys.path.append("D:\\sikuli-script\\Lib")
print sys.path
from sikuli.Sikuli import *
click("Legend.png")
##########################xXXXXXXXXXXXXXXXXXXXX######################
Thanks for any help
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.