[1.0.1] Eclipse: PythonPlugin: [error] Sikuli Jython API already on sys.path .....

Asked by Parn Yin

When using Sikuli in Eclipse, I often found this message in the beginning of the console:

[error] Sikuli Jython API already on sys.path, but not from sikuli-basics.jar
[error] Found here: C:\SikuliX\sikuli-java\Lib\sikuli\Sikuli.py

However, I can't find the sikuli-basics.jar in Sikuli 1.0.1's package.
Excuse me, what should I do please?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
RaiMan Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

You have extracted the Lib/sikuli folder and put it on python path in your project (I guess to have auto complete).

Just ignore this message - you seem to know what you are doing ;-)

or remove/comment the
import org.sikuli.basics.SikuliForJython
when running in the IDE

When running outside the IDE with plain Jython having this import active will add the jar internal Lib/sikuli to Python path (so you would not have to do it)

But as said, you might simply ignore this convenience feature for the moment.
I will revise it to be more consistent and explaining.

Revision history for this message
Parn Yin (pyin) said :
#2

Thanks RaiMan, that solved my question.