← Back to team overview

sikuli-driver team mailing list archive

[Bug 1096540] [NEW] ide strips Pattern() from images

 

Public bug reported:

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())

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups

References