sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #22020
Re: [Question #237801]: Sikuli 1.0.1 Auto extract binaries for windows 32bit
Question #237801 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/237801
Status: Solved => Open
AutoTest101 is still having a problem:
RaiMan, a quick question.
Currently I'm using sikuli-java.jar through PyDev in eclipse, by setting PYTHONPATH. This way is working fine, however, I would
prefer to do this inside my package that uses sikuli. I have tried adding the sikuli-java.jar using the normal
sys.path.append(sikuli_jar_path) approach, but, it doesn't seem to work the same as settting PYTHONPATH in eclipse.
When I try to set the path programmatically, I get the following error:
[error] SikuliXforJython: package: sikuli/__init__.py not found: Sikuli might not work
[debug] Jython: sikuli: __init__: entering
[debug] Jython: sikuli: Sikuli: entering
[debug] Jython: sikuli: Sikuli: constants
[debug] Jython: sikuli: Sikuli: import Region
[debug] Jython: sikuli: Sikuli: import Screen
[debug] Jython: sikuli: Sikuli: Env.addHotkey
[debug] Jython: sikuli: Sikuli: import Match
[debug] Jython: sikuli: Sikuli: import Pattern
[debug] Jython: sikuli: Sikuli: import Location
[debug] Jython: sikuli: Sikuli: import ScreenUnion
[debug] Jython: sikuli: Sikuli: import Finder
[error] FileManager: Fatal error 121: Could not load any NativeLoader!
[error] Terminating SikuliX after a fatal error(121)! Sorry, but it makes no sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the Q&A board.
[debug] SikuliXFinal: cleanUp: 0
Do you have any suggestions on how I can add the sikuli-java.jar to the pythonpath/classpath at runtime?
Thanks in advance
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.