sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #10793
Re: [Question #196872]: Script Sikuli in Eclipse - pythonpath problem
Question #196872 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/196872
RaiMan proposed the following answer:
-- 1.
getBundlePath() only works, when the script is run using sikuli-script.jar (internally used by the IDE).
So you might configure your Eclipse project, so that sikuli-script.jar is used as Interpreter.
On the other hand there are many options to configure the runtime environment in Eclipse.
--2.
In the standard Eclipse configuration, the Jython standard libs are positioned in sys.path before the other paths that are added afterwards by a running script (which is e.g. done by Sikuli's import support).
This cannot be solved by the script user when running in Eclipse.
So it was the right solution to rename your stuff.
This is not really a bug, since it is "by design". But you might post a request bug, that Sikuli should add dynamic sys.path elements at the top.
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.