How to install sikuliX IDE on Mac 10.12.6

Asked by Ke Chen on 2018-05-11

Could you please provide the link to me which I can install sikuliX IDE ?

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Roman Podolyan
Solved:
2018-05-15
Last query:
2018-05-15
Last reply:
2018-05-15
Ke Chen (kurtxchen) said : #1

Could you please provide the link where I can get the sikulix IDE installation file? and also provide the detail steps which how to configuration and set up sikulix IDE?

The links are provided in the Overview "tab"
====
https://launchpad.net/sikuli
Sikuli is a visual technology to automate graphical user interfaces (GUI) using images (screenshots). Sikuli Script automates anything you see on the screen without internal API's support. You can programmatically control a web page, a desktop application running on Windows/Linux/Mac OS X, or even an iPhone or Android application running in an emulator.

The latest version is 1.1.2 and was released at: March 10, 2018

Watch the ongoing bug fixing (now version 1.1.3):
Sikuli-IDE, SikuliX for Java: https://github.com/RaiMan/SikuliX1

For everything else start here: http://www.sikulix.com
=====

The installation instruction is here:
http://sikulix.com/quickstart/

Ke Chen (kurtxchen) said : #3

the downloading from this instruction is not successfully:

The installation instruction is here:
http://sikulix.com/quickstart/

The log file is posted below: please instruct me how to fix this ?

[debug (5/14/18 10:03:32 AM)] RunSetup: ... starting with no args given
[debug (5/14/18 10:03:32 AM)] RunSetup: Setup: 1.1.2 2018-03-08_08:37 in folder:
/Users/keeche/Downloads
[debug (5/14/18 10:03:32 AM)] RunSetup: RunningSystem: Mac OSX 10.12.6
[debug (5/14/18 10:03:32 AM)] RunSetup: parent of jar/classes: /Users/keeche/Downloads
[debug (5/14/18 10:03:32 AM)] RunSetup: RunningJava: Java 8 (x86_64) 1.8.0_171-b11
[debug (5/14/18 10:03:32 AM)] init user preferences
[debug (5/14/18 10:04:44 AM)] FileManager: Proxy stored: 10.12.5.1 : 8080
[debug (5/14/18 10:04:44 AM)] RunSetup: Requested to run with proxy: HTTP @ us01cbcsg01.org.nasdaqomx.com/10.12.5.1:8080
[debug (5/14/18 10:04:44 AM)] RunSetup:
popAsk: --------------------
The following file(s) will be downloaded to
/Users/keeche/Downloads
... using proxy: HTTP @ us01cbcsg01.org.nasdaqomx.com/10.12.5.1:8080
--- Native support libraries for Mac OSX (sikulixlibs...)
--- Package 1 ---
null (IDE/Scripting)
null (Java API)
 - with Jython
 - creating Mac application
--- Package 2 ---
null (done in package 1)
Only click NO, if you want to terminate setup now!
Click YES even if you want to use local copies in Downloads!
--------------------
[debug (5/14/18 10:05:19 AM)] FileManager: Downloading sikulixlibsmac-1.1.1.jar having 4852 KB
[debug (5/14/18 10:05:25 AM)] FileManager: downloaded 4852 KB to:
/Users/keeche/Library/Application Support/Sikulix/SikulixDownloads/sikulixlibsmac-1.1.1.jar
[debug (5/14/18 10:05:25 AM)] FileManager: download time: 6
[debug (5/14/18 10:05:28 AM)] RunSetup: Copied from Downloads: sikulixlibsmac
[debug (5/14/18 10:05:28 AM)] FileManager: download to string from:
https://oss.sonatype.org/content/groups/public/com/sikulix/sikulixsetupAPI/1.1.2-SNAPSHOT/maven-metadata.xml,
[error (5/14/18 10:05:29 AM)] FileManager: problems while downloading
Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"
[error (5/14/18 10:05:29 AM)] RunSetup: Maven download: could not get timestamp nor buildnumber for sikulixsetupAPI#forsetup from:
https://oss.sonatype.org/content/groups/public/com/sikulix/sikulixsetupAPI/1.1.2-SNAPSHOT/maven-metadata.xml
with content:

[debug (5/14/18 10:05:29 AM)] RunSetup:
popAsk: --------------------
You have for SikuliX IDE package
/Users/keeche/Downloads/sikulixsetupIDE-1.1.0-forsetup.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (5/14/18 10:06:00 AM)] RunSetup: Copied from Downloads: sikulix
[debug (5/14/18 10:06:00 AM)] RunSetup:
popAsk: --------------------
If you click YES, you will get Jython version 2.7.0 (recommended)
... but in rare cases there might be issues with UTF-8/Unicode
that usually appear on startup when UTF-8 characters
are present somewhere in the system environment
If you encounter such problems with Jython 2.7.0
run setup again and
click NO to get Jython a 2.5.4 version
--------------------
[debug (5/14/18 10:06:45 AM)] RunSetup:
popAsk: --------------------
You have for Jython 2.7
/Users/keeche/Library/Application Support/Sikulix/SikulixDownloads/jython-standalone-2.7.1.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (5/14/18 10:06:59 AM)] RunSetup: Copied from Downloads: Jython
[debug (5/14/18 10:06:59 AM)] RunSetup: Download ended
[debug (5/14/18 10:06:59 AM)] RunSetup: Downloads for selected options:
sikulixlibsmac-1.1.1.jar null null jython-standalone-2.7.1.jar
[debug (5/14/18 10:06:59 AM)] RunSetup:
popError: --------------------
Some of the downloads did not complete successfully.
Check the logfile for possible error causes.
If you think, setup's inline download is blocked somehow on
your system, you might download the appropriate raw packages manually
into the folder Downloads in the setup folder and run setup again.
files to download (information is in the setup log file too)
sikulixlibsmac-1.1.1.jar
null
null
jython-standalone-2.7.1.jar
Be aware: The raw packages are not useable without being processed by setup!
For other reasons, you might simply try to run setup again.
--------------------
[error (5/14/18 10:08:21 AM)] RunSetup: download not completed successfully
[error (5/14/18 10:08:21 AM)] RunSetup: ... terminated abnormally :-(
[debug (5/14/18 10:08:21 AM)] RunSetup:
popError: --------------------
Something serious happened! Sikuli not useable!
Check the error log at /Users/keeche/Downloads/SikuliX-1.1.2-SetupLog.txt
--------------------
[debug (5/14/18 10:08:29 AM)] RunTimeSETUP: final cleanup
[debug (5/14/18 10:08:29 AM)] FileManager: deleteFileOrFolder:
/var/folders/4n/wt_gv24x7r75mq_lwpxf4fdrkql99z/T/Sikulix_1483922692

> [error (5/14/18 10:05:29 AM)] FileManager: problems while downloading
> Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"

It looks like the proxy on you network blocks setup downloads.

You may try offline setup, the instructions are here: http://sikulix-2014.readthedocs.io/en/latest/basicinfo.html#sikulix-offline-setup

Ke Chen (kurtxchen) said : #5

Yes, it is. I have just fixed this issue, so now i am able to download the setup without any problem.

however, after I have set up the SikulixIDE, the download went well, no errors, IDE have successfully set up and launched.
and I have launched my application website, on the login page, I have captured login button image ( just one image ) with click action,
then I have menually typed in my username and password, then I click on run button on IDE, then I got the error message below:

[error] script [ Untitled ] stopped with error in line 1
[error] FindFailed ( 1526337593946.png: (99x29) in S(0)[0,0 1440x900] E:Y, T:3.0 )

this sounds pretty weird to me?

Could you please tell me what I have missed? where to check what else problem I may have?

BTW: thanks so much to Ramon's reply last time, I couldn't be any more appreciating it.

I have MacOS 10.12.6 and chrome 66.0 versions.

> [error] script [ Untitled ] stopped with error in line 1
> [error] FindFailed ( 1526337593946.png: (99x29) in S(0)[0,0 1440x900] E:Y, T:3.0 )

Find failed means that last operation with image searching ( click, wait, hover ... ) failed. Image was not found.
Try different image, something you see on a screen when IDE gets hidden it (I suggest any icon present on Dock bar).
Is it browser on screen when IDE gets hidden?

Anyway, it looks like the main problem of this thread is solved and IDE is installed now.

Ke Chen (kurtxchen) said : #7

Thanks Roman Podolyan, that solved my question.

Ke Chen (kurtxchen) said : #8

The main problem is I didn't use SikuliX IDE to capture the image! I have used the same way in my java program, it was working perfectly, but from MacOS 10.11, it is no longer working. Now we have to use Sikuli IDE to capture the image.