sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #53906
[Bug 1852823] Re: [2.0.0] An error occurs if you execute the type command without opening the IDE
** Changed in: sikuli
Status: Invalid => New
** Changed in: sikuli
Status: New => Confirmed
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1852823
Title:
[2.0.0] An error occurs if you execute the type command without
opening the IDE
Status in Sikuli:
Confirmed
Bug description:
Hello.
Executing the following script from the command line results in an error.
It runs normally when run from the IDE.
How can I solve it?
Environment:
------------
OS Version: Windows 10 Home 1809(17763.864)
Sikuli version: 2.0.0
Java version: openjdk version "12.0.2" 2019-07-16
Script:(sikulix-test.sikuli ---> sikulix-test.py)
-------------------------------------------------
1 type('r', Key.WIN)
Run Command:
------------
C:\projects\sikulix-test>java -jar C:\sikulix\sikulix-2.0.0.jar -r sikulix-test.sikuli
Output:
-------
[log] ( メタ ) TYPE "r"
[error] script [ sikulix-test ] stopped with error in line 1
[error] java.lang.IllegalArgumentException ( java.lang.IllegalArgumentException: Key: Not supported character: r )
[error] --- Traceback --- error source first
line: module ( function ) statement
1: main ( <module> ) type('r', Key.WIN)
[error] --- Traceback --- end --------------
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1852823/+subscriptions
References