← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #140246]: Sikuli from robotframework - works in 0.10.2 but not in X

 

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

Sajjad posted a new comment:
Thanks for all the help. When I removed all the other classes from the
classpath I figured out what the problem was. Jython preprocesses all the
jars and caches it. And it uses JAVA_HOME to find the jre's runtime classes.
And in my pc the java_home was set to jre1.6.0 an older version. Thats the
reason it could not find some classes. When I deleted the
C:\jython2.5.1\cachedir\packages folder then I could see that the runtime
was picked up from another folder. Then I set the correct JAVA_HOME and it
works. Thanks.

Sorry for the trouble.

Keep up the good work :)

Grateful Regards,
\Sajjad.

On Wed, Jan 5, 2011 at 6:33 PM, RaiMan <question140246@xxxxxxxxxxxxxxxxxxxxx
> wrote:

> Your question #140246 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/140246
>
> RaiMan posted a new comment:
> Since the message "Event Manager loaded" is missing, the error happens
> during initialization of Sikuli and has nothing to do with your script
> contents.
>
> this is what I would do in your situation:
>
> try to just run a
> from sikuli.Sikuli import *
>
> first try: put sikuli-script.jar in the first place of class path.
>
> and then:
> in your Jython environment remove step by step the entries from class path
> until it works (should do, since you seem to have all as it should be).
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>


-- 
Regards,
\Sajjad.

http://www.babycareindia.com

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