Thanks for finding ** Summary changed:
- select() can't set default=0; can't set default=<unicode string> + [1.1.1] select() can't set default=0; can't set default=<unicode string> ** Changed in: sikuli Status: New => Fix Committed ** Changed in: sikuli Importance: Undecided => Critical ** Changed in: sikuli Assignee: (unassigned) => RaiMan (raimund-hocke) ** Changed in: sikuli Milestone: None => 1.1.1 ** Summary changed: - [1.1.1] select() can't set default=0; can't set default=<unicode string> + [1.1.1] select() can't set default=0; can't set default=<unicode string> --- fixed nightly 1.1.1 2016-12-02 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1646399 Title: [1.1.1] select() can't set default=0; can't set default=<unicode string> --- fixed nightly 1.1.1 2016-12-02 Status in Sikuli: Fix Committed 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 manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1646399/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp