[1.1.1] Mac: Setup: downloads blocked from OSSRH (Maven snapshots)
Sikulixsetup-
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was originally filed as bug #1754524.
Related FAQ:
None Link to a FAQ
Revision history for this message
|
#2 |
Be more specific.
what is the log file saying?
SikuliX 1.1.1+ surely works on macOS (my development system)
Revision history for this message
|
#3 |
[debug (3/8/18 12:30:07 AM)] FileManager: Downloading sikulixlibsmac-
[error (3/8/18 12:30:07 AM)] FileManager: problems while downloading
java.net.
[debug (3/8/18 12:30:10 AM)] FileManager: Downloading sikulixsetupAPI
[error (3/8/18 12:30:10 AM)] FileManager: problems while downloading
java.net.
[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-
The log is showing connection refused?
Revision history for this message
|
#4 |
From the above log, do you think it may be blocked by my proxy server?
Revision history for this message
|
#5 |
what do you mean by macOS (my development system)?
Revision history for this message
|
#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-
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.
Revision history for this message
|
#7 |
[debug (3/9/18 2:40:32 PM)] Debug: setLogFile: /Users/
[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/
[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/
[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.
[debug (3/9/18 2:40:40 PM)] RunSetup:
popAsk: -------
The following file(s) will be downloaded to
/Users/
... using proxy: HTTP @ US38CBCSG01.
--- 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:/
[error (3/9/18 2:40:56 PM)] FileManager: problems while downloading
sun.security.
[error (3/9/18 2:40:56 PM)] RunSetup: Maven download: could not get timestamp nor buildnumber for sikulixlibsmac from:
https:/
with content:
[debug (3/9/18 2:40:56 PM)] FileManager: download to string from:
https:/
[error (3/9/18 2:40:57 PM)] FileManager: problems while downloading
sun.security.
[error (3/9/18 2:40:57 PM)] RunSetup: Maven download: could not get timestamp nor buildnumber for sikulixsetupAPI
https:/
with content:
[debug (3/9/18 2:40:57 PM)] FileManager: download to string from:
https:/
[error (3/9/18 2:40:57 PM)] FileManager: problems while downloading
sun.security.
[error (3/9/18 2:40:57 PM)] RunSetup: Maven download: could not get timestamp nor buildnumber for sikulixsetupIDE
https:/
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-
[debug (3/9/18 2:41:51 PM)] FileManager: downloaded 40171 KB to:
/Users/
[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-
[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-
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/
-------
[debug (3/9/18 2:53:51 PM)] RunTimeSETUP: final cleanup
[debug (3/9/18 2:53:51 PM)] FileManager: deleteFileOrFolder:
/var/folders/
Revision history for this message
|
#8 |
https:/
https:/
I am able to access above link, but when downloading the libs, it didn't download it?
Revision history for this message
|
#9 |
You have a problem accessing the site, where the respective files are downloaded from (OSSRH):
https:/
You might try with 1.1.2 or use the offline setup
http://
Revision history for this message
|
#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
Revision history for this message
|
#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?
<groupId>
<artifactId>
<version>
</dependency>
Thanks a lot in advance!
-Kurt.
Revision history for this message
|
#12 |
Hi RaiMan,
How would you use sikulixlibsmac-
Thanks.
-Kurt.
Revision history for this message
|
#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:
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:
In that, do you think, do I still need to install sikulix native function using setupsikulix-
second, how to check if those libs I installed actually working?
Revision history for this message
|
#14 |
Currrently I use Java and included sikulix libs in eclipse though pom.xml
Revision history for this message
|
#15 |
your offline set up doesn't work for me either. I can't launch any of your set up files.
Revision history for this message
|
#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>
<artifactId>
<version>
</dependency>
Check wether the sikulixapi.jar and the sikulixlibsmac.jar files are downloaded when you build/run your project.
Revision history for this message
|
#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.
with quit button.
Would you tell me how to run IDE without the Error?
Revision history for this message
|
#18 |
I did installed Java 6 on my system too
Revision history for this message
|
#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.