sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25958
Re: [Question #248599]: “Could not load any NativeLoader” When Using 1.1.0-Beta1-2.jar --- must be prepared using setup
Question #248599 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/248599
Status: Solved => Open
Michael Ahlers is still having a problem:
I've decided to revisit Sikuli, but I'm still struggling with this same
problem. From where we left off, I've got a partly-working JAR file
(sikulixapi.jar, with 19,299,774 bytes) produced by the setup tool (with
options 2 and 4). It turns out I misspoke. The code for user capture and
highlighting doesn't work after all.
Some operations do work, for example:
// Moves the mouse cursor to the center of screen 0 and double clicks.
new Screen().doubleClick()
However, I still get errors with basic calls otherwise:
App.focusedWindow()
Produces this error:
[debug] init user preferences
[debug] Screen: initScreens: basic initialization (2 Screen(s) found)
[debug] Screen: *** monitor configuration (primary: 0) ***
[debug] Screen: 0: S(0)[0,0 2560x1440]
[debug] Screen: 1: S(1)[-1440,253 1440x900]
[debug] Screen: *** end monitor configuration ***
[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] SikuliX: cleanUp: 0
And then:
s.click("/Users/michaelahlers/tmp/target-image.png")
Produces:
[debug] init user preferences
[debug] Screen: initScreens: basic initialization (2 Screen(s) found)
[debug] Screen: *** monitor configuration (primary: 0) ***
[debug] Screen: 0: S(0)[0,0 2560x1440]
[debug] Screen: 1: S(1)[-1440,253 1440x900]
[debug] Screen: *** end monitor configuration ***
s: org.sikuli.script.Screen = S(0)[0,0 2560x1440] E:Y, T:3.0
[debug] Region: find: waiting for /Users/michaelahlers/tmp/target-image.png to appear
[error] ImagePath: setBundlePath: Settings not changed: invalid BundlePath: null
[debug] Image: added to image list: /Users/michaelahlers/tmp/target-image.png
with URL: file:Users/michaelahlers/tmp/target-image.png
[debug] Image: loaded /Users/michaelahlers/tmp/target-image.png (16 KB of 64 MB (1 / 0 %) (16))
[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] SikuliX: cleanUp: 0
Again, pretty straight-forward process. Setup tool, options 2 and 4, add
to project classpath, and make basic calls.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.