inputText() takes at most 4 arguments (5 given)

Asked by Rahul Kumar on 2017-03-07

I am calling inputText("abc", "sdf", 9, 20, "iusdf"). I am getting above error. When I am removing 2nd argument, it says second argument can not be coerced to int and so on. Please someone look into the matter

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2017-03-08
Last query:
2017-03-08
Last reply:
2017-03-08
Rahul Kumar (rahulkumar) said : #1

I am sorry! I see I had to call inputText("abc", title="sdf", width=9, height=20, text="iusdf"). Though other errors have been resolved. Now it throws up :

inputText() got an unexpected keyword argument 'text'

RaiMan (raimund-hocke) said : #2

see docs, might be necessary to use version 1.1.1:
http://sikulix-2014.readthedocs.io/en/latest/interaction.html#inputText

Rahul Kumar (rahulkumar) said : #3

There it says "New in version 1.1.0." I have this version IDE and checking for updates does not take it to 1.1.1 Says, No update is available

Rahul Kumar (rahulkumar) said : #5

Thanks RaiMan, that solved my question.