[1.1.1] Mac: Setup: downloads blocked from OSSRH (Maven snapshots)

Asked by Ke Chen on 2018-03-09

Sikulixsetup-1.1.1.jar install file can't install native functions into MacOS Sierra, seems the installation download file can't download. the installation was not completed successfully.

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2018-03-14
Last reply:
2018-03-15
RaiMan (raimund-hocke) said : #1

Should first be a question.

RaiMan (raimund-hocke) said : #2

Be more specific.

what is the log file saying?

SikuliX 1.1.1+ surely works on macOS (my development system)

Ke Chen (kurtxchen) said : #3

[debug (3/8/18 12:30:07 AM)] FileManager: Downloading sikulixlibsmac-1.1.0.jar with unknown size
[error (3/8/18 12:30:07 AM)] FileManager: problems while downloading
java.net.ConnectException: Connection refused (Connection refused)
[debug (3/8/18 12:30:10 AM)] FileManager: Downloading sikulixsetupAPI-1.1.0-forsetup.jar with unknown size
[error (3/8/18 12:30:10 AM)] FileManager: problems while downloading
java.net.ConnectException: Connection refused (Connection refused)
[debug (3/8/18 12:30:13 AM)] RunSetup: Download ended
[debug (3/8/18 12:30:13 AM)] RunSetup: Downloads for selected options:
sikulixlibsmac-1.1.0.jar sikulixsetupAPI-1.1.0-forsetup.jar

The log is showing connection refused?

Ke Chen (kurtxchen) said : #4

From the above log, do you think it may be blocked by my proxy server?

Ke Chen (kurtxchen) said : #5

what do you mean by macOS (my development system)?

Ke Chen (kurtxchen) said : #6

The download screen said:

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 )

null
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.

with a OK button.

comment: 1. seems it download Jython package, but not for all others, I don't know if that is because they are from diff sites?
2. is this is proxy blocking issue from our network?

Thanks for helping in advance.
-Kurt Chen.

Ke Chen (kurtxchen) said : #7

[debug (3/9/18 2:40:32 PM)] Debug: setLogFile: /Users/keeche/Downloads/SikuliX-1.1.1-SetupLog.txt
[debug (3/9/18 2:40:32 PM)] RunSetup: ... starting with no args given
[debug (3/9/18 2:40:32 PM)] RunSetup: Setup: 1.1.1 2018-01-08_18:46 in folder:
/Users/keeche/Downloads
[debug (3/9/18 2:40:32 PM)] RunSetup: RunningSystem: Mac OSX 10.12.6
[debug (3/9/18 2:40:32 PM)] RunSetup: parent of jar/classes: /Users/keeche/Downloads
[debug (3/9/18 2:40:32 PM)] RunSetup: RunningJava: Java 8 (x86_64) 1.8.0_161-b12
[debug (3/9/18 2:40:32 PM)] init user preferences
[debug (3/9/18 2:40:40 PM)] FileManager: Proxy stored: 10.12.12.1 : 8080
[debug (3/9/18 2:40:40 PM)] RunSetup: Requested to run with proxy: HTTP @ US38CBCSG01.org.nasdaqomx.com/10.12.12.1:8080
[debug (3/9/18 2:40:40 PM)] RunSetup:
popAsk: --------------------
The following file(s) will be downloaded to
/Users/keeche/Downloads
... using proxy: HTTP @ US38CBCSG01.org.nasdaqomx.com/10.12.12.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 (3/9/18 2:40:56 PM)] FileManager: download to string from:
https://oss.sonatype.org/content/groups/public/com/sikulix/sikulixlibsmac/1.1.1-SNAPSHOT/maven-metadata.xml,
[error (3/9/18 2:40:56 PM)] FileManager: problems while downloading
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[error (3/9/18 2:40:56 PM)] RunSetup: Maven download: could not get timestamp nor buildnumber for sikulixlibsmac from:
https://oss.sonatype.org/content/groups/public/com/sikulix/sikulixlibsmac/1.1.1-SNAPSHOT/maven-metadata.xml
with content:

[debug (3/9/18 2:40:56 PM)] FileManager: download to string from:
https://oss.sonatype.org/content/groups/public/com/sikulix/sikulixsetupAPI/1.1.1-SNAPSHOT/maven-metadata.xml,
[error (3/9/18 2:40:57 PM)] FileManager: problems while downloading
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[error (3/9/18 2:40:57 PM)] 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.1-SNAPSHOT/maven-metadata.xml
with content:

[debug (3/9/18 2:40:57 PM)] FileManager: download to string from:
https://oss.sonatype.org/content/groups/public/com/sikulix/sikulixsetupIDE/1.1.1-SNAPSHOT/maven-metadata.xml,
[error (3/9/18 2:40:57 PM)] FileManager: problems while downloading
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[error (3/9/18 2:40:57 PM)] RunSetup: Maven download: could not get timestamp nor buildnumber for sikulixsetupIDE#forsetup from:
https://oss.sonatype.org/content/groups/public/com/sikulix/sikulixsetupIDE/1.1.1-SNAPSHOT/maven-metadata.xml
with content:

[debug (3/9/18 2:40:57 PM)] 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 2.5.4rc1
--------------------
[debug (3/9/18 2:41:01 PM)] FileManager: Downloading jython-standalone-2.7.1.jar having 40171 KB
[debug (3/9/18 2:41:51 PM)] FileManager: downloaded 40171 KB to:
/Users/keeche/Library/Application Support/Sikulix/SikulixDownloads/jython-standalone-2.7.1.jar
[debug (3/9/18 2:41:51 PM)] FileManager: download time: 49
[debug (3/9/18 2:41:54 PM)] RunSetup: Copied from Downloads: Jython
[debug (3/9/18 2:41:54 PM)] RunSetup: Download ended
[debug (3/9/18 2:41:54 PM)] RunSetup: Downloads for selected options:
null null null jython-standalone-2.7.1.jar
[debug (3/9/18 2:41:54 PM)] 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)
null
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 (3/9/18 2:53:49 PM)] RunSetup: download not completed successfully
[error (3/9/18 2:53:49 PM)] RunSetup: ... terminated abnormally :-(
[debug (3/9/18 2:53:49 PM)] RunSetup:
popError: --------------------
Something serious happened! Sikuli not useable!
Check the error log at /Users/keeche/Downloads/SikuliX-1.1.1-SetupLog.txt
--------------------
[debug (3/9/18 2:53:51 PM)] RunTimeSETUP: final cleanup
[debug (3/9/18 2:53:51 PM)] FileManager: deleteFileOrFolder:
/var/folders/4n/wt_gv24x7r75mq_lwpxf4fdrkql99z/T/Sikulix_1004983003

RaiMan (raimund-hocke) said : #9

You have a problem accessing the site, where the respective files are downloaded from (OSSRH):
https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services-due-to-pkix-path-building-failed-779355358.html

You might try with 1.1.2 or use the offline setup
http://sikulix-2014.readthedocs.io/en/latest/basicinfo.html#sikulix-offline-setup

RaiMan (raimund-hocke) said : #10

... what do you mean by macOS (my development system)?
means, that I am developing SikuliX mainly on macOS 10.13 and hence know that it works

Ke Chen (kurtxchen) said : #11

Hi RaiMan,

Can you please give us the offline setup file for version 1.1.1 becasuse we are using 1.1.1 as our version for sikuli?

               <dependency>
   <groupId>com.sikulix</groupId>
   <artifactId>sikulixapi</artifactId>
   <version>1.1.1</version>
  </dependency>

Thanks a lot in advance!
-Kurt.

Ke Chen (kurtxchen) said : #12

Hi RaiMan,

How would you use sikulixlibsmac-1.1.1.jar? just include this into build path lib ? in Maven build situation, how can we do it?

Thanks.
-Kurt.

Ke Chen (kurtxchen) said : #13

The reason I want to install sikulixsetup, because sikulix 1.1.1 doesn't work on my MacOS Sierra system, it always click on the center of the screen instead to find the right image on the screen to click, I thought it maybe need to install Sikulix native function onto my system because I don't remember I did install that.

After read your message, I have found i have sikulixlibsmac lib installed through Maven pom file

us10mac00082:sikulix keeche$ ls -la
total 0
drwxr-xr-x 5 keeche ORG\Domain Users 170 Jan 8 12:00 .
drwxr-xr-x 11 keeche ORG\Domain Users 374 Feb 26 21:41 ..
drwxr-xr-x 3 keeche ORG\Domain Users 102 Jan 8 12:00 sikulix1tigervnc
drwxr-xr-x 7 keeche ORG\Domain Users 238 Feb 26 21:13 sikulixapi
drwxr-xr-x 3 keeche ORG\Domain Users 102 Jan 8 12:00 sikulixlibsmac
us10mac00082:sikulix keeche$

In that, do you think, do I still need to install sikulix native function using setupsikulix-1.1.1.jar file?
second, how to check if those libs I installed actually working?

Ke Chen (kurtxchen) said : #14

Currrently I use Java and included sikulix libs in eclipse though pom.xml

Ke Chen (kurtxchen) said : #15

your offline set up doesn't work for me either. I can't launch any of your set up files.

RaiMan (raimund-hocke) said : #16

When you are using Java programming in a Maven setup, then no previous setup of any SikuliX stuff is needed.

Just purge anything of your previous SikuliX trials from your system(especially the com.sikulix branch in the local Maven repo) and just use the above dependency in your projects pom file:

  <dependency>
   <groupId>com.sikulix</groupId>
   <artifactId>sikulixapi</artifactId>
   <version>1.1.1</version>
  </dependency>

Check wether the sikulixapi.jar and the sikulixlibsmac.jar files are downloaded when you build/run your project.

Ke Chen (kurtxchen) said : #17

I want to try to install sikulix IDE onto my machine to see if I can run manually on IDE to see if sikuli is able to find the image on the screen, this way will give me more information why sikuli is not working on my system.

Finally I got hold of our security system team, they created tunnel bypassing the proxy security restriction and have me download sikulix IDE app onto my mac, but when run the IDE app, it said:

Cannot launch java application

Uncaught exception in main method: java.lang.IllegalArgumentException: cannot add to layout: unknown constraint: LEFT

with quit button.

Would you tell me how to run IDE without the Error?

Ke Chen (kurtxchen) said : #18

I did installed Java 6 on my system too

RaiMan (raimund-hocke) said : #19

SikuliX 1.1.1 needs Java 7 or Java 8

Can you help with this problem?

Provide an answer of your own, or ask Ke Chen for more information if necessary.

To post a message you must log in.