← Back to team overview

sikuli-driver team mailing list archive

[Bug 1096540] Re: ide strips Pattern() from images

 

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

** Changed in: sikuli
    Milestone: None => x1.0

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

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

Title:
  ide strips Pattern() from images

Status in Sikuli:
  Fix Committed

Bug description:
  at the start of one of my scripts stick some image patterns i use in
  several places in global variables:

  var = Pattern("image.png")

  
  I need the Pattern(), because I throw in .similar() in the find calls to get different tolerances.

  When this is saved in the IDE, Pattern() is stripped and the code only
  has:

  var = "image.png"

  which causes exceptions next time I open sikuli and try to run (str
  does not have .similar())

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


References