[1.0.1] having various problems with setup

Asked by TestMechanic

I downloaded the sikuly setup jar file - 17MB(takes few seconds on my connection)
I run the install and select IDE installation

A download of 13 MB is stared - it is extremely slow and actually it hangs (at one machine at 3% and on another at 24%)

The log says: downloading sikuli-ide-1.0.1.jar - but no error printed

So I cannot install the latest version. Please provide advice

I have question as well: Can i get all needed jar files instead of downloading them run-time. I believe this is much better and reliable way to install the tool.

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
TestMechanic
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
RaiMan (raimund-hocke) said :
#1
Revision history for this message
TestMechanic (ndinev) said :
#2

Thanks RaiMan,

I was not able to find the faq before posting.(Looking for "installation hang")

BTW. I waited some time and killed the java processes on both machines ... and repeated the process... done this few times and was able to install the needed modules. It is a strange issue anyway :-)

N.

Revision history for this message
TestMechanic (ndinev) said :
#3

Still problem is not solved.
Steps:
1. I downloaded the zip files and extracted in c:\sikuli
2. Started setup jar that extracted setup cmd
3. Started setup cmd and selected 1 and 5 option

as result: ide jar file was deleted for the folder and set with size 0 and obviously download started again

Revision history for this message
RaiMan (raimund-hocke) said :
#4

pls. proceed as mentioned in the readme !

Revision history for this message
TestMechanic (ndinev) said :
#5

Sorry,

I finally got it. Unfortunately the read.me was not clear enough that new folder "Download " should be created as a child of the current folder.

However I still have some questions

-- I want to have IDE and console run options OCR. In the setup it is written that option 1 installs console too. But RunScript.cmd appear only after installing option 2.
-- option 2 can be installed after option 1, but when i should select option 5. When running install for option 1 or option 2. Option 5 cannot be executed standalone

-- I double clicking on sikuli-tessdata.jar jar file result in "Error: Invalid or corrupt jarfile sikuli-tessdata.jar". Is this OK? Doesn't happen for other jars

Thanks for the help

Revision history for this message
RaiMan (raimund-hocke) said :
#6

--- None of the downloaded jars (besides sikuli-setup.jar) are runnable before being processed by setup (so you should not double click them!)

--- option 5 has to be selected together with option 1 in your case at the same setup run.

--- if you have setup option 1, then you can use runIDE.cmd, to run scripts from command line (already tried runIDE.cmd -h ???).

So if you only want to work with Sikuli scripts, option 1 (optionally together with option 5) is sufficient.

I will try, to make this even clearer in the docs and the setup dialog (but I think it is already now to a high extent ;-)

Again: if you repeat a setup because of problems as in your case, it is recommended, to delete everything in the setup folder except sikuli-setup.jar and except the folder Downloads and its content.

Revision history for this message
TestMechanic (ndinev) said :
#7

I done the installation in the right way(2nd and 5th option) and run my tests with new sikuli.
Unfortunately I am getting error on the OCR.

"FindFailed: FindFailed: Text search currently switched off
  Line 1671, in file Region.java"

I can confirm that sikuli/lib folder contains libtesseract-3.dll - I guess this is needed for ocr.

Any advice on this problem.(Note my test are running fine with 1.0.0)

Revision history for this message
TestMechanic (ndinev) said :
#8

I done tests with runIDE.cmd and runScript.cmd (separate installations for option [1+5] and second for [2+5])
Bot run result in "Text search currently switched off" problem mentioned above

Revision history for this message
TestMechanic (ndinev) said :
#9

I narrowed down the problem
The test below works fine with v1.0.0 but fails with v1.0.1(installed with option 1+5)

### Open apache.org with IE before starting the script
Settings.OcrTextSearch = True
find("Fondation").highlight(3)

Revision history for this message
RaiMan (raimund-hocke) said :
#10

pls. send silently to my mail at https://launchpad.net/~raimund-hocke
- the setup log file
- the logfile produced when running the IDE with option -d into the above problem
- a screenshot of the explorer window showing the setup folder
- the output of echo %PATH% at command line

Revision history for this message
RaiMan (raimund-hocke) said :
#11

got your mail and proposed the workaround according to faq 2436
([1.0.1] text, OCR, tesseract not working --- tessdata folder not found)

Revision history for this message
TestMechanic (ndinev) said :
#12

Thanks, the workaround works