Sikuli select not working

Asked by Eric G on 2020-03-03

On win10 64bit, running sikulix2.0.3 as administrator
 The following code does not run

items = ("nothing selected", "item1", "item2",)
selected = select("Please select an item from the list", options = items)
if selected == items[0]:
   popup("You did not select an item")
   exit(1)
if selected == items[1]:
   popup("item 1")
   exit(1)
if selected == items[2]:
   popup("item 2")
   exit(1)

Popup, poperror, popask, input etc seem to be working fine. Have I missed something or is sikuli select bugged?

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2020-03-03
Last reply:
2020-03-04
RaiMan (raimund-hocke) said : #1

will be fixed in 2.0.4 this week