← Back to team overview

sikuli-driver team mailing list archive

[Question #230048]: Unable to type none-English text

 

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

I got failure "java.lang.IllegalArgumentException: Cannot convert character" when input Japanese string "表―票ーゾ㍉ダ本枝ァ翻①チタミ" to a text box. I ran into the failure no matter, I run the test from IED directly or run it via command line by passing the Japanse string as parameter of sys.argv.



Log for Sikuli IDE execution:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[info] VDictProxy loaded.


[log] CLICK on (221,250)

Verify existence for icon of Go directly to a Group

[log] CLICK on (766,166)

[log] TYPE "表―票ーゾ㍉ダ本枝ァ翻①チタミ"
[error] 停止しました
[error] エラーが発生しました. 行番号: 24
[error] エラーメッセージ: Traceback (most recent call last):
 File "C:\Users\ADMINI~1\AppData\Local\Temp\2\sikuli-tmp399667728441340227.py", line 24, in 
 VerifyIssue()
 File "C:\Users\ADMINI~1\AppData\Local\Temp\2\sikuli-tmp399667728441340227.py", line 14, in VerifyIssue
 type(Pattern("GroupFilterMatchesTextbox.png").similar(0.60), "表―票ーゾ㍉ダ本枝ァ翻①チタミ")
 at org.sikuli.script.Key.toJavaKeyCode(Key.java:284) 
at org.sikuli.script.DesktopRobot.typeChar(DesktopRobot.java:118) 
at org.sikuli.script.Region.type(Region.java:810) 
at org.sikuli.script.Region.type(Region.java:798) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 

Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 

java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Cannot convert character �



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