Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Status: Answered = Open
Andrew Munro is still having a problem:
Ok confirmed that I could get it working in the jython shell, however I
want it to execute and run my script with a single .bat
I tried:
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Status: Open = Answered
RaiMan proposed the following answer:
no need to run a ready script using sikuli-ide.bat
try this:
java -cp sqlite-jdbc.jar;c:\Program Files\Sikuli X\sikuli-script.jar
-jar
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
RaiMan posted a new comment:
or even this (since sikuli-script.jar is already in cp):
java -cp sqlite-jdbc.jar;c:\Program Files\Sikuli X\sikuli-script.jar
org.sikuli.script.SikuliScript run_suite.sikuli
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Andrew Munro posted a new comment:
Nope, still can't find the driver. Im confused now, I thought I had to
add jython to my cp or something?
Using:
%JAVA_EXE% -cp
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Status: Solved = Open
Andrew Munro is still having a problem:
Ok, I tried this:
%JAVA_EXE% -Xms64M -Xmx512M -cp sqlite-jdbc.jar;Sikuli-X-1.0rc3\Sikuli-
IDE\sikuli-script.jar -jar jython.jar
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Status: Answered = Solved
Andrew Munro confirmed that the question is solved:
Ok, I tried this:
%JAVA_EXE% -Xms64M -Xmx512M -cp sqlite-jdbc.jar;Sikuli-X-1.0rc3\Sikuli-
IDE\sikuli-script.jar -jar
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Status: Open = Answered
RaiMan proposed the following answer:
what about suggestion in comment #14 ?
and this might work
java -cp sqlite-jdbc.jar;c:\Program Files\Sikuli X\sikuli-script.jar
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
RaiMan posted a new comment:
ok, tomorrow now is today ;-)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
RaiMan requested more information:
Again:
If you send me the download link for the driver, I will check tomorrow on my
Win 7
--
You received this question notification because you are a member of
Sikuli
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Andrew Munro posted a new comment:
http://code.google.com/p/sqlite-jdbc/
Driver works fine because it worked in the jython shell :3
--
You received this question notification because you are a member of
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Andrew Munro confirmed that the question is solved:
Thanks RaiMan, that solved my question.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Status: Answered = Solved
Andrew Munro confirmed that the question is solved:
Hey it works
%JAVA_EXE% -Xms64M -Xmx512M -cp sqlite-jdbc.jar;Sikuli-X-1.0rc3\Sikuli-
IDE\sikuli-script.jar
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
RaiMan posted a new comment:
always welcome ;-)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Status: Solved = Open
Andrew Munro is still having a problem:
Hey, so after reading through the documentation, I tried two methods to
import my java class.
The first being :
%JAVA_EXE% -Xms64M
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Status: Open = Answered
RaiMan proposed the following answer:
ok, now you are ready for question
https://answers.launchpad.net/sikuli/+question/202408
ok, just a joke ;-)
simply forgot about that
--
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Status: Answered = Solved
Andrew Munro confirmed that the question is solved:
... how did my searching not find this -_-
too early in the morning. Sorry :)
--
You received this question notification
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
RaiMan posted a new comment:
sometimes it is the trick, that you know what to search for ;-)
all the best.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Status: Solved = Open
Andrew Munro is still having a problem:
Ok, tried experimenting for the last hour and still can't get this to
work..(either windows command files suck or I do xD)
My normal bat
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Andrew Munro gave more information on the question:
Exception in thread main java.lang.NoClassDefFoundError:
org/python/util/jython
Caused by: java.lang.ClassNotFoundException: org.python.util.jython
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Status: Open = Answered
RaiMan proposed the following answer:
--- I do not understand the last part %1.sikuli/%1.py.
Since you are using the Jython interpreter directly, you have to give it the
.py
New question #207739 on Sikuli:
https://answers.launchpad.net/sikuli/+question/207739
I tried to import sqlite3 into sikuli only to find I was getting import errors.
After digging around a bit, it seems sqlite3 does not work in jython (correct
me if im wrong?).
Anyway, does anyone know of
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Status: Open = Answered
RaiMan proposed the following answer:
look http://wiki.python.org/jython/DatabaseExamples
--
You received this question notification because you are a member of
Sikuli Drivers,
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Status: Answered = Open
Andrew Munro is still having a problem:
Thanks, almost got it working. Are there any JDBC drivers built in to
the sikuli jython instance or do I have to add my own.
If not,
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Status: Open = Answered
RaiMan proposed the following answer:
Jython does not come with any DB drivers. Have to be added via class
path parameter ( -cp on java command).
see:
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739
Status: Answered = Solved
Andrew Munro confirmed that the question is solved:
Thanks RaiMan, that solved my question.
--
You received this question notification because you are a member of
Sikuli
25 matches
Mail list logo