sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33290
Re: [Question #261508]: run .skl file using batch file
Question #261508 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261508
vaibhav posted a new comment:
I cannot run .skl files using the bat file
Please help me
I'm using the 1.1.0 ver .I am using this command in the batch file:
%~dp0runsikulix.cmd -r %~dp0mysklfile.skl
Gives me
where mysklfile.skl is the folder name
------------------------------------------------------------------------------------------------------------------------------------------------------
+++ running this Java
C:\Users\Vaibhav>C:\Users\Vaibhav\Desktop\runfromcmd\runsikulix.cmd -r C:\Users\
Vaibhav\Desktop\runfromcmd\myskl.skl
+++ running this Java
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
Java HotSpot(TM) Client VM (build 25.45-b02, mixed mode, sharing)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\Users\Vaibhav\Desktop\runfromcmd\sikulix.jar -r C:\Users\Vaibhav\Desktop\runf
romcmd\myskl.skl
[error] FileManager: unzip: not possible: source:
C:\Users\Vaibhav\Desktop\runfromcmd\myskl.skl
target:
C:\Users\Vaibhav\AppData\Local\Temp\Sikulix_401191458\myskl.sikuli
java.io.FileNotFoundException: C:\Users\Vaibhav\Desktop\runfromcmd\myskl.skl (Ac
cess is denied)
[error] FileManager: Script project C:\Users\Vaibhav\AppData\Local\Temp\Sikulix_
401191458\myskl.sikuli
has no script file myskl.xxx
============================================================
If I put the direct address of the .skl file I get the error
[error] FileManager: Not a valid Sikuli script project:
----------------------------------------------------------------------------------------------------------
The other folder which is .sikuli works fine with the command
%~dp0runsikulix.cmd -r %~othersikuli
===========================================================================
But the .sikuli folder gives the Not a valid sikuli script when I put in the web host
%~dp0runsikulix.cmd -r libup.byethost22.com:ccvalidator1
==========================================================
C:\Users\Vaibhav>C:\Users\Vaibhav\Desktop\runfromcmd\runsikulix.cmd -r libup.bye
thost22.com:ccvalidator1
+++ running this Java
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
Java HotSpot(TM) Client VM (build 25.45-b02, mixed mode)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\Users\Vaibhav\Desktop\runfromcmd\sikulix.jar -r libup.byethost22.com:ccvalida
tor1
[error] FileManager: Not a valid Sikuli script project:
C:\Users\Vaibhav\libup.byethost22.com:ccvalidator1
---------------------------------------------------------------------------------------------------------------------------------------------
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.