← Back to team overview

sikuli-driver team mailing list archive

[Bug 1354589] Re: % not escaped correctly with type in Sikuli 1.1.0Beta4

 

Thanks for finding.

This is produced by the action log message, that should not use
String.format() in this case.

using ;-)

Settings.ActionLogs = False
type("%")
Settings.ActionLogs = True

avoids the crash.


** Changed in: sikuli
       Status: New => Fix Committed

** Changed in: sikuli
   Importance: Undecided => High

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 1.1.0

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1354589

Title:
  % not escaped correctly with type in Sikuli 1.1.0Beta4

Status in Sikuli:
  Fix Committed

Bug description:
  There seems to be a regression with regards to the behavior when using
  type('%') or type('%otherchars'). I keep getting
  MissingFormatArgumentException or UnknownFormatConversionException
  when I try to use it like this, even though I'm not using it in the
  context of string formatting operator or whatnot. Tried escaping it by
  using type('%%') but it actually types two '%' in this case.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1354589/+subscriptions


References