[2.0.3] Select dialog is no longer functioning

Bug #1864443 reported by Rolf Siebeneick
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
Critical
RaiMan

Bug Description

After I switched to the current version (2.0.3), the following no longer works in IDE:

items=("Dog","Cat","Bird")
selected=select("Select animal",options=items)
print selected

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 2.0.4
Revision history for this message
RaiMan (raimund-hocke) wrote :

Thanks for finding. It is a bug.
Sorry for the inconvenience.

There is no easy workaroundfor that.

The problem is this line in /Lib/sikuli/Sikuli.py

442: return Do.popSelect(msg, title, default, None, None, None, optionString)

which must be

442: return Do.popSelect(msg, title, default, optionString)

The problem is, that even if you change this line, at the next IDE start, the file Sikuli.py will be overwritten with the version from the jar and the problem is back.

So you have to wait for the fix in 2.0.4 and stick to 2.0.2 until then.

RaiMan (raimund-hocke)
summary: - Select dialog is no longer functioning under V.2.0.3
+ [2.0.3] Select dialog is no longer functioning
RaiMan (raimund-hocke)
Changed in sikuli:
importance: High → Critical
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.