Script always stops in one place on windows 7/8

Asked by Hurski paul

Hello, I have problem in running scripts. I start the main script which runs another scripts one by one. When the fourth script had launched it paused in one place. If i divide this on two parts then it work. But it stops on the next script.
The problem is on windows 7 and windows 8. On windows XP and macos all is fine.

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

when running with 1.0.0 run with option -d 3 or 1.0.1 with option -d.

This might produce some valuable debugging information.

Without having more details or error messages, it is impossible to guess.

How do you run your scripts? ( I start the main script which runs another scripts one by one)

Revision history for this message
Hurski paul (hurski-p) said :
#2

I'm run script from command line, but when it runs from IDE i have the same result.
I use sikuli 1.0.0. How I can run script with option -d 3?
path-to-sikuli\sikuli-ide.exe -d 3 path-to-script\xxxx.skl Is it right?

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

You seem to mix things up:

1.0.0 has no sikuli-ide.exe

If it is clean 1.0.0:

path-to-sikuli\sikuli-ide.cmd -d 3 -r path-to-script\xxxx.skl

Revision history for this message
Hurski paul (hurski-p) said :
#4

I have error message at command line:
Exception in thread "main" java.lang.NullPointerException at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:922)

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

You seem to use the File -> export as ... feature. Seems to have a bug. I will check it.

Try to save your script normally as .sikuli.

.skl is simply a zipped .sikuli and of no value normally.

Revision history for this message
Hurski paul (hurski-p) said :
#6

When I run script from command line with option "- d 3" the Java process is appears. But after 2 seconds process terminates.

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

pls. provide more information on what you are doing and what shows up in commandline window.

Revision history for this message
Hurski paul (hurski-p) said :
#8

I need to run my scripts from command line in debug mode. I write in command line next value ' "path-to-sikuli\sikuli-ide.bat" -d 3 -r "path-to-script\xxxx.sikuli" ' and run it. Java process rans but after 2 seconds process terminates. There isn't any information about this process.

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

Uuups, my fault (but should have been easy to correct ;-)

with 1.0.0 the commandline parameter is d:3 (as usage without any parameters or -h should have revealed.
Nevertheless: sorry for misleading.

Revision history for this message
Hurski paul (hurski-p) said :
#10

Thanks RaiMan, that solved my question.