← Back to team overview

sikuli-driver team mailing list archive

[Question #238690]: Could not load script runner for ending...

 

New question #238690 on Sikuli:
https://answers.launchpad.net/sikuli/+question/238690

Hello!

I've got both Sikuli-IDE and .jar are failing when trying to open a script, if there is another file in the folder with the same filename (minus extension):
1) in IDE create new script, save it as say "testscript"
the following are created:
testscript.sikuli\
testscript.sikuli\testscript.py
2) make a screenshot and save it in the directory, rename to "testscript.png"
we have now:
testscript.sikuli\
testscript.sikuli\testscript.py
testscript.sikuli\testscript.png
3) close script tab in IDE, close IDE
4) open IDE then open the script

Actual: the program is terminated. Running with -d returns:
(...a number of info lines here without anything suspicious...)
[debug] MenuAction.doLoad
[error] Fatal error 120: Could not load script runner for ending: png
[error] Terminating SikuliX after a fatal error(120)! Sorry, but it makes no sen
se to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the Q&A board.
[debug] SikuliXFinal: cleanUp: 0

A workaround is to keep the script filename unique through the folder, works fine.

I'm not sure but it seems that these scripts were opened normally before. Can you please advise if there's a new restriction on naming files?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.