← 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: Open => Answered

Roman Podolyan proposed the following answer:
The error is about Python / Jython not able to convert mylist to string automatically. 
It looks like it wants to unpack tuple for the arguments.
You need to build the string(s) you want from mylist with your Python instructions. 

Unfortunately I can't guess what the argument string you need.

Does "print mylist" output what you expect?

If so, you can try str(mylist) before runScript line.

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