[1.0] create skl file not working - currently not available, don't do it

Asked by liam henn

Apologies for my questions i am not a developer and don't really understand python or programming etc. I discovered Sikuli and thought it would work for me because you don't need to be a developer to use it.

I am struggling to run Sikuli scripts from the command line or from a script - i can make a simple sikuli script - clicking buttons etc and make that work but can't get the sikuli scripts to run from a script or command line. Every time i try to create a .skl file it keeps growing larger and larger up to 4gb until i kill the program. It seems like a memory leak or something??? so it seems like the problem is in the creation of the .skl file.

Also struggling to find information on how to use the program, where to run it from, what folder structure should it have etc. I am not sure if i have installed it correctly - i just extracted the zip file i downloaded to my program files folder and then make projects in my documents folder. I have no idea if this is correct or not.

Any help will be gratefully received, thanks.

L

Question information

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

what version of Sikuli?

what system are you working on?

Revision history for this message
liam henn (liamhenn) said :
#2

Sikuli-IDE-1.0.0-Win64

Windows 7 64bit, 8g Ram, i7

Java 7-25

I also have Java 6 installed but don't know how to make the IDE work with 6.

I uninstalled all the java i had and reinstalled v6 and v7 to see if that would help but it didn't. I tried it again earlier and let Sikuli run making an skl file and it got up to 7gb size before i killed it. It seems that it crashes while making the skl but somehow the file keeps growing seemingly forever until i kill Sikuli.

[Part of me wanted to let it run and see what happened, would it eat everything on my machine, and then turn to the network with an insatiable appetite, consuming all filespace in its path???]

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

Might be, that there is a problem with making .skl files (only possible anyway from menu File -> export)

The support for .skl files is deprecated, since these are only zipped .sikuli folders and are there historically as a convenience to easily make them attachable to a mail.

So if you do not have any real need for .skl files, just do not do it.
Just save them as .sikuli folders.

Nevertheless I accept this as a bug and it is on the list . There will be support for some compound formats in the next version 1.1 (.skl, .zip, .jar, ...)

Revision history for this message
liam henn (liamhenn) said :
#4

OK thanks for your help.
The only reason i was using the skl file was so i could run the sikuli from a script.

Is there any other way i can do this?

Regards,

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

Sorry, currently no easy way with version 1.0.0 (since we do not have an .exe, that can be associated with the file ending .skl).

The easiest option:

make a command file (say runMyScript.cmd) containing:

java -jar path-to-sikuli-script.jar -r path-to-script-to-be-run.sikuli

and make this double-clickable where you need it.

path-to-... have to be adopted to your situation.

Can you help with this problem?

Provide an answer of your own, or ask liam henn for more information if necessary.

To post a message you must log in.