[1.1.1] select() can't set default=0; can't set default=<unicode string> --- fixed nightly 1.1.1 2016-12-02
Bug #1646399 reported by
Alex Lunyov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
#1
select(mytxt, options=mylist, default=0)
throws an error: «Error source first line: module ( function ) statement 433: Sikuli ( select ) TypeError: popSelect(): 4th arg can't be coerced to String».
The first line as default is expected.
#2 It is convenient to set default value both as a string and as an item number. But when I use unicode string as a default value, select() always sets default=0 (=first line):
select(mytxt, options=mylist, default=u"пункт №3") # default=0 actually
To post a comment you must log in.
Thanks for finding