error in vncStart password cant be coerced to string

Asked by Jitendra patel on 2018-05-31

i get an error when trying to connect to vnc using the sikuli ide.

vnc = vncStart("theip", 5900, "thepassword", 10 , 1000)

line 500, in vncStart return Sikulix.vncStart(ip, port, password, connectionTimeout, timeout) TypeError: vncStart(): 3rd arg can't be coerced to String

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2018-06-02
Last query:
2018-06-02
Last reply:
2018-06-02
Best RaiMan (raimund-hocke) said : #1

Sorry for the inconvenience, but for the sake of backward compatibility the signature at Python level is:

vncStart(ip="127.0.0.1", port=5900, connectionTimeout=10, timeout=1000, password=None)

RaiMan (raimund-hocke) said : #2

BTW: Thanks for your helpful comments on other questions

Jitendra patel (jpatel1011) said : #3

Thanks RaiMan, that solved my question.

Jitendra patel (jpatel1011) said : #4

No Problem, glad to help out if i can