← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #663380]: Error of 2nd arg can't be coerced to String[] when try to use sys.argv

 

Question #663380 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663380

    Status: Answered => Open

lynn is still having a problem:
And I change to main script as

Settings.DebugLogs=True
pt1=("25","225")
pt2=("25","235")
pt3=("127.5","25")         
mylist=[pt1,pt2,pt3]
str(mylist)
print mylist
runScript("D:/KT_Work/Sikuli/tempTest.sikuli",mylist)

but still get the same error

[error] Error caused by: Traceback (most recent call last): File
"D:\KT_Work\Sikuli\5xx.sikuli\5xx.py", line 25, in <module>
runScript("D:/KT_Work/Sikuli/tempTest.sikuli",mylist) File
"D:\KT_Work\Sikuli1.1.1\NewSikuli\sikulix.jar\Lib\sikuli\Sikuli.py",
line 559, in runScript TypeError: run(): 2nd arg can't be coerced to
String[]

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.