When we install Sikuli whether Lib folder will automatically created? or do we need to create it?

Asked by Karan

Hi RaiMan,

I am new user to SikuliX, I have done the set-up on one of the PC and it is working fine.
Working with Jython and Robot framework.

Thanks for all the support provided in the documents and as well answer to all questions.

My Question is :
Want to do same set-up on other PC, but I did not find the sikuli folder under: SikulixAppData->Lib after successful installation of Sikulix.

When we install Sikulix, The Lib folder is missing in the SikulixAppData:

Can you please help me to create this folder. I want this folder as I need to copy the Lib->sikuli content to Jython->Lib.

Thanks in advance..!
Karan Rasur

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

-- using SikuliX 1.1.1?

-- did you read that?
http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#using-robotframework

with 1.1.1, the Lib folder is always created.
It is not recommended, to move the SikuliX stuff around.

Use the respective sys.path features (commandline and/or script-internally), to add locations to sys.path, where modules can be found.

... and there are additional options:
http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#access-python-packages-from-sikulix-scripts-run-by-sikulix-gui-or-commandline

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

... and with 1.1.1 the Lib folder is already created at setup time.

Revision history for this message
Karan (krasur) said :
#3

Hi RaiMen,

Thanks for the reply.

Yes, I have gone through the above links but i did not info about Lib folder.

I am using Sikuli 1.1.0 and I have not Lib folder under Sikulix folder. It have seen only the below files.
1. runsikulix.cmd
2. sikulix.jar
3. SikuliX-1.1.0-SetupLog.txt
4. sikulixapi.jar.

And under the SikuliAPPDATA, the following folders are created:

1. Extensions.
2. SikulixDownloads
3. SikulixDownloads_201510061722.
4. SikulixLibs_201510051707
5. SikulixStore

But I need Lib folder.

In 1.1.0 the Lib folder will not create automatically? Do you want me to upgrade to 1.1.1.

Thanks,
Karan Rasur

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

The Lib folder should be created with 1.1.0 if you just start the IDE
- doubleclick sikulix.jar
- run runsikulix.cmd on commandline

if you want to automate it to run silently:
- make an empty script (empty.sikuli)
- use on commandline: runsikulix.cmd -r empty.sikuli

... Do you want me to upgrade to 1.1.1
generally yes, but that is your decision.
The current nightly is the release candiate already.

Revision history for this message
Karan (krasur) said :
#5

Sorry RaiMen,

Even after following the above steps.. I could not see the Lib created.

Thanks,
Karan Rasur

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

ok I will check.

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

the solution is to
doubleclick sikulixapi.jar

or run
java -jar sikulixapi.jar

and then cancel the popups.

Revision history for this message
Karan (krasur) said :
#8

Thanks RaiMen,

My problem got solved after executing the below command:

     jar xf jar-file

Revision history for this message
Karan (krasur) said :
#9

Thanks RaiMan, that solved my question.