Errors for Offline install win7 x64 machine

Asked by Cam citi on 2018-01-01

Hello, first of all, thankyou for taking the time to continue to develop this software, it will help me out tons once i can get it installed correctly

I have read the offline installation guide and manually downloaded all the necessary files with the exact versions reccomended. I put them into a folder labeled "downloads" within the main folder named "sikuli". I have placed the sikulixsetup-1.1.1.jar file inside the "sikuli" folder also and ran install and I keep on running into the error "Bad things happened trying to add native stuff to selected jars --- terminating!". Also i have tried putting the sikulixsetup file im the downloads folder along with the rest of the contents and still run into errors, any help would be much appreciated!

Here is the error log

[debug (12/31/17 11:15:52 PM)] Debug: setLogFile: C:\Sikuli\SikuliX-1.1.1-SetupLog.txt
[debug (12/31/17 11:15:52 PM)] RunSetup: ... starting with no args given
[debug (12/31/17 11:15:52 PM)] RunSetup: Setup: 1.1.1 2017-03-29_10:41 in folder:
C:\Sikuli
[debug (12/31/17 11:15:52 PM)] RunSetup: RunningSystem: Windows 6.1
[debug (12/31/17 11:15:52 PM)] RunSetup: parent of jar/classes: C:\Sikuli
[debug (12/31/17 11:15:52 PM)] RunSetup: RunningJava: Java 8 (amd64) 1.8.0_151-b12
[debug (12/31/17 11:15:52 PM)] init user preferences
[debug (12/31/17 11:16:00 PM)] RunSetup:
popAsk: --------------------
The following file(s) will be downloaded to
C:\Sikuli
--- Native support libraries for Windows (sikulixlibs...)
--- Package 1 ---
null (IDE/Scripting)
null (Java API)
- with Jython
--- Additions ---
tessdata-eng (Tesseract)
Only click NO, if you want to terminate setup now!
Click YES even if you want to use local copies in Downloads!
--------------------
[debug (12/31/17 11:16:02 PM)] RunSetup:
popAsk: --------------------
You have for Windows native libs
C:\Sikuli\Downloads\sikulixlibswin-1.1.0.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (12/31/17 11:16:03 PM)] RunSetup: Copied from Downloads: sikulixlibswin
[debug (12/31/17 11:16:03 PM)] FileManager: resetFolder:
C:\Sikuli\SetupStuff\sikulixlibs\windows
jar:file:/C:/Sikuli/sikulixlibswin.jar
[error (12/31/17 11:16:04 PM)] RunTimeSETUP: doResourceListJar: java.util.zip.ZipException: invalid entry size (expected 950087 but got 430213 bytes)
[debug (12/31/17 11:16:04 PM)] RunSetup:
popAsk: --------------------
You have for Java API package
C:\Sikuli\Downloads\sikulixsetupAPI-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 (12/31/17 11:16:04 PM)] RunSetup: Copied from Downloads: sikulixapi
[debug (12/31/17 11:16:04 PM)] FileManager: resetFolder:
C:\Sikuli\SetupStuff\Lib
jar:file:/C:/Sikuli/sikulixapi.jar
[debug (12/31/17 11:16:05 PM)] RunSetup:
popAsk: --------------------
You have for SikuliX IDE package
C:\Sikuli\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 (12/31/17 11:16:05 PM)] RunSetup: Copied from Downloads: sikulix
[debug (12/31/17 11:16:05 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 (12/31/17 11:16:07 PM)] RunSetup:
popAsk: --------------------
You have for Jython 2.7
C:\Users\Cam\AppData\Roaming\Sikulix\SikulixDownloads\jython-standalone-2.7.0.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (12/31/17 11:16:08 PM)] RunSetup: Copied from Downloads: Jython
[debug (12/31/17 11:16:08 PM)] RunSetup:
popAsk: --------------------
You have for Tesseract tessdata-eng
C:\Sikuli\Downloads\tesseract-ocr-3.02.eng.tar.gz
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (12/31/17 11:16:09 PM)] RunSetup: using already downloaded: tessdata-eng
[debug (12/31/17 11:16:09 PM)] RunSetup: trying to extract from: tesseract-ocr-3.02.eng.tar.gz
[debug (12/31/17 11:16:09 PM)] RunSetup: preparing the tessdata stuff in:
C:\Users\Cam\AppData\Roaming\Sikulix\SikulixDownloads\tessdata-eng
[debug (12/31/17 11:16:09 PM)] FileManager: resetFolder:
C:\Users\Cam\AppData\Roaming\Sikulix\SikulixDownloads\tessdata-eng
[debug (12/31/17 11:16:10 PM)] FileManager: deleteFileOrFolder:
C:\Users\Cam\AppData\Roaming\Sikulix\SikulixDownloads\tesseract-ocr
[debug (12/31/17 11:16:10 PM)] RunTimeSETUP: resourceList: enter
[debug (12/31/17 11:16:10 PM)] RunTimeSETUP: resourceLocation: (class org.sikuli.setup.RunSetup) /sikulixtessdata
[debug (12/31/17 11:16:10 PM)] RunTimeSETUP: resourceList: having jar: jar:file:/C:/Sikuli/sikulixsetup-1.1.1.jar!/sikulixtessdata
[error (12/31/17 11:16:10 PM)] RunTimeSETUP: doResourceListJar: java.util.zip.ZipException: invalid block type
[debug (12/31/17 11:16:10 PM)] RunTimeSETUP: files exported: 0 from: sikulixtessdata to:
C:\Users\Cam\AppData\Roaming\Sikulix\SikulixDownloads\tessdata-eng
[debug (12/31/17 11:16:10 PM)] RunSetup: finally preparing sikulixtessdata.jar
[debug (12/31/17 11:16:10 PM)] RunTimeSETUP: addToClasspath:
file:/C:/Users/Cam/AppData/Roaming/Sikulix/SikulixDownloads/
[debug (12/31/17 11:16:10 PM)] RunTimeSETUP: resourceList: enter
[debug (12/31/17 11:16:10 PM)] RunTimeSETUP: resourceLocation: (class org.sikuli.setup.RunSetup) /tessdata-eng
[debug (12/31/17 11:16:10 PM)] RunTimeSETUP: resourceList: having folder: C:\Users\Cam\AppData\Roaming\Sikulix\SikulixDownloads\tessdata-eng
[debug (12/31/17 11:16:10 PM)] FileManager: buildJar: sikulixtemp.jar
[debug (12/31/17 11:16:10 PM)] FileManager: buildJar: adding tessdata-eng at sikulixtessdata
[debug (12/31/17 11:16:12 PM)] FileManager: buildJar: completed
[debug (12/31/17 11:16:12 PM)] RunSetup: renaming sikulixtemp.jar to target jar: sikulixtessdata.jar
[debug (12/31/17 11:16:12 PM)] FileManager: deleteFileOrFolder:
C:\Users\Cam\AppData\Roaming\Sikulix\SikulixDownloads\tessdata-eng
[debug (12/31/17 11:16:12 PM)] RunSetup: Download ended
[debug (12/31/17 11:16:12 PM)] RunSetup: Downloads for selected options:
null null null jython-standalone-2.7.0.jar tessdata-eng
[debug (12/31/17 11:16:12 PM)] RunSetup: adding needed stuff to sikulix.jar
[debug (12/31/17 11:16:12 PM)] FileManager: buildJar: sikulixtemp.jar
[debug (12/31/17 11:16:12 PM)] FileManager: buildJar: adding: sikulix.jar
[error (12/31/17 11:16:13 PM)] FileManager: buildJar: java.util.zip.ZipException: invalid distance too far back
[debug (12/31/17 11:16:13 PM)] RunSetup: renaming sikulixtemp.jar to target jar: sikulix.jar
[debug (12/31/17 11:16:15 PM)] RunSetup:
popError: --------------------
Bad things happened trying to add native stuff to selected jars --- terminating!
--------------------
[error (12/31/17 11:38:21 PM)] RunSetup: Adding stuff to jars did not work
[error (12/31/17 11:38:21 PM)] RunSetup: ... terminated abnormally :-(
[debug (12/31/17 11:38:21 PM)] RunSetup:
popError: --------------------
Something serious happened! Sikuli not useable!
Check the error log at C:\Sikuli\SikuliX-1.1.1-SetupLog.txt
--------------------
[debug (12/31/17 11:38:22 PM)] RunTimeSETUP: final cleanup
[debug (12/31/17 11:38:23 PM)] FileManager: deleteFileOrFolder:
C:\Users\Cam\AppData\Local\Temp\Sikulix_525461035

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2018-01-01
Last query:
2018-01-01
Last reply:
2018-01-01
Best RaiMan (raimund-hocke) said : #1

apparently you have mixed 1.1.1 setup with 1.1.0 files.

purge everything including the %APPDATA% Sikulix folder and start again according to:
http://www.sikulix.com/specials/files/c77aee9efb9985e68684cf70bbaa21a9-3.html

or with 1.1.2 nightly builds
https://raiman.github.io/SikuliX-2014/nightly.html

Cam citi (camciti702) said : #2

Thanks RaiMan, that solved my question.