sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #51487
Re: [Question #680320]: SikuliXIDE; Mojave; Robot Framework: TypeError: unsupported operand type(s) for -: 'unicode' and 'int'
Question #680320 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680320
Status: Answered => Solved
Melvin Raymond confirmed that the question is solved:
Ugh! OK, that was an overlooked miss on my part. Didn't even think about
the other variable getting converted since I had not used a variable for
it in Robot Framework. I just typed in the loopvalue I wanted into the
tabbed Robot Framework. I didn't even try that since the error looked
as if it were coming from the type and Key statement. Apparently the
Robot Framework even converts the values to string that aren't assigned
a Variable in the Variables part of Robot Framework.
I just added "loopvalue = int(loopvalue)" in there and that fixed it.
I haven't searched for it, but there could be something built into Robot
Framework that defines these kind of tabbed values.
Thanks Railman. Good to come back Monday and find I can keep it rolling
along.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.